#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 _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets