[vlc-commits] audiounit_ios: more cleanup

Felix Paul Kühne git at videolan.org
Thu Apr 4 19:36:50 CEST 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Apr  1 17:06:01 2013 +0200| [13ee7d5ee2e6e38bbd6cc6496d0e8eede14577d8] | committer: Felix Paul Kühne

audiounit_ios: more cleanup

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13ee7d5ee2e6e38bbd6cc6496d0e8eede14577d8
---

 modules/audio_output/audiounit_ios.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/audio_output/audiounit_ios.c b/modules/audio_output/audiounit_ios.c
index a4af9d2..1faaf58 100644
--- a/modules/audio_output/audiounit_ios.c
+++ b/modules/audio_output/audiounit_ios.c
@@ -58,9 +58,6 @@
  *****************************************************************************/
 struct aout_sys_t
 {
-    uint8_t                     chan_table[AOUT_CHAN_MAX];
-
-    UInt32                      i_numberOfChannels;
     TPCircularBuffer            circular_buffer;    /* circular buffer to swap the audio data */
 
     /* AUHAL specific */
@@ -70,8 +67,6 @@ struct aout_sys_t
     int                         i_rate;             /* media sample rate */
     int                         i_bytes_per_sample;
     bool                        b_got_first_sample;
-
-    vlc_mutex_t                 lock;
 };
 
 #pragma mark -
@@ -109,8 +104,6 @@ static int Open(vlc_object_t *obj)
     if (unlikely(sys == NULL))
         return VLC_ENOMEM;
 
-    vlc_mutex_init(&sys->lock);
-
     aout->sys = sys;
     aout->start = Start;
     aout->stop = Stop;
@@ -123,8 +116,6 @@ static void Close(vlc_object_t *obj)
     audio_output_t *aout = (audio_output_t *)obj;
     aout_sys_t *sys = aout->sys;
 
-    vlc_mutex_destroy(&sys->lock);
-
     free(sys);
 }
 



More information about the vlc-commits mailing list