
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_t * | GrabAudio (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 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" ) |
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
References es_out_Control(), es_out_Send(), ES_OUT_SET_PCR, GrabAudio(), demux_sys_t::i_next_demux_date, block_t::i_pts, demux_t::out, demux_sys_t::p_alsa_pcm, demux_sys_t::p_es, demux_t::p_sys, and p_sys.
Referenced by DemuxOpen(), Import_DVB(), Import_GVP(), Import_IFO(), Import_LuaPlaylist(), Import_podcast(), Import_QTL(), Import_Shoutcast(), Open(), OpenCommon(), and OpenDemux().
| static void DemuxClose | ( | vlc_object_t * | p_this | ) | [static] |
References block_Release(), demux_sys_t::p_alsa_pcm, demux_sys_t::p_block, demux_t::p_sys, and p_sys.
Referenced by DemuxOpen().
| static int DemuxControl | ( | demux_t * | p_demux, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References DEMUX_CAN_CONTROL_PACE, DEMUX_CAN_PAUSE, DEMUX_CAN_SEEK, DEMUX_GET_PTS_DELAY, DEMUX_GET_TIME, DEMUX_SET_NEXT_DEMUX_TIME, DEMUX_SET_PAUSE_STATE, demux_sys_t::i_cache, demux_sys_t::i_next_demux_date, mdate(), demux_t::p_sys, p_sys, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by ControlPause(), DemuxOpen(), and OpenDemux().
| static int DemuxOpen | ( | vlc_object_t * | p_this | ) | [static] |
References demux_sys_t::b_stereo, CFG_PREFIX, Demux(), DemuxClose(), DemuxControl(), FindMainDevice(), demux_sys_t::i_cache, demux_sys_t::i_next_demux_date, demux_sys_t::i_sample_rate, demux_t::i_seekpoint, demux_t::i_title, demux_t::i_update, demux_t::info, ListAvailableDevices(), demux_sys_t::p_block, demux_sys_t::p_es, demux_t::p_sys, p_sys, demux_t::pf_control, demux_t::pf_demux, demux_t::psz_access, demux_t::psz_path, var_CreateGetBool, var_CreateGetInteger, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int FindMainDevice | ( | demux_t * | p_demux, | |
| const char * | psz_device | |||
| ) | [static] |
References ALSA_DEFAULT, ListAvailableDevices(), msg_Dbg, OpenAudioDev(), demux_sys_t::p_alsa_pcm, demux_t::p_sys, ProbeAudioDevAlsa(), VLC_EGENERIC, and VLC_SUCCESS.
Referenced by AccessOpen(), and DemuxOpen().
References demux_sys_t::b_stereo, block_New, demux_sys_t::i_alsa_chunk_size, demux_sys_t::i_alsa_frame_size, block_t::i_buffer, block_t::i_dts, demux_sys_t::i_max_frame_size, block_t::i_pts, demux_sys_t::i_sample_rate, mdate(), msg_Err, msg_Warn, demux_sys_t::p_alsa_pcm, demux_sys_t::p_block, block_t::p_buffer, demux_t::p_sys, and p_sys.
Referenced by Demux().
| 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] |
References es_format_t::audio, AUDIO_ES, demux_sys_t::b_stereo, es_format_Init(), es_out_Add(), es_format_t::i_bitrate, audio_format_t::i_bitspersample, audio_format_t::i_blockalign, audio_format_t::i_channels, audio_format_t::i_rate, demux_sys_t::i_sample_rate, msg_Dbg, OpenAudioDevAlsa(), demux_t::out, demux_sys_t::p_es, demux_t::p_sys, p_sys, VLC_EGENERIC, VLC_FOURCC, and VLC_SUCCESS.
Referenced by FindMainDevice(), and Open().
| static int OpenAudioDevAlsa | ( | demux_t * | p_demux, | |
| const char * | psz_device | |||
| ) | [static] |
| static bool ProbeAudioDevAlsa | ( | demux_t * | p_demux, | |
| const char * | psz_device | |||
| ) | [static] |
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6