[xiph-commits] r3808 - libsydneyaudio/trunk/src
j at svn.annodex.net
j at svn.annodex.net
Mon Nov 24 15:02:46 PST 2008
Author: j
Date: 2008-11-24 15:02:44 -0800 (Mon, 24 Nov 2008)
New Revision: 3808
Modified:
libsydneyaudio/trunk/src/sydney_audio_alsa.c
Log:
return one period more of available size to write, this fixes playback issues on ubuntu 8.10 pulseaudio
Modified: libsydneyaudio/trunk/src/sydney_audio_alsa.c
===================================================================
--- libsydneyaudio/trunk/src/sydney_audio_alsa.c 2008-11-21 11:59:09 UTC (rev 3807)
+++ libsydneyaudio/trunk/src/sydney_audio_alsa.c 2008-11-24 23:02:44 UTC (rev 3808)
@@ -248,7 +248,7 @@
avail = snd_pcm_avail_update(s->output_unit);
- *size = snd_pcm_frames_to_bytes(s->output_unit, avail);
+ *size = snd_pcm_frames_to_bytes(s->output_unit, avail) + s->period_bytes;
return SA_SUCCESS;
}
More information about the commits
mailing list