Commit d36bd533 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unused aout_FifoFirstDate() and aout_FifoNextStart()

parent 297aefb7
...@@ -241,7 +241,6 @@ VLC_API void aout_FormatPrepare( audio_sample_format_t * p_format ); ...@@ -241,7 +241,6 @@ VLC_API void aout_FormatPrepare( audio_sample_format_t * p_format );
VLC_API void aout_FormatPrint( audio_output_t * p_aout, const char * psz_text, const audio_sample_format_t * p_format ); VLC_API void aout_FormatPrint( audio_output_t * p_aout, const char * psz_text, const audio_sample_format_t * p_format );
VLC_API const char * aout_FormatPrintChannels( const audio_sample_format_t * ) VLC_USED; VLC_API const char * aout_FormatPrintChannels( const audio_sample_format_t * ) VLC_USED;
VLC_API mtime_t aout_FifoFirstDate( const aout_fifo_t * ) VLC_USED;
VLC_API aout_buffer_t *aout_FifoPop( aout_fifo_t * p_fifo ) VLC_USED; VLC_API aout_buffer_t *aout_FifoPop( aout_fifo_t * p_fifo ) VLC_USED;
VLC_API void aout_FifoPush( aout_fifo_t *, block_t * ); VLC_API void aout_FifoPush( aout_fifo_t *, block_t * );
......
...@@ -159,7 +159,6 @@ audio_output_t *aout_New ( vlc_object_t * ); ...@@ -159,7 +159,6 @@ audio_output_t *aout_New ( vlc_object_t * );
void aout_FifoInit( vlc_object_t *, aout_fifo_t *, uint32_t ); void aout_FifoInit( vlc_object_t *, aout_fifo_t *, uint32_t );
#define aout_FifoInit(o, f, r) aout_FifoInit(VLC_OBJECT(o), f, r) #define aout_FifoInit(o, f, r) aout_FifoInit(VLC_OBJECT(o), f, r)
mtime_t aout_FifoNextStart( const aout_fifo_t * ) VLC_USED;
//void aout_FifoPush( aout_fifo_t *, aout_buffer_t * ); //void aout_FifoPush( aout_fifo_t *, aout_buffer_t * );
void aout_FifoReset( aout_fifo_t * ); void aout_FifoReset( aout_fifo_t * );
void aout_FifoMoveDates( aout_fifo_t *, mtime_t ); void aout_FifoMoveDates( aout_fifo_t *, mtime_t );
......
...@@ -397,24 +397,6 @@ void aout_FifoMoveDates( aout_fifo_t *fifo, mtime_t difference ) ...@@ -397,24 +397,6 @@ void aout_FifoMoveDates( aout_fifo_t *fifo, mtime_t difference )
block->i_pts += difference; block->i_pts += difference;
} }
/*****************************************************************************
* aout_FifoNextStart : return the current end_date
*****************************************************************************/
mtime_t aout_FifoNextStart( const aout_fifo_t *p_fifo )
{
return date_Get( &p_fifo->end_date );
}
/*****************************************************************************
* aout_FifoFirstDate : return the playing date of the first buffer in the
* FIFO
*****************************************************************************/
mtime_t aout_FifoFirstDate( const aout_fifo_t *fifo )
{
block_t *first = fifo->p_first;
return (first != NULL) ? first->i_pts : VLC_TS_INVALID;
}
/***************************************************************************** /*****************************************************************************
* aout_FifoPop : get the next buffer out of the FIFO * aout_FifoPop : get the next buffer out of the FIFO
*****************************************************************************/ *****************************************************************************/
......
...@@ -13,7 +13,6 @@ aout_ChannelsRestart ...@@ -13,7 +13,6 @@ aout_ChannelsRestart
aout_CheckChannelExtraction aout_CheckChannelExtraction
aout_CheckChannelReorder aout_CheckChannelReorder
aout_EnableFilter aout_EnableFilter
aout_FifoFirstDate
aout_FifoPop aout_FifoPop
aout_FifoPush aout_FifoPush
aout_filter_RequestVout aout_filter_RequestVout
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment