Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Alsa SPDIF volume control of analog sound
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
FearlessSpiff
n00b
n00b


Joined: 26 Sep 2004
Posts: 69

PostPosted: Tue Oct 10, 2006 1:56 pm    Post subject: [Solved] Alsa SPDIF volume control of analog sound Reply with quote

Hi

I managed to get sound output on my SPDIF for AC3 *and* normal analog sound. Now it is clear to me, that i cannot control the volume of an AC3 stream, but it should be possible with all others (i.e. mp3 sound...). At least it is in Winblows. What should i do? I tried every mixersetting in alsamixer but nothing seems to change the volume of the sound...

Thanks


Last edited by FearlessSpiff on Mon Oct 16, 2006 2:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Tue Oct 10, 2006 10:43 pm    Post subject: Reply with quote

There is SPDIF data mode (this is what AC3 uses) and there is SPDIF audio mode (what most everything else uses). Neither is analog, both are digital, and hence neither have volume control, at least not within the sound card.
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
FearlessSpiff
n00b
n00b


Joined: 26 Sep 2004
Posts: 69

PostPosted: Wed Oct 11, 2006 6:51 am    Post subject: Reply with quote

Ahh, but then why when adjusting the volume in mplayer or xine or mythtv nothing happens?
And: Is the alsamixer only adjusting volumes on the card or is this software based? In fact: Why does this work in Windows? What is the difference between the mixer in Windows and in Linux?
I am sure it should be possible to somehow adjust the audio mode of SPDIF on Linux, just trying to figure out how...
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Sat Oct 14, 2006 2:45 am    Post subject: Reply with quote

Quote:
Ahh, but then why when adjusting the volume in mplayer or xine or mythtv nothing happens?


Uh... thats what I just said would happen.

Quote:
And: Is the alsamixer only adjusting volumes on the card or is this software based? In fact: Why does this work in Windows? What is the difference between the mixer in Windows and in Linux?
I am sure it should be possible to somehow adjust the audio mode of SPDIF on Linux, just trying to figure out how...


With windows, anything could be happening. It totally depends on what was programmed into the interface. Alsa only deals with hardware, except for the alsa plugins of course. So it is only adjusting volumes on the card, which in turn has no effect on digital outputs. Attenuators only work on analoge output. Yes it is possible to have volume control on digital signals, but I've never seen that on a consumer audio card. The reason is because if you have a digital output, it will be sent to an external device with a DAC somewhere and that is where you set the volume.

Some media players try to use the hardware volume control while other media players use a software volume control (VLC for instance). In the case of a digital output, only the media players using a software based volume control would have any effect.
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
FearlessSpiff
n00b
n00b


Joined: 26 Sep 2004
Posts: 69

PostPosted: Sun Oct 15, 2006 4:50 pm    Post subject: Reply with quote

I helped myself and bought an analog cable for stereo output... :-) So now everything is working, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum