[vlc-commits] Remove unused aout_FifoFirstDate() and aout_FifoNextStart()
Rémi Denis-Courmont
git at videolan.org
Thu Aug 4 17:16:41 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 4 16:13:33 2011 +0300| [d36bd533bde5ae5d97d0b4297897bead455aa444] | committer: Rémi Denis-Courmont
Remove unused aout_FifoFirstDate() and aout_FifoNextStart()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d36bd533bde5ae5d97d0b4297897bead455aa444
---
include/vlc_aout.h | 1 -
src/audio_output/aout_internal.h | 1 -
src/audio_output/common.c | 18 ------------------
src/libvlccore.sym | 1 -
4 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/include/vlc_aout.h b/include/vlc_aout.h
index 0d77cb0..d23d68e 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -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 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 void aout_FifoPush( aout_fifo_t *, block_t * );
diff --git a/src/audio_output/aout_internal.h b/src/audio_output/aout_internal.h
index fc30a0b..1e3997f 100644
--- a/src/audio_output/aout_internal.h
+++ b/src/audio_output/aout_internal.h
@@ -159,7 +159,6 @@ audio_output_t *aout_New ( vlc_object_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)
-mtime_t aout_FifoNextStart( const aout_fifo_t * ) VLC_USED;
//void aout_FifoPush( aout_fifo_t *, aout_buffer_t * );
void aout_FifoReset( aout_fifo_t * );
void aout_FifoMoveDates( aout_fifo_t *, mtime_t );
diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 475cb63..560be14 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -398,24 +398,6 @@ void aout_FifoMoveDates( aout_fifo_t *fifo, mtime_t 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_buffer_t *aout_FifoPop( aout_fifo_t * p_fifo )
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 44f2a61..537cb36 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -13,7 +13,6 @@ aout_ChannelsRestart
aout_CheckChannelExtraction
aout_CheckChannelReorder
aout_EnableFilter
-aout_FifoFirstDate
aout_FifoPop
aout_FifoPush
aout_filter_RequestVout
More information about the vlc-commits
mailing list