[vlc-commits] auhal: fixed some compilation warnings

Felix Paul Kühne git at videolan.org
Mon Dec 24 14:51:08 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Dec 24 14:51:03 2012 +0100| [34798daf9485f229815f6d661a27d73fc1828516] | committer: Felix Paul Kühne

auhal: fixed some compilation warnings

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

 modules/audio_output/auhal.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 687b83f..5f0b7c1 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -1216,8 +1216,7 @@ static void PlayAnalog (audio_output_t * p_aout, block_t * p_block)
 
     if (p_block->i_nb_samples > 0) {
         /* Do the channel reordering */
-        if (p_sys->chans_to_reorder)
-        {
+        if (p_sys->chans_to_reorder) {
            aout_ChannelReorder(p_block->p_buffer,
                                p_block->i_buffer,
                                p_sys->chans_to_reorder,
@@ -1253,6 +1252,7 @@ static void PauseAnalog (audio_output_t *p_aout, bool pause, mtime_t date)
 
 static void FlushAnalog(audio_output_t *p_aout, bool wait)
 {
+    VLC_UNUSED(wait);
     /* flush circular buffer */
     TPCircularBufferClear(&p_aout->sys->circular_buffer);
 }
@@ -1363,6 +1363,8 @@ static OSStatus HardwareListener(AudioObjectID inObjectID,  UInt32 inNumberAddre
     OSStatus err = noErr;
     audio_output_t     *p_aout = (audio_output_t *)inClientData;
     VLC_UNUSED(inObjectID);
+    VLC_UNUSED(inNumberAddresses);
+    VLC_UNUSED(inAddresses);
 
     if (!p_aout)
         return -1;



More information about the vlc-commits mailing list