[pulseaudio-tickets] [PulseAudio] #431: module-alsa-(sink|source) eats all CPU (100%)
PulseAudio
trac-noreply at tango.0pointer.de
Tue Dec 9 06:50:29 PST 2008
#431: module-alsa-(sink|source) eats all CPU (100%)
----------------------------+-----------------------------------------------
Reporter: verem | Owner: lennart
Type: defect | Status: new
Priority: high | Milestone:
Component: module-alsa-* | Severity: normal
Resolution: | Keywords: 100% CPU
----------------------------+-----------------------------------------------
Comment (by verem):
Replying to [comment:3 lennart]:
> aplay doesn't use poll() on the fds in question. PA makes use of a much
larger set of ALSA API functions than aplay. If something works in aplay
it doesn't mean the driver works completely correctly.
i just tested agains test/pcm.c (http://git.alsa-project.org/?p=alsa-
lib.git;a=blob_plain;f=test/pcm.c;hb=HEAD) in different modes:
./pcm -m write
./pcm -m write_and_poll
./pcm -m async
no problems at all, i hear a tone, CPU load approx 4% on PII266Mhz.
could you post modified test/pcm.c exaclty with same method used in $subj
to check your idea?
--
Ticket URL: <http://www.pulseaudio.org/ticket/431#comment:4>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list