]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/auhal.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / modules / audio_output / auhal.c
index d3f22a72428d3eaf402dc6071e145e6c76ee6d96..2af9776900ea1ad062c33958e7d0aa55bf9aea81 100644 (file)
@@ -77,7 +77,7 @@
     sfm.mChannelsPerFrame, sfm.mBitsPerChannel
 
 #define FRAMESIZE 2048
-#define BUFSIZE (FRAMESIZE * 8)
+#define BUFSIZE (FRAMESIZE * 8) * 8
 #define AOUT_VAR_SPDIF_FLAG 0xf00000
 
 /*
@@ -1492,7 +1492,7 @@ static int AudioDeviceCallback( vlc_object_t *p_this, const char *psz_variable,
 {
     aout_instance_t *p_aout = (aout_instance_t *)p_this;
     var_Set( p_aout->p_libvlc, "macosx-audio-device", new_val );
-    msg_Dbg( p_aout, "Set Device: %#x", new_val.i_int );
+    msg_Dbg( p_aout, "Set Device: %#"PRIx64, new_val.i_int );
     return aout_ChannelsRestart( p_this, psz_variable, old_val, new_val, param );
 }