GNOME Bugzilla – Bug 562745
no sound using oss plugin on ezx
Last modified: 2011-05-19 09:10:42 UTC
Please describe the problem: "gst-launch audiotestsrc ! osssink" opens device ("/dev/dsp") and writes a lot of 0x00 to it unstead of sound data. "gst-launch audiotestsrc ! filesink location=/dev/dsp" writes data (not 0x00) but sound is ugly. any other sources also produce a lot of 0x00. Steps to reproduce: 1. run "gst-launch audiotestsrc ! osssink" on motorola ezx Actual results: no sound Expected results: Does this happen every time? yes Other information: kernel 2.4.20, motorola a1200 (and other ezx). other oss software (mpd, qtopia) works well.
Did you make any progress with this? I'd think the most likely cause is that you're flooding the CPU because audiotestsrc uses float operations to generate the sine wave it outputs. Try audiotestsrc wave=7 ! osssink
same behavior with wave=7: zeros to dsp, sound to file. cpu load is near 20% in both cases. >you're flooding the CPU because audiotestsrc uses float operations to generate the sine wave it outputs. ezx uses patched glibc with iwmmx-specific softfloat (not via illegal instruction faults in kernel). and i have same problem with real sources, not only with audiotestsrc
Dropping the blocker flag from this bug - it's not a blocker for us unless it's a regression. The only reason I can think of why osssink writes 0 is still that the writer thread is not receiving data quickly enough. It's hard to say more without either a debug log or access to the platform.
Let's close this as incomplete then