Discussion:
5.1-channel sound on 8-STABLE, snd_hda
(too old to reply)
Mikle Krutov
2010-01-23 15:26:40 UTC
Permalink
Hello, list!
I've got MSI mb 760GTM-P33 with ATI hd audio chip (pciconf shows '
device = 'IXP SB600 High Definition Audio Controller'').
5.1 sound worked on 8.0-RELEASE (sound was on every channel, but i
could not change vol per-channel, only globally), and after updating
to -STABLE - i've got only 2 channels working.
Any ideas about that?
Mikle Krutov
2010-01-23 20:27:12 UTC
Permalink
So, i've found post in the list, and configured channels via sysctl.
But, one more question - can i somehow have stereo (not 5.1, i mean,
but just like in -RELEASE) sound playing on all of my speakers?
It would be perfect if i could configure it not for the whole system,
but just for some apps (e.g my music player)
Post by Mikle Krutov
Hello, list!
I've got MSI mb 760GTM-P33 with ATI hd audio chip (pciconf shows '
device = 'IXP SB600 High Definition Audio Controller'').
5.1 sound worked on 8.0-RELEASE (sound was on every channel, but i
could not change vol per-channel, only globally), and after updating
to -STABLE - i've got only 2 channels working.
Any ideas about that?
Alexander Motin
2010-01-23 21:14:11 UTC
Permalink
Hi.
Post by Mikle Krutov
I've got MSI mb 760GTM-P33 with ATI hd audio chip (pciconf shows '
device = 'IXP SB600 High Definition Audio Controller'').
5.1 sound worked on 8.0-RELEASE (sound was on every channel, but i
could not change vol per-channel, only globally), and after updating
to -STABLE - i've got only 2 channels working.
Any ideas about that?
Previously you had 2 channels of stereo playback duplicated to every
channel pair of your 5.1 system. Now real multichannel support added to
snd_hda, so all excessive duplication was removed.

Now you should just configure vchans for your speakers setup by setting
dev.pcm.X.play.vchanformat sysctls and you will get _real_ multichannel
sound.
--
Alexander Motin
Mikle Krutov
2010-01-23 22:48:08 UTC
Permalink
So, i've already configured it for playing real 5.1 sound with real
5.1 sound files, but i've got no duplication of sound with stereo
files - but i want it (they've sounded better with my rear &
sub-speakers, even through they are not 5.1). Could i somehow set it,
not globally, but only for some applications? What man page i should
refer to?
Post by Alexander Motin
Hi.
Post by Mikle Krutov
I've got MSI mb 760GTM-P33 with ATI hd audio chip (pciconf shows '
device = 'IXP SB600 High Definition Audio Controller'').
5.1 sound worked on 8.0-RELEASE (sound was on every channel, but i
could not change vol per-channel, only globally), and after updating
to -STABLE - i've got only 2 channels working.
Any ideas about that?
Previously you had 2 channels of stereo playback duplicated to every
channel pair of your 5.1 system. Now real multichannel support added to
snd_hda, so all excessive duplication was removed.
Now you should just configure vchans for your speakers setup by setting
dev.pcm.X.play.vchanformat sysctls and you will get _real_ multichannel
sound.
--
Alexander Motin
Alexander Motin
2010-01-23 22:53:00 UTC
Permalink
Post by Mikle Krutov
So, i've already configured it for playing real 5.1 sound with real
5.1 sound files, but i've got no duplication of sound with stereo
files - but i want it (they've sounded better with my rear &
sub-speakers, even through they are not 5.1). Could i somehow set it,
not globally, but only for some applications? What man page i should
refer to?
AFAIK there is no such option in sound(4). May be it is possible to do
it via hacking mixing matrices, but the are hardcoded and I haven't
tried to do it.

MPlayer has own stream redirection/duplication control.
--
Alexander Motin
Loading...