[vlc-commits] opensles: remove obsolete code
Rafaël Carré
git at videolan.org
Sun Dec 16 11:12:55 CET 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Dec 16 10:19:49 2012 +0100| [d37afcfbb26d219a9abc9de7aaa1a34452d58b8b] | committer: Rafaël Carré
opensles: remove obsolete code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d37afcfbb26d219a9abc9de7aaa1a34452d58b8b
---
modules/audio_output/opensles_android.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/modules/audio_output/opensles_android.c b/modules/audio_output/opensles_android.c
index 8d1930a..41fd78d 100644
--- a/modules/audio_output/opensles_android.c
+++ b/modules/audio_output/opensles_android.c
@@ -239,13 +239,6 @@ static void Play( audio_output_t *p_aout, block_t *p_buffer )
{
aout_sys_t *p_sys = p_aout->sys;
- SLAndroidSimpleBufferQueueState st;
- SLresult res = GetState(p_sys->playerBufferQueue, &st);
- if (unlikely(res != SL_RESULT_SUCCESS)) {
- msg_Err(p_aout, "Could not query buffer queue state (%lu)", res);
- st.count = 0;
- }
-
p_buffer->p_next = NULL; /* Make sur our linked list doesn't use old references */
vlc_mutex_lock(&p_sys->lock);
block_ChainLastAppend( &p_sys->pp_buffer_last, p_buffer );
More information about the vlc-commits
mailing list