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

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Wed Jan 13 14:01:16 PST 2010


Author: xiphmont
Date: 2010-01-13 14:01:16 -0800 (Wed, 13 Jan 2010)
New Revision: 16780

Modified:
   trunk/ao/src/plugins/alsa09/ao_alsa09.c
Log:
Correct bug where 'internal command' in also09 driver was being set to 
'snd_pcm_hw_get_period_size' during the snd_pcm_hw_get_buffer_size 
command.



Modified: trunk/ao/src/plugins/alsa09/ao_alsa09.c
===================================================================
--- trunk/ao/src/plugins/alsa09/ao_alsa09.c	2010-01-13 21:56:55 UTC (rev 16779)
+++ trunk/ao/src/plugins/alsa09/ao_alsa09.c	2010-01-13 22:01:16 UTC (rev 16780)
@@ -293,7 +293,7 @@
 		return err;
 
 	/* save the buffer size in frames for posterity */
-	internal->cmd = "snd_pcm_hw_get_period_size";
+	internal->cmd = "snd_pcm_hw_get_buffer_size";
 	err = snd_pcm_hw_params_get_buffer_size(params, 
 						&(internal->buffer_size)); 
 	if (err < 0)



More information about the commits mailing list