#829: Default pulseaudio resampler (speex-float-3) sometimes too expensive? ---------------------+------------------------------------------------------ Reporter: sitsofe | Owner: lennart Type: defect | Status: new Milestone: | Component: daemon Keywords: | ---------------------+------------------------------------------------------ Description of the problem:[[BR]] Sometimes the default resampler is so expensive it causes pulseaudio to be killed off. By default a cheaper resampler (speex-float-2) could be used to prevent somewhat fast machines running into this issue.
Steps to reproduce:[[BR]] 1. Download http://samples.mplayerhq.hu/A-codecs/wavpcm/8_Channel_ID.wav .[[BR]] 2. Run gst-launch-0.10 filesrc location=8_Channel_ID.wav ! decodebin ! audioconvert ! audioresample ! pulsesink Expected result:[[BR]] To hear someone speaking out of the stereo laptop speakers. Actual result:[[BR]] If pulse is running with realtime permissions nothing is heard on a on a laptop with two 1.83GHz CPUs running Fedora 13. A laptop with a single 900Mhz (so 0.9Ghz) CPU running Ubuntu 10.04 shows the same issue. If pulseaudio is running without realtime permissions it doesn't die but no sound is heard. How reproducible is the bug?[[BR]] It is reproducible every time. Additional information:[[BR]] Running[[BR]] gst-launch-0.10 filesrc location=8_Channel_ID.wav ! decodebin ! audioconvert ! audioresample ! audio/x-raw-int, rate=44100 ! pulsesink[[BR]] works on both machines. Running[[BR]] echo "extra-arguments=--log-target=syslog --resample-method=ffmpeg" >> ~/.pulse/client.conf[[BR]] pulseaudio -k[[BR]] also resolves the problem on both machines. For pulseaudio to produce sound on the 1.83GHz machine speex-float-2 would probably have to be selected. For the 900Mhz machine to work speex-float-1 sometimes works but sometimes fails. As the 900Mhz machine is quite slow by today's standards I would like to suggest speex-float-2 as the default resampling format. Bugs that might be related to this are https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/532586 (also see https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/532586/comments/22 ) and https://bugzilla.redhat.com/show_bug.cgi?id=583785 (and the bug mentioned within). Version information:[[BR]] Fedora 13 x86_64[[BR]] Ubuntu 10.04 32bit -- Ticket URL: <http://pulseaudio.org/ticket/829> 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