[alsa-devel] Which project to choose?
superquad.vortex2 at gmail.com
Mon Jul 19 08:35:18 CEST 2010
2010/7/19 Chris <cpollock at embarqmail.com>
> On Mon, 2010-07-19 at 09:44 +0800, Raymond Yau wrote:
> > >
> > Refer to https://qa.mandriva.com/show_bug.cgi?id=56473#c10
> > I have installed mandriva 2010 on virtual box
> > when using xmms and libao output plugin to play system sound startup3.wav
> > xmms hang at the end of the playback only when enable buffering in libao
> > output plugin.(configure output plugin in xmms, unfortunately default is
> > enable buffering buffer size 3000 chunk size 1000) ,
> > xmms does not hang when you disable the buffer or using liboss/libALSA
> > output plugin
> > The last message in the pulseaudio server is
> > D: protocol-native.c 'underrun on libao[xmms] playback stream' , 0 bytes
> > queue.
> > The sound card seem running since hw_ptr and appl_ptr are increasing when
> > cat /proc/asound/card0/pcm0p/sub0/status
> > After a while , the following message appear
> > E:alsa-sink.c : ALSA woke us up to write new data , but there was
> > nothing to write!
> The above is exactly what I see periodically Raymond, so, what, if any,
> is the fix?
Do you mean that you cannot reproduce the xmms hang bug on your ens1371 or
xmms always hang/freeze at 4 second as xmms display the total length of
startup3.wav is 5 seconds
you have to ask mandriva 's maintainer why enable buffering is the default
option since xmms did not hang when I disable buffering in libao plugin
For fefora 10 and 13 , they only provide liboss, libALSA and libpulse plugin
I have no idea about the chunk size in libao plugin
More information about the Alsa-devel