Include dependency graph for vlc_aout.h:

Go to the source code of this file.
Data Structures | |
| struct | aout_buffer_t |
| audio output buffer More... | |
| struct | audio_date_t |
| date incrementation helper structure without long-term rounding errors More... | |
| struct | aout_alloc_t |
| allocation of memory in the audio output More... | |
| struct | aout_mixer_t |
| audio output mixer More... | |
| struct | aout_fifo_t |
| audio output buffer FIFO More... | |
| struct | aout_filter_t |
| audio output filter More... | |
| struct | aout_input_t |
| an input stream for the audio output More... | |
| struct | aout_output_t |
| an output stream for the audio output More... | |
| struct | aout_instance_t |
| audio output thread descriptor More... | |
Defines | |
| #define | VLC_AOUT_H 1 |
| #define | AOUT_FMTS_IDENTICAL(p_first, p_second) |
| #define | AOUT_FMTS_SIMILAR(p_first, p_second) |
| #define | AOUT_FMT_S16_NE VLC_FOURCC('s','1','6','l') |
| #define | AOUT_FMT_U16_NE VLC_FOURCC('u','1','6','l') |
| #define | AOUT_FMT_S24_NE VLC_FOURCC('s','2','4','l') |
| #define | AOUT_FMT_SPDIF_NE VLC_FOURCC('s','p','d','i') |
| #define | AOUT_FMT_NON_LINEAR(p_format) |
| #define | FIXED32_FRACBITS 28 |
| #define | FIXED32_MIN ((vlc_fixed_t) -0x80000000L) |
| #define | FIXED32_MAX ((vlc_fixed_t) +0x7fffffffL) |
| #define | FIXED32_ONE ((vlc_fixed_t) 0x10000000) |
| #define | AOUT_CHAN_CENTER 0x1 |
| #define | AOUT_CHAN_LEFT 0x2 |
| #define | AOUT_CHAN_RIGHT 0x4 |
| #define | AOUT_CHAN_REARCENTER 0x10 |
| #define | AOUT_CHAN_REARLEFT 0x20 |
| #define | AOUT_CHAN_REARRIGHT 0x40 |
| #define | AOUT_CHAN_MIDDLELEFT 0x100 |
| #define | AOUT_CHAN_MIDDLERIGHT 0x200 |
| #define | AOUT_CHAN_LFE 0x1000 |
| #define | AOUT_CHAN_DOLBYSTEREO 0x10000 |
| #define | AOUT_CHAN_DUALMONO 0x20000 |
| #define | AOUT_CHAN_REVERSESTEREO 0x40000 |
| #define | AOUT_CHAN_PHYSMASK 0xFFFF |
| #define | AOUT_CHAN_MAX 9 |
| #define | AOUT_VAR_MONO 1 |
| #define | AOUT_VAR_STEREO 2 |
| #define | AOUT_VAR_2F2R 4 |
| #define | AOUT_VAR_3F2R 5 |
| #define | AOUT_VAR_5_1 6 |
| #define | AOUT_VAR_6_1 7 |
| #define | AOUT_VAR_7_1 8 |
| #define | AOUT_VAR_SPDIF 10 |
| #define | AOUT_VAR_CHAN_STEREO 1 |
| #define | AOUT_VAR_CHAN_RSTEREO 2 |
| #define | AOUT_VAR_CHAN_LEFT 3 |
| #define | AOUT_VAR_CHAN_RIGHT 4 |
| #define | AOUT_VAR_CHAN_DOLBYS 5 |
| #define | aout_BufferFree(p_buffer) |
| #define | AOUT_SPDIF_SIZE 6144 |
| #define | A52_FRAME_NB 1536 |
| #define | AOUT_MAX_INPUT_RATE (4) |
| #define | AOUT_ALLOC_NONE 0 |
| #define | AOUT_ALLOC_STACK 1 |
| #define | AOUT_ALLOC_HEAP 2 |
| #define | AOUT_RESAMPLING_NONE 0 |
| #define | AOUT_RESAMPLING_UP 1 |
| #define | AOUT_RESAMPLING_DOWN 2 |
| #define | aout_VolumeGet(a, b) __aout_VolumeGet(VLC_OBJECT(a), b) |
| #define | aout_VolumeSet(a, b) __aout_VolumeSet(VLC_OBJECT(a), b) |
| #define | aout_VolumeInfos(a, b) __aout_VolumeInfos(VLC_OBJECT(a), b) |
| #define | aout_VolumeUp(a, b, c) __aout_VolumeUp(VLC_OBJECT(a), b, c) |
| #define | aout_VolumeDown(a, b, c) __aout_VolumeDown(VLC_OBJECT(a), b, c) |
| #define | aout_VolumeMute(a, b) __aout_VolumeMute(VLC_OBJECT(a), b) |
| #define | aout_VisualNext(a) aout_VisualChange( VLC_OBJECT(a),1 ) |
| #define | aout_VisualPrev(a) aout_VisualChange( VLC_OBJECT(a),-1 ) |
Typedefs | |
| typedef int32_t | vlc_fixed_t |
Functions | |
| void | aout_DateInit (audio_date_t *, uint32_t) |
| void | aout_DateSet (audio_date_t *, mtime_t) |
| void | aout_DateMove (audio_date_t *, mtime_t) |
| mtime_t | aout_DateGet (const audio_date_t *) |
| mtime_t | aout_DateIncrement (audio_date_t *, uint32_t) |
| aout_buffer_t * | aout_OutputNextBuffer (aout_instance_t *, mtime_t, bool) |
| int | aout_CheckChannelReorder (const uint32_t *, const uint32_t *, uint32_t, int, int *) |
| void | aout_ChannelReorder (uint8_t *, int, int, const int *, int) |
| unsigned int | aout_FormatNbChannels (const audio_sample_format_t *p_format) |
| unsigned int | aout_BitsPerSample (vlc_fourcc_t i_format) |
| void | aout_FormatPrepare (audio_sample_format_t *p_format) |
| void | aout_FormatPrint (aout_instance_t *p_aout, const char *psz_text, const audio_sample_format_t *p_format) |
| const char * | aout_FormatPrintChannels (const audio_sample_format_t *) |
| mtime_t | aout_FifoFirstDate (aout_instance_t *, aout_fifo_t *) |
| aout_buffer_t * | aout_FifoPop (aout_instance_t *p_aout, aout_fifo_t *p_fifo) |
| void | aout_VolumeSoftInit (aout_instance_t *) |
| void | aout_VolumeNoneInit (aout_instance_t *) |
| int | __aout_VolumeGet (vlc_object_t *, audio_volume_t *) |
| int | __aout_VolumeSet (vlc_object_t *, audio_volume_t) |
| int | __aout_VolumeInfos (vlc_object_t *, audio_volume_t *) |
| int | __aout_VolumeUp (vlc_object_t *, int, audio_volume_t *) |
| int | __aout_VolumeDown (vlc_object_t *, int, audio_volume_t *) |
| int | __aout_VolumeMute (vlc_object_t *, audio_volume_t *) |
| int | aout_FindAndRestart (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *) |
| int | aout_ChannelsRestart (vlc_object_t *, const char *, vlc_value_t, vlc_value_t, void *) |
| void | aout_EnableFilter (vlc_object_t *, const char *, bool) |
| Enable or disable an audio filter. | |
| char * | aout_VisualChange (vlc_object_t *, int) |
| Change audio visualization -1 goes backwards, +1 goes forward. | |
| #define A52_FRAME_NB 1536 |
| #define AOUT_ALLOC_HEAP 2 |
| #define AOUT_ALLOC_NONE 0 |
| #define AOUT_ALLOC_STACK 1 |
| #define aout_BufferFree | ( | p_buffer | ) |
Value:
do { \ if( p_buffer != NULL && (p_buffer)->i_alloc_type == AOUT_ALLOC_HEAP ) \ { \ free( p_buffer ); \ } \ p_buffer = NULL; } while(0)
| #define AOUT_CHAN_CENTER 0x1 |
| #define AOUT_CHAN_DOLBYSTEREO 0x10000 |
| #define AOUT_CHAN_DUALMONO 0x20000 |
| #define AOUT_CHAN_LEFT 0x2 |
| #define AOUT_CHAN_LFE 0x1000 |
| #define AOUT_CHAN_MAX 9 |
| #define AOUT_CHAN_MIDDLELEFT 0x100 |
| #define AOUT_CHAN_MIDDLERIGHT 0x200 |
| #define AOUT_CHAN_PHYSMASK 0xFFFF |
| #define AOUT_CHAN_REARCENTER 0x10 |
| #define AOUT_CHAN_REARLEFT 0x20 |
| #define AOUT_CHAN_REARRIGHT 0x40 |
| #define AOUT_CHAN_REVERSESTEREO 0x40000 |
| #define AOUT_CHAN_RIGHT 0x4 |
| #define AOUT_FMT_NON_LINEAR | ( | p_format | ) |
Value:
( ((p_format)->i_format == VLC_FOURCC('s','p','d','i')) \ || ((p_format)->i_format == VLC_FOURCC('s','p','d','b')) \ || ((p_format)->i_format == VLC_FOURCC('a','5','2',' ')) \ || ((p_format)->i_format == VLC_FOURCC('d','t','s',' ')) )
| #define AOUT_FMT_S16_NE VLC_FOURCC('s','1','6','l') |
| #define AOUT_FMT_S24_NE VLC_FOURCC('s','2','4','l') |
| #define AOUT_FMT_SPDIF_NE VLC_FOURCC('s','p','d','i') |
| #define AOUT_FMT_U16_NE VLC_FOURCC('u','1','6','l') |
| #define AOUT_FMTS_IDENTICAL | ( | p_first, | |||
| p_second | ) |
Value:
( \
((p_first)->i_format == (p_second)->i_format) \
&& ((p_first)->i_rate == (p_second)->i_rate) \
&& ((p_first)->i_physical_channels == (p_second)->i_physical_channels)\
&& ((p_first)->i_original_channels == (p_second)->i_original_channels) )
| #define AOUT_FMTS_SIMILAR | ( | p_first, | |||
| p_second | ) |
Value:
( \
((p_first)->i_rate == (p_second)->i_rate) \
&& ((p_first)->i_physical_channels == (p_second)->i_physical_channels)\
&& ((p_first)->i_original_channels == (p_second)->i_original_channels) )
| #define AOUT_MAX_INPUT_RATE (4) |
| #define AOUT_RESAMPLING_DOWN 2 |
| #define AOUT_RESAMPLING_NONE 0 |
| #define AOUT_RESAMPLING_UP 1 |
| #define AOUT_SPDIF_SIZE 6144 |
| #define AOUT_VAR_2F2R 4 |
| #define AOUT_VAR_3F2R 5 |
| #define AOUT_VAR_5_1 6 |
| #define AOUT_VAR_6_1 7 |
| #define AOUT_VAR_7_1 8 |
| #define AOUT_VAR_CHAN_DOLBYS 5 |
| #define AOUT_VAR_CHAN_LEFT 3 |
| #define AOUT_VAR_CHAN_RIGHT 4 |
| #define AOUT_VAR_CHAN_RSTEREO 2 |
| #define AOUT_VAR_CHAN_STEREO 1 |
| #define AOUT_VAR_MONO 1 |
| #define AOUT_VAR_SPDIF 10 |
| #define AOUT_VAR_STEREO 2 |
| #define aout_VisualNext | ( | a | ) | aout_VisualChange( VLC_OBJECT(a),1 ) |
| #define aout_VisualPrev | ( | a | ) | aout_VisualChange( VLC_OBJECT(a),-1 ) |
| #define aout_VolumeDown | ( | a, | |||
| b, | |||||
| c | ) | __aout_VolumeDown(VLC_OBJECT(a), b, c) |
| #define aout_VolumeGet | ( | a, | |||
| b | ) | __aout_VolumeGet(VLC_OBJECT(a), b) |
| #define aout_VolumeInfos | ( | a, | |||
| b | ) | __aout_VolumeInfos(VLC_OBJECT(a), b) |
| #define aout_VolumeMute | ( | a, | |||
| b | ) | __aout_VolumeMute(VLC_OBJECT(a), b) |
| #define aout_VolumeSet | ( | a, | |||
| b | ) | __aout_VolumeSet(VLC_OBJECT(a), b) |
| #define aout_VolumeUp | ( | a, | |||
| b, | |||||
| c | ) | __aout_VolumeUp(VLC_OBJECT(a), b, c) |
| #define FIXED32_FRACBITS 28 |
| #define FIXED32_MAX ((vlc_fixed_t) +0x7fffffffL) |
| #define FIXED32_MIN ((vlc_fixed_t) -0x80000000L) |
| #define FIXED32_ONE ((vlc_fixed_t) 0x10000000) |
| #define VLC_AOUT_H 1 |
| typedef int32_t vlc_fixed_t |
| int __aout_VolumeDown | ( | vlc_object_t * | , | |
| int | , | |||
| audio_volume_t * | ||||
| ) |
| int __aout_VolumeGet | ( | vlc_object_t * | , | |
| audio_volume_t * | ||||
| ) |
| int __aout_VolumeInfos | ( | vlc_object_t * | , | |
| audio_volume_t * | ||||
| ) |
| int __aout_VolumeMute | ( | vlc_object_t * | , | |
| audio_volume_t * | ||||
| ) |
| int __aout_VolumeSet | ( | vlc_object_t * | , | |
| audio_volume_t | ||||
| ) |
| int __aout_VolumeUp | ( | vlc_object_t * | , | |
| int | , | |||
| audio_volume_t * | ||||
| ) |
| unsigned int aout_BitsPerSample | ( | vlc_fourcc_t | i_format | ) |
| void aout_ChannelReorder | ( | uint8_t * | , | |
| int | , | |||
| int | , | |||
| const int * | , | |||
| int | ||||
| ) |
| int aout_ChannelsRestart | ( | vlc_object_t * | , | |
| const char * | , | |||
| vlc_value_t | , | |||
| vlc_value_t | , | |||
| void * | ||||
| ) |
| int aout_CheckChannelReorder | ( | const uint32_t * | , | |
| const uint32_t * | , | |||
| uint32_t | , | |||
| int | , | |||
| int * | ||||
| ) |
| mtime_t aout_DateGet | ( | const audio_date_t * | ) |
| mtime_t aout_DateIncrement | ( | audio_date_t * | , | |
| uint32_t | ||||
| ) |
| void aout_DateInit | ( | audio_date_t * | , | |
| uint32_t | ||||
| ) |
| void aout_DateMove | ( | audio_date_t * | , | |
| mtime_t | ||||
| ) |
| void aout_DateSet | ( | audio_date_t * | , | |
| mtime_t | ||||
| ) |
| void aout_EnableFilter | ( | vlc_object_t * | p_this, | |
| const char * | psz_name, | |||
| bool | b_add | |||
| ) |
Enable or disable an audio filter.
| p_this | a vlc object | |
| psz_name | name of the filter | |
| b_add | are we adding or removing the filter ? |
| mtime_t aout_FifoFirstDate | ( | aout_instance_t * | , | |
| aout_fifo_t * | ||||
| ) |
| aout_buffer_t* aout_FifoPop | ( | aout_instance_t * | p_aout, | |
| aout_fifo_t * | p_fifo | |||
| ) |
| int aout_FindAndRestart | ( | vlc_object_t * | , | |
| const char * | , | |||
| vlc_value_t | , | |||
| vlc_value_t | , | |||
| void * | ||||
| ) |
| unsigned int aout_FormatNbChannels | ( | const audio_sample_format_t * | p_format | ) |
| void aout_FormatPrepare | ( | audio_sample_format_t * | p_format | ) |
| void aout_FormatPrint | ( | aout_instance_t * | p_aout, | |
| const char * | psz_text, | |||
| const audio_sample_format_t * | p_format | |||
| ) |
| const char* aout_FormatPrintChannels | ( | const audio_sample_format_t * | ) |
| aout_buffer_t* aout_OutputNextBuffer | ( | aout_instance_t * | , | |
| mtime_t | , | |||
| bool | ||||
| ) |
| char* aout_VisualChange | ( | vlc_object_t * | , | |
| int | ||||
| ) |
Change audio visualization -1 goes backwards, +1 goes forward.
| void aout_VolumeNoneInit | ( | aout_instance_t * | ) |
| void aout_VolumeSoftInit | ( | aout_instance_t * | ) |
1.5.1