Comment 11 for bug 40732

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

I've finally tested this on my old 4.1 sound card and I've come up against the same problems. First off I can confirm that I never hear anything out of the rear speakers using totem-gstreamer. Secondly I can't get gst-launch-0.10 to do the right thing with a multichannel wav (compared to the output produced by aplay). I shall spin this second issue off into a bug of its own so lets focus on the first issue here.

Description of the problem:
Totem-gstreamer doesn't output sound through the rear speakers despite the audio output being set to 4-channel/4.1-channel/5.0-channel/5.1-channel .

Steps to reproduce:
(assuming you have a working surround soundcard with 4 or more speakers correctly attached)
1. Disconnect your front speakers.
2. Run
speaker-test -Dsurround41 -c 4 -twav
Note that "Rear Right" "Rear Left" are announced through the rear right and rear left speakers respectively.
3. Download and extract
ftp://ling.lll.hawaii.edu/pub/greg/Surround-SDL-testfiles.tgz
4. Run
aplay -Dsurround41 Surround-SDL-testfiles/chan-id.wav
Note how "Rear Left" "Rear Right" are announced through the rear left and rear right speakers respectively.
5. Start totem .
6. Go to Edit -> Preferences. Select the Audio tab and change the Audio output type to 4.1-channel. Click close.
7. Go to Movie -> Open and select Surround-SDL-testfiles/chan-id.wav . Click add.

Expected results:
Audio file to start play. "Rear Left" "Rear Right" are announced through the rear left and rear right speakers respectively.

Actual results.
Audio file to starts playing. No sound is heard at all.

How reproducible is the problem?
The problem is reproducible every time.

Additional information:
Soundcard is a 4.1 Creative Labs SB Live! EMU10k1 (rev 07)
gst-launch-0.10 filesrc location=Surround-SDL-testfiles/chan-id.wav ! wavparse ! audioconvert ! audio/x-raw-int, channels=6 ! alsasink device=surround41
produces sound but not the correct sound compared to aplay. It announces "Centre" from the rear left speaker and "Rear Left/Rear Right" simultaneously from the right hand speaker.

Version information:
Ubuntu Feisty
totem 2.18.1-0ubuntu3
totem-gstreamer 2.18.1-0ubuntu3
gstreamer0.10-plugins-good 0.10.5-1ubuntu2