
Data Structures | |
| struct | aout_sys_t |
Defines | |
| #define | __MACHINEEXCEPTIONS__ |
| #define | verify_noerr(a) assert((a) == noErr) |
| #define | AudioComponent Component |
| #define | AudioComponentDescription ComponentDescription |
| #define | AudioComponentFindNext FindNextComponent |
| #define | AudioComponentInstanceNew OpenAComponent |
| #define | AudioComponentInstanceDispose CloseComponent |
| #define | AudioComponentInstanceNew OpenAComponent |
| #define | AudioComponentInstanceNew OpenAComponent |
| #define | STREAM_FORMAT_MSG(pre, sfm) |
| #define | STREAM_FORMAT_MSG_FULL(pre, sfm) |
| #define | FRAMESIZE 2048 |
| #define | BUFSIZE (FRAMESIZE * 8) |
| #define | AOUT_VAR_SPDIF_FLAG 0xf00000 |
| #define | ADEV_TEXT N_("Audio Device") |
| #define | ADEV_LONGTEXT |
| #define | BUFFER outOutputData->mBuffers[p_sys->i_stream_index] |
Functions | |
| static int | Open (vlc_object_t *) |
| Probes and initializes. | |
| static int | OpenAnalog (aout_instance_t *) |
| static int | OpenSPDIF (aout_instance_t *) |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| static void | Play (aout_instance_t *) |
| static void | Probe (aout_instance_t *) |
| static int | AudioDeviceHasOutput (AudioDeviceID) |
| static int | AudioDeviceSupportsDigital (aout_instance_t *, AudioDeviceID) |
| static int | AudioStreamSupportsDigital (aout_instance_t *, AudioStreamID) |
| static int | AudioStreamChangeFormat (aout_instance_t *, AudioStreamID, AudioStreamBasicDescription) |
| static OSStatus | RenderCallbackAnalog (vlc_object_t *, AudioUnitRenderActionFlags *, const AudioTimeStamp *, unsigned int, unsigned int, AudioBufferList *) |
| static OSStatus | RenderCallbackSPDIF (AudioDeviceID, const AudioTimeStamp *, const void *, const AudioTimeStamp *, AudioBufferList *, const AudioTimeStamp *, void *) |
| static OSStatus | HardwareListener (AudioHardwarePropertyID, void *) |
| static OSStatus | StreamListener (AudioStreamID, UInt32, AudioDevicePropertyID, void *) |
| static int | AudioDeviceCallback (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| #define __MACHINEEXCEPTIONS__ |
| #define ADEV_LONGTEXT |
Value:
N_("Choose a number corresponding to the number of an " \ "audio device, as listed in your 'Audio Device' menu. This device will " \ "then be used by default for audio playback.")
| #define ADEV_TEXT N_("Audio Device") |
| #define AOUT_VAR_SPDIF_FLAG 0xf00000 |
Referenced by Probe().
| #define AudioComponent Component |
| #define AudioComponentDescription ComponentDescription |
Referenced by OpenAnalog().
| #define AudioComponentFindNext FindNextComponent |
Referenced by OpenAnalog().
| #define AudioComponentInstanceDispose CloseComponent |
| #define AudioComponentInstanceNew OpenAComponent |
| #define AudioComponentInstanceNew OpenAComponent |
| #define AudioComponentInstanceNew OpenAComponent |
Referenced by OpenAnalog().
| #define BUFFER outOutputData->mBuffers[p_sys->i_stream_index] |
Referenced by RenderCallbackSPDIF().
| #define BUFSIZE (FRAMESIZE * 8) |
| #define FRAMESIZE 2048 |
Referenced by OpenAnalog().
| #define STREAM_FORMAT_MSG | ( | pre, | |||
| sfm | ) |
Value:
pre "[%u][%4.4s][%u][%u][%u][%u][%u][%u]", \ (UInt32)sfm.mSampleRate, (char *)&sfm.mFormatID, \ sfm.mFormatFlags, sfm.mBytesPerPacket, \ sfm.mFramesPerPacket, sfm.mBytesPerFrame, \ sfm.mChannelsPerFrame, sfm.mBitsPerChannel
Referenced by AudioStreamChangeFormat(), AudioStreamSupportsDigital(), OpenAnalog(), and OpenSPDIF().
| #define STREAM_FORMAT_MSG_FULL | ( | pre, | |||
| sfm | ) |
Value:
pre ":\nsamplerate: [%u]\nFormatID: [%4.4s]\nFormatFlags: [%u]\nBypesPerPacket: [%u]\nFramesPerPacket: [%u]\nBytesPerFrame: [%u]\nChannelsPerFrame: [%u]\nBitsPerChannel[%u]", \ (UInt32)sfm.mSampleRate, (char *)&sfm.mFormatID, \ sfm.mFormatFlags, sfm.mBytesPerPacket, \ sfm.mFramesPerPacket, sfm.mBytesPerFrame, \ sfm.mChannelsPerFrame, sfm.mBitsPerChannel
Referenced by AudioDeviceHasOutput(), and OpenAnalog().
| static int AudioDeviceCallback | ( | vlc_object_t * | p_this, | |
| const char * | psz_variable, | |||
| vlc_value_t | old_val, | |||
| vlc_value_t | new_val, | |||
| void * | param | |||
| ) | [static] |
References aout_ChannelsRestart(), vlc_value_t::i_int, msg_Dbg, aout_instance_t::p_libvlc, and var_Set.
Referenced by Probe().
| static int AudioDeviceHasOutput | ( | AudioDeviceID | i_dev_id | ) | [static] |
| static int AudioDeviceSupportsDigital | ( | aout_instance_t * | p_aout, | |
| AudioDeviceID | i_dev_id | |||
| ) | [static] |
| static int AudioStreamChangeFormat | ( | aout_instance_t * | p_aout, | |
| AudioStreamID | i_stream_id, | |||
| AudioStreamBasicDescription | change_format | |||
| ) | [static] |
References i, lock, mdate(), msg_Dbg, msg_Err, STREAM_FORMAT_MSG, StreamListener(), vlc_cond_destroy(), vlc_cond_init(), vlc_cond_timedwait(), vlc_mutex_destroy(), vlc_mutex_init(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by OpenSPDIF().
| static int AudioStreamSupportsDigital | ( | aout_instance_t * | p_aout, | |
| AudioStreamID | i_stream_id | |||
| ) | [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 OSStatus HardwareListener | ( | AudioHardwarePropertyID | inPropertyID, | |
| void * | inClientData | |||
| ) | [static] |
| 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 int OpenAnalog | ( | aout_instance_t * | p_aout | ) | [static] |
References _, AOUT_CHAN_CENTER, AOUT_CHAN_LEFT, AOUT_CHAN_LFE, AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT, AOUT_CHAN_PHYSMASK, AOUT_CHAN_REARCENTER, AOUT_CHAN_REARLEFT, AOUT_CHAN_REARRIGHT, AOUT_CHAN_RIGHT, aout_FormatNbChannels(), aout_FormatPrepare(), aout_FormatPrintChannels(), aout_VolumeSoftInit(), aout_sys_t::au_component, aout_sys_t::au_unit, AudioComponentDescription, AudioComponentFindNext, AudioComponentInstanceNew, aout_sys_t::clock_diff, dialog_Fatal, err, FRAMESIZE, i, audio_format_t::i_format, aout_output_t::i_nb_samples, audio_format_t::i_original_channels, audio_format_t::i_physical_channels, audio_format_t::i_rate, aout_sys_t::i_selected_dev, mdate(), msg_Dbg, msg_Err, msg_Warn, aout_output_t::output, aout_instance_t::output, aout_output_t::p_sys, p_sys, RenderCallbackAnalog(), STREAM_FORMAT_MSG, verify_noerr, and VLC_CODEC_FL32.
| static int OpenSPDIF | ( | aout_instance_t * | p_aout | ) | [static] |
References A52_FRAME_NB, aout_FormatPrepare(), AOUT_SPDIF_SIZE, aout_VolumeNoneInit(), AudioStreamChangeFormat(), aout_sys_t::b_changed_mixing, aout_sys_t::b_digital, aout_sys_t::b_revert, aout_sys_t::clock_diff, err, getpid(), i, audio_format_t::i_bytes_per_frame, audio_format_t::i_format, audio_format_t::i_frame_length, aout_sys_t::i_hog_pid, aout_output_t::i_nb_samples, audio_format_t::i_rate, aout_sys_t::i_selected_dev, aout_sys_t::i_stream_id, aout_sys_t::i_stream_index, mdate(), msg_Dbg, msg_Err, aout_output_t::output, aout_instance_t::output, aout_output_t::p_sys, p_sys, RenderCallbackSPDIF(), aout_sys_t::sfmt_revert, aout_sys_t::stream_format, STREAM_FORMAT_MSG, VLC_CODEC_SPDIFB, and VLC_CODEC_SPDIFL.
| static void Play | ( | aout_instance_t * | p_aout | ) | [static] |
References VLC_UNUSED.
| static void Probe | ( | aout_instance_t * | p_aout | ) | [static] |
References _, AOUT_VAR_SPDIF_FLAG, asprintf(), AudioDeviceCallback(), AudioDeviceHasOutput(), AudioDeviceSupportsDigital(), HardwareListener(), i, aout_sys_t::i_default_dev, aout_sys_t::i_devices, vlc_value_t::i_int, msg_Dbg, msg_Err, msg_Warn, aout_instance_t::output, aout_instance_t::p_libvlc, aout_output_t::p_sys, psz_name, vlc_value_t::psz_string, text, var_AddCallback, var_Change, var_Create, var_Get, var_InheritBool, var_Set, VLC_VAR_ADDCHOICE, VLC_VAR_HASCHOICE, VLC_VAR_INTEGER, VLC_VAR_SETDEFAULT, and VLC_VAR_SETTEXT.
| static OSStatus RenderCallbackAnalog | ( | vlc_object_t * | _p_aout, | |
| AudioUnitRenderActionFlags * | ioActionFlags, | |||
| const AudioTimeStamp * | inTimeStamp, | |||
| unsigned int | inBusNumber, | |||
| unsigned int | inNumberFrames, | |||
| AudioBufferList * | ioData | |||
| ) | [static] |
References __MIN, aout_BufferFree, aout_FormatNbChannels(), aout_OutputNextBuffer(), aout_sys_t::clock_diff, block_t::i_buffer, audio_format_t::i_rate, aout_sys_t::i_read_bytes, aout_sys_t::i_selected_dev, aout_sys_t::i_total_bytes, mdate(), msg_Err, aout_output_t::output, aout_instance_t::output, block_t::p_buffer, aout_sys_t::p_remainder_buffer, aout_output_t::p_sys, vlc_memcpy(), vlc_memset(), and VLC_UNUSED.
Referenced by OpenAnalog().
| static OSStatus RenderCallbackSPDIF | ( | AudioDeviceID | inDevice, | |
| const AudioTimeStamp * | inNow, | |||
| const void * | inInputData, | |||
| const AudioTimeStamp * | inInputTime, | |||
| AudioBufferList * | outOutputData, | |||
| const AudioTimeStamp * | inOutputTime, | |||
| void * | threadGlobals | |||
| ) | [static] |
References aout_BufferFree, aout_OutputNextBuffer(), BUFFER, aout_sys_t::clock_diff, block_t::i_buffer, mdate(), msg_Warn, aout_instance_t::output, block_t::p_buffer, aout_output_t::p_sys, vlc_memcpy(), vlc_memset(), and VLC_UNUSED.
Referenced by OpenSPDIF().
| static OSStatus StreamListener | ( | AudioStreamID | inStream, | |
| UInt32 | inChannel, | |||
| AudioDevicePropertyID | inPropertyID, | |||
| void * | inClientData | |||
| ) | [static] |
References lock, vlc_cond_signal(), vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_UNUSED.
Referenced by AudioStreamChangeFormat().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6