diff src/alsa/audio.c @ 2059:70b1f1fc4804

use aud_cfg in some places
author William Pitcock <nenolod@atheme.org>
date Sat, 13 Oct 2007 23:48:00 -0500
parents c6023e5efd06
children 755b62131d7a
line wrap: on
line diff
--- a/src/alsa/audio.c	Sat Oct 13 23:44:59 2007 -0500
+++ b/src/alsa/audio.c	Sat Oct 13 23:48:00 2007 -0500
@@ -755,7 +755,7 @@
 	prebuffer = TRUE;
 	remove_prebuffer = FALSE;
 
-	thread_buffer_size = (guint64)cfg.output_buffer_size * inputf->bps / 1000;
+	thread_buffer_size = (guint64)aud_cfg->output_buffer_size * inputf->bps / 1000;
 	if (thread_buffer_size < hw_buffer_size)
 		thread_buffer_size = hw_buffer_size * 2;
 	if (thread_buffer_size < 8192)