]> git.sesse.net Git - vlc/commitdiff
aout: fix f788153
authorRafaël Carré <funman@videolan.org>
Mon, 4 Mar 2013 11:21:26 +0000 (12:21 +0100)
committerRafaël Carré <funman@videolan.org>
Mon, 4 Mar 2013 11:21:26 +0000 (12:21 +0100)
Make char explicitely signed to represent a boolean
If it is unsigned, default value -1 will represent 255 and
effectively set mute to 255, i.e. true.

Fix lack of hearable audio output on android

src/audio_output/aout_internal.h

index 5c1c9dd93532f34596b90c3bec853ab08108df0a..93c828f1d9fd037462d8012399d6613c4fd324a2 100644 (file)
@@ -57,7 +57,7 @@ typedef struct
         vlc_mutex_t lock;
         char *device;
         float volume;
-        char mute;
+        signed char mute;
     } req;
 
     struct