
Data Structures | |
| struct | notification_thread_t |
| struct | aout_sys_t |
Defines | |
| #define | FRAME_SIZE ((int)p_aout->output.output.i_rate/20) |
| #define | DEVICE_TEXT N_("Output device") |
| #define | DEVICE_LONGTEXT N_("Select your audio output device") |
| #define | SPEAKER_TEXT N_("Speaker configuration") |
| #define | SPEAKER_LONGTEXT |
Functions | |
| static int | OpenAudio (vlc_object_t *) |
| static void | CloseAudio (vlc_object_t *) |
| static void | Play (aout_instance_t *) |
| static void | Probe (aout_instance_t *) |
| static int | InitDirectSound (aout_instance_t *) |
| static int | CreateDSBuffer (aout_instance_t *, int, int, int, int, int, bool) |
| static int | CreateDSBufferPCM (aout_instance_t *, vlc_fourcc_t *, int, int, int, bool) |
| static void | DestroyDSBuffer (aout_instance_t *) |
| static void * | DirectSoundThread (vlc_object_t *) |
| static int | FillBuffer (aout_instance_t *, int, aout_buffer_t *) |
| static int | ReloadDirectXDevices (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static int CALLBACK | CallBackDirectSoundEnum (LPGUID p_guid, LPCWSTR psz_desc, LPCWSTR psz_mod, LPVOID _p_aout) |
| static int CALLBACK | CallBackConfigNBEnum (LPGUID p_guid, LPCWSTR psz_desc, LPCWSTR psz_mod, LPVOID p_nb) |
| static int CALLBACK | CallBackConfigEnum (LPGUID p_guid, LPCWSTR psz_desc, LPCWSTR psz_mod, LPVOID _p_item) |
Variables | |
| static const char *const | speaker_list [] |
| static const char *const | ppsz_adev [] = {"default", } |
| static const char *const | ppsz_adev_text [] = {"default", } |
| #define DEVICE_LONGTEXT N_("Select your audio output device") |
| #define DEVICE_TEXT N_("Output device") |
| #define FRAME_SIZE ((int)p_aout->output.output.i_rate/20) |
Referenced by CreateDSBufferPCM(), InterleaveS16(), OpenAudio(), and OSSThread().
| #define SPEAKER_LONGTEXT |
Value:
N_("Select speaker configuration you want to use. " \ "This option doesn't upmix! So NO e.g. Stereo -> 5.1 conversion." )
| #define SPEAKER_TEXT N_("Speaker configuration") |
| static int CALLBACK CallBackConfigEnum | ( | LPGUID | p_guid, | |
| LPCWSTR | psz_desc, | |||
| LPCWSTR | psz_mod, | |||
| LPVOID | _p_item | |||
| ) | [static] |
References module_config_t::i_list, p_item, module_config_t::ppsz_list, module_config_t::ppsz_list_text, and VLC_UNUSED.
Referenced by ReloadDirectXDevices().
| static int CALLBACK CallBackConfigNBEnum | ( | LPGUID | p_guid, | |
| LPCWSTR | psz_desc, | |||
| LPCWSTR | psz_mod, | |||
| LPVOID | p_nb | |||
| ) | [static] |
| static int CALLBACK CallBackDirectSoundEnum | ( | LPGUID | p_guid, | |
| LPCWSTR | psz_desc, | |||
| LPCWSTR | psz_mod, | |||
| LPVOID | _p_aout | |||
| ) | [static] |
| static void CloseAudio | ( | vlc_object_t * | p_this | ) | [static] |
References p_sys.
| static int CreateDSBuffer | ( | aout_instance_t * | p_aout, | |
| int | i_format, | |||
| int | i_channels, | |||
| int | i_nb_channels, | |||
| int | i_rate, | |||
| int | i_bytes_per_frame, | |||
| bool | b_probe | |||
| ) | [static] |
References aout_CheckChannelReorder(), aout_sys_t::b_chan_reorder, WAVEFORMATEXTENSIBLE::dwChannelMask, WAVEFORMATEXTENSIBLE::Format, FRAMES_NUM, aout_sys_t::i_bits_per_sample, aout_sys_t::i_channel_mask, aout_sys_t::i_channels, aout_sys_t::i_frame_size, msg_Dbg, aout_instance_t::output, aout_sys_t::p_dsbuffer, aout_sys_t::p_dsobject, aout_output_t::p_sys, aout_sys_t::pi_chan_table, pi_channels_in, pi_channels_out, pi_channels_src, WAVEFORMATEXTENSIBLE::Samples, SPEAKER_FRONT_LEFT, SPEAKER_FRONT_RIGHT, WAVEFORMATEXTENSIBLE::SubFormat, VLC_CODEC_FL32, VLC_CODEC_S16L, VLC_CODEC_SPDIFL, VLC_EGENERIC, VLC_SUCCESS, WAVE_FORMAT_DOLBY_AC3_SPDIF, WAVE_FORMAT_EXTENSIBLE, WAVE_FORMAT_IEEE_FLOAT, WAVE_FORMAT_PCM, waveformat, and WAVEFORMATEXTENSIBLE::wValidBitsPerSample.
Referenced by CreateDSBufferPCM().
| static int CreateDSBufferPCM | ( | aout_instance_t * | p_aout, | |
| vlc_fourcc_t * | i_format, | |||
| int | i_channels, | |||
| int | i_nb_channels, | |||
| int | i_rate, | |||
| bool | b_probe | |||
| ) | [static] |
References CreateDSBuffer(), FRAME_SIZE, var_GetBool, VLC_CODEC_FL32, VLC_CODEC_S16L, VLC_EGENERIC, and VLC_SUCCESS.
| static void DestroyDSBuffer | ( | aout_instance_t * | p_aout | ) | [static] |
References aout_instance_t::output, aout_sys_t::p_dsbuffer, and aout_output_t::p_sys.
| static void * DirectSoundThread | ( | vlc_object_t * | p_this | ) | [static] |
| static int FillBuffer | ( | aout_instance_t * | p_aout, | |
| int | i_frame, | |||
| aout_buffer_t * | p_buffer | |||
| ) | [static] |
References aout_BufferFree, aout_ChannelReorder(), aout_sys_t::b_chan_reorder, FRAMES_NUM, aout_sys_t::i_bits_per_sample, block_t::i_buffer, aout_sys_t::i_channels, notification_thread_t::i_frame_size, notification_thread_t::i_write_slot, msg_Warn, aout_instance_t::output, block_t::p_buffer, aout_sys_t::p_dsbuffer, aout_sys_t::p_notif, aout_output_t::p_sys, aout_sys_t::pi_chan_table, VLC_EGENERIC, vlc_memcpy(), and VLC_SUCCESS.
Referenced by Play().
| static int InitDirectSound | ( | aout_instance_t * | p_aout | ) | [static] |
| static int OpenAudio | ( | vlc_object_t * | p_this | ) | [static] |
References i.
| static void Play | ( | aout_instance_t * | p_aout | ) | [static] |
| static void Probe | ( | aout_instance_t * | p_aout | ) | [static] |
| static int ReloadDirectXDevices | ( | vlc_object_t * | p_this, | |
| char const * | psz_name, | |||
| vlc_value_t | newval, | |||
| vlc_value_t | oldval, | |||
| void * | data | |||
| ) | [static] |
References module_config_t::b_dirty, CallBackConfigEnum(), CallBackConfigNBEnum(), config_FindConfig(), FreeLibrary(), GetProcAddress(), HANDLE, module_config_t::i_list, LoadLibrary, msg_Dbg, msg_Warn, p_item, module_config_t::ppsz_list, module_config_t::ppsz_list_text, VLC_SUCCESS, VLC_UNUSED, and xrealloc().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const ppsz_adev[] = {"default", } [static] |
const char* const ppsz_adev_text[] = {"default", } [static] |
const char* const speaker_list[] [static] |
Initial value:
{ "Windows default", "Mono", "Stereo",
"Quad", "5.1", "7.1" }
1.5.6