[alsa-devel] Which project to choose?

Colin Guthrie gmane at colin.guthr.ie
Mon Jul 19 09:53:51 CEST 2010

'Twas brillig, and Raymond Yau at 19/07/10 07:35 did gyre and gimble:
> 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
>> in
>>> 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
>> actually
>>> nothing to write!
>> The above is exactly what I see periodically Raymond, so, what, if any,
>> is the fix?
>> Chris
> Do you mean that you cannot reproduce the xmms hang bug on your ens1371 or
> via8237 ?
> 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
> for xmms
> I have no idea about the chunk size in libao plugin

With a clean user account, I could not reproduce either problem with the
default settings.

FWIW, running PA under virtualbox is quite different to running it under
a real system. For example PA will enable the non-timer based mode
automatically when under a virtual machine.



Colin Guthrie

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

More information about the Alsa-devel mailing list