[pulseaudio-tickets] [PulseAudio] #923: client app: playback on first buffer, then underrun and no audio
PulseAudio
trac-noreply at tango.0pointer.de
Mon Mar 21 06:27:16 PDT 2011
#923: client app: playback on first buffer, then underrun and no audio
------------------------+---------------------------------------------------
Reporter: kirkawolff | Owner: lennart
Type: defect | Status: new
Milestone: | Component: libpulse
Keywords: |
------------------------+---------------------------------------------------
Sound works fine on a ubuntu maverick system. The following error log is
on a debian system, in a virtualbox machine, that didn't have pulseaudio
installed. It was installed with a simple 'apt-get install pulseaudio
libpulse-mainloop-glib0' where other dependencies are installed along with
it. On the debian system (derkins) log shown below, pulseaudio appears to
work with media programs such as VLC.
I've written a simple asynchronous tone-generating program which
interactively plays morse-code.
The log below is generated by the source code at:
http://morse-coach.svn.sourceforge.net/viewvc/morse-coach/trunk/morse-
coach/src/morse_sound.c?view=markup
The first buffer of sound is played (about 2 seconds), but after the first
buffer runs-out the write_cb never gets called asynchronously but the
_underrun_cb does. Could this have to do with a problem with the default
prebuffer settings on this system? I'm not setting prebuffer in my
source.
You will notice (at the end of Mar 20 22:19:26) the stream gives a 'died'
message before its even reached the connected state.
--
Ticket URL: <http://pulseaudio.org/ticket/923>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list