[xiph-commits] r14148 - trunk/ao/src/plugins/alsa09

ivo at svn.xiph.org ivo at svn.xiph.org
Thu Nov 15 00:45:38 PST 2007


Author: ivo
Date: 2007-11-15 00:45:38 -0800 (Thu, 15 Nov 2007)
New Revision: 14148

Modified:
   trunk/ao/src/plugins/alsa09/ao_alsa09.c
Log:
fixed buffer_time option per ticket #814

Modified: trunk/ao/src/plugins/alsa09/ao_alsa09.c
===================================================================
--- trunk/ao/src/plugins/alsa09/ao_alsa09.c	2007-11-15 08:33:06 UTC (rev 14147)
+++ trunk/ao/src/plugins/alsa09/ao_alsa09.c	2007-11-15 08:45:38 UTC (rev 14148)
@@ -165,7 +165,7 @@
 			return 0;
 	}
 	else if (!strcmp(key, "buffer_time"))
-		internal->buffer_time = atoi(value);
+		internal->buffer_time = atoi(value) * 1000;
 	else if (!strcmp(key, "period_time"))
 		internal->period_time = atoi(value);
 	else if (!strcmp(key,"use_mmap")) {



More information about the commits mailing list