alsa.c File Reference

Include dependency graph for alsa.c:


Data Structures

struct  demux_sys_t

Defines

#define ALSA_PCM_NEW_HW_PARAMS_API
#define ALSA_PCM_NEW_SW_PARAMS_API
#define STEREO_TEXT   N_( "Stereo" )
#define STEREO_LONGTEXT
#define SAMPLERATE_TEXT   N_( "Samplerate" )
#define SAMPLERATE_LONGTEXT
#define CACHING_TEXT   N_("Caching value in ms")
#define CACHING_LONGTEXT
#define HELP_TEXT
#define ALSA_DEFAULT   "hw"
#define CFG_PREFIX   "alsa-"

Functions

static int DemuxOpen (vlc_object_t *)
static void DemuxClose (vlc_object_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int DemuxControl (demux_t *, int, va_list)
static int Demux (demux_t *)
static block_tGrabAudio (demux_t *p_demux)
static int OpenAudioDev (demux_t *, const char *)
static bool ProbeAudioDevAlsa (demux_t *, const char *)
static char * ListAvailableDevices (demux_t *, bool b_probe)
static int FindMainDevice (demux_t *p_demux, const char *psz_device)
static int OpenAudioDevAlsa (demux_t *p_demux, const char *psz_device)

Define Documentation

#define ALSA_DEFAULT   "hw"

Referenced by FindMainDevice().

#define ALSA_PCM_NEW_HW_PARAMS_API

#define ALSA_PCM_NEW_SW_PARAMS_API

#define CACHING_LONGTEXT

Value:

N_( \
    "Caching value for Alsa captures. This " \
    "value should be set in milliseconds." )

#define CACHING_TEXT   N_("Caching value in ms")

#define CFG_PREFIX   "alsa-"

#define HELP_TEXT

Value:

N_( \
    "Use alsa:// to open the default audio input. If multiple audio " \
    "inputs are available, they will be listed in the vlc debug output. " \
    "To select hw:0,1 , use alsa://hw:0,1 ." )

#define SAMPLERATE_LONGTEXT

Value:

N_( \
    "Samplerate of the captured audio stream, in Hz (eg: 11025, 22050, 44100, 48000)" )

#define SAMPLERATE_TEXT   N_( "Samplerate" )

#define STEREO_LONGTEXT

Value:

N_( \
    "Capture the audio stream in stereo." )

#define STEREO_TEXT   N_( "Stereo" )


Function Documentation

static int Demux ( demux_t p_demux  )  [static]

static void DemuxClose ( vlc_object_t p_this  )  [static]

static int DemuxControl ( demux_t p_demux,
int  i_query,
va_list  args 
) [static]

static int DemuxOpen ( vlc_object_t p_this  )  [static]

static int FindMainDevice ( demux_t p_demux,
const char *  psz_device 
) [static]

static block_t * GrabAudio ( demux_t p_demux  )  [static]

static char * ListAvailableDevices ( demux_t p_demux,
bool  b_probe 
) [static]

References asprintf(), msg_Dbg, and ProbeAudioDevAlsa().

Referenced by DemuxOpen(), and FindMainDevice().

static int OpenAudioDev ( demux_t p_demux,
const char *  psz_device 
) [static]

static int OpenAudioDevAlsa ( demux_t p_demux,
const char *  psz_device 
) [static]

static bool ProbeAudioDevAlsa ( demux_t p_demux,
const char *  psz_device 
) [static]

References msg_Err.

Referenced by FindMainDevice(), and ListAvailableDevices().

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Generated on Tue May 25 08:05:06 2010 for VLC by  doxygen 1.5.6