Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th March 2008, 06:07 PM
alarm9k Offline
Registered User
 
Join Date: Jan 2008
Location: Russia
Posts: 109
Question ALSA, pulseaudio and 5.1 surround

I have an Audigy2 sound card. I managed to create a pulseaudio sink with ALSA 'surround51'. Both PA volume control and PA manager indicate that I have a sink with 6 channels. But all applications still produce a stereo upmix and not a real 5.1 sound. For example Mplayer produces a stereo from 5.1 movie and copies the sound to the rear speakers. Stereo mp3s in Amarok are also played in all speakers, being duplicated from front to rear. Playback streams appear with only 'front left' and 'front right' volume sliders, no matter how many channels the sound file has.

How do I force the applications to produce a real 5.1 sound -- if it's stereo, then being played only in front left and front right? If it's a 5.1 movie than having each track in its respective speaker.

Here is what I have.
/etc/alsa/pulse-default.conf:
Code:
pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

# Let's make it the default!

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}
/etc/pulse/default.pa
Code:
load-module module-alsa-sink device=surround51
load-module module-alsa-source device=hw:0
Just to mention that ALSA surround51 is a perfectly working device. I can successfully run speaker-test and I have a working 5.1 surround in Doom3 (after a bit of channel rerouting).

Amarok and Mplayer are configured to use 'pulseaudio' output plugin rather than ALSA.

EDIT: Here's an update. I found how to disable upmixing in /etc/pulse/daemon.conf but applications still produce only 2 channels of sound

Last edited by alarm9k; 11th March 2008 at 08:52 PM. Reason: Update
Reply With Quote
  #2  
Old 12th March 2008, 04:29 PM
alarm9k Offline
Registered User
 
Join Date: Jan 2008
Location: Russia
Posts: 109
Update: guys from #pulseaudio irc channel told me that this is a problem with the application, not the sound server.

For those who want to know. The proper way to start mplayer to produce true 5.1 audio thru pulseaudio is:
Code:
gmplayer -ao pulse -channels 6
Sort of solved.
Reply With Quote
Reply

Tags
alsa, pulseaudio, surround

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pulseaudio surround with a52 (Dolby Digital) msilveira Using Fedora 1 14th December 2010 01:00 PM
HOWTO: Fedora 11 - Surround Sound w/ Pulseaudio Picomp314 Guides & Solutions (No Questions) 6 24th August 2009 02:25 PM
ALSA: Upmixing line-in to Surround 5.1 GCFreak Using Fedora 1 21st February 2009 02:09 PM
SB Audigy 2 value, Alsa surround 5.1 ? neubus Using Fedora 1 5th January 2006 07:08 AM


Current GMT-time: 23:07 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat