
Data Structures | |
| struct | aout_sys_t |
Defines | |
| #define | ALSA_PCM_NEW_HW_PARAMS_API |
| #define | ALSA_PCM_NEW_SW_PARAMS_API |
| #define | A52_FRAME_NB 1536 |
| #define | ALSA_DEFAULT_PERIOD_SIZE 1024 |
| #define | ALSA_DEFAULT_BUFFER_SIZE ( ALSA_DEFAULT_PERIOD_SIZE << 8 ) |
| #define | ALSA_SPDIF_PERIOD_SIZE A52_FRAME_NB |
| #define | ALSA_SPDIF_BUFFER_SIZE ( ALSA_SPDIF_PERIOD_SIZE << 4 ) |
| #define | DEFAULT_ALSA_DEVICE N_("default") |
Functions | |
| static int | Open (vlc_object_t *) |
| Probes and initializes. | |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| static void | Play (aout_instance_t *) |
| static void * | ALSAThread (void *) |
| static void | ALSAFill (aout_instance_t *) |
| static int | FindDevicesCallback (vlc_object_t *p_this, char const *psz_name, vlc_value_t newval, vlc_value_t oldval, void *p_unused) |
| static void | GetDevicesForCard (vlc_object_t *, module_config_t *, int card) |
| static void | GetDevices (vlc_object_t *, module_config_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static void | Probe (aout_instance_t *p_aout, const char *psz_device, const char *psz_iec_device, int *pi_snd_pcm_format) |
| static void | PlayIgnore (aout_instance_t *p_aout) |
| static void | pcm_drop (void *pcm) |
Variables | |
| static const char *const | ppsz_devices [] = { "default" } |
| static const char *const | ppsz_devices_text [] = { N_("Default") } |
| #define A52_FRAME_NB 1536 |
| #define ALSA_DEFAULT_BUFFER_SIZE ( ALSA_DEFAULT_PERIOD_SIZE << 8 ) |
| #define ALSA_DEFAULT_PERIOD_SIZE 1024 |
| #define ALSA_PCM_NEW_HW_PARAMS_API |
| #define ALSA_PCM_NEW_SW_PARAMS_API |
| #define ALSA_SPDIF_BUFFER_SIZE ( ALSA_SPDIF_PERIOD_SIZE << 4 ) |
| #define ALSA_SPDIF_PERIOD_SIZE A52_FRAME_NB |
| #define DEFAULT_ALSA_DEVICE N_("default") |
| static void ALSAFill | ( | aout_instance_t * | p_aout | ) | [static] |
References aout_OutputNextBuffer(), block_Release(), CLOCK_FREQ, audio_format_t::i_bytes_per_frame, audio_format_t::i_format, audio_format_t::i_frame_length, block_t::i_nb_samples, aout_sys_t::i_period_time, audio_format_t::i_rate, mdate(), msg_Dbg, msg_Err, msleep, aout_sys_t::next_date, aout_output_t::output, aout_instance_t::output, block_t::p_buffer, aout_sys_t::p_snd_pcm, aout_output_t::p_sys, poll, POLLOUT, pollfd::revents, VLC_CODEC_SPDIFL, vlc_restorecancel(), and vlc_savecancel().
Referenced by ALSAThread().
| static void * ALSAThread | ( | void * | data | ) | [static] |
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static int FindDevicesCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_name, | |||
| vlc_value_t | newval, | |||
| vlc_value_t | oldval, | |||
| void * | p_unused | |||
| ) | [static] |
| static void GetDevices | ( | vlc_object_t * | obj, | |
| module_config_t * | p_item | |||
| ) | [static] |
References GetDevicesForCard(), msg_Dbg, and msg_Err.
Referenced by FindDevicesCallback(), and Probe().
| static void GetDevicesForCard | ( | vlc_object_t * | obj, | |
| module_config_t * | p_item, | |||
| int | card | |||
| ) | [static] |
References _, asprintf(), module_config_t::i_list, msg_Dbg, msg_Err, module_config_t::ppsz_list, module_config_t::ppsz_list_text, and xrealloc().
Referenced by GetDevices().
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.
Todo:
Open the module.
Create an X11 window.
Probe the X server.
This function initializes SDL vout method.
It creates an OpenGL vout display.
This function allocates and initialize the DirectX vout display.
It creates a Direct3D vout display.
This function allocates and initializes a FB vout method.
Find the drawable set by libvlc application.
This function initializes libcaca vout method.
This function allocates and initializes a aa vout method.
This function allocates and initializes a Wall splitter module.
Open the filter.
This function allocates and initializes a Clone splitter module.
Open: initialize and create stuff.
Connect to the sftp server and ask for a file.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
| static void pcm_drop | ( | void * | pcm | ) | [static] |
Referenced by ALSAThread().
| static void Play | ( | aout_instance_t * | p_aout | ) | [static] |
References aout_FifoFirstDate(), aout_output_t::fifo, aout_instance_t::output, aout_output_t::p_sys, aout_output_t::pf_play, PlayIgnore(), aout_sys_t::start_date, and aout_sys_t::wait.
Referenced by handle_player(), OpenAudio(), and RollOverTcp().
| static void PlayIgnore | ( | aout_instance_t * | p_aout | ) | [static] |
Referenced by Play().
| static void Probe | ( | aout_instance_t * | p_aout, | |
| const char * | psz_device, | |||
| const char * | psz_iec_device, | |||
| int * | pi_snd_pcm_format | |||
| ) | [static] |
References _, aout_ChannelsRestart(), aout_FormatNbChannels(), AOUT_VAR_2F2R, AOUT_VAR_5_1, AOUT_VAR_MONO, AOUT_VAR_SPDIF, AOUT_VAR_STEREO, dialog_Fatal, GetDevices(), aout_sys_t::i_channels, vlc_value_t::i_int, msg_Dbg, msg_Warn, N_, aout_sys_t::p_snd_pcm, p_sys, vlc_value_t::psz_string, text, var_AddCallback, var_Change, var_Create, var_Destroy, var_GetBool, var_InheritBool, var_Set, var_SetBool, VLC_OBJECT, VLC_VAR_ADDCHOICE, VLC_VAR_BOOL, VLC_VAR_CHOICESCOUNT, VLC_VAR_HASCHOICE, VLC_VAR_INTEGER, and VLC_VAR_SETTEXT.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const ppsz_devices[] = { "default" } [static] |
const char* const ppsz_devices_text[] = { N_("Default") } [static] |
1.5.6