Re: Fwd: [Alsa-user] Recording spdif/iec958 on ice1724 terratec aureon 7.1 space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Takashi Iwai wrote:
> At Tue, 20 Jun 2006 17:46:26 +0100,
> Ian Malone wrote:
>> Takashi Iwai wrote:
>>> At Tue, 20 Jun 2006 08:51:02 +0100,
>>> Ian Malone wrote:
>>>> That's it!  Thanks very much.
>>>> I had to use alsactl restore to make the change though;
>>>> toggling the IEC958 capture source in alsamixer doesn't
>>>> seem to have any effect.
>>>> Anyway, working nicely now, thanks again.
>>> "IEC958 capture switch" should exist independently from "IEC958
>>> capture source".  There might some confliction in the mixer
>>> abstraction.  Could you show the output of amixer?
>>>
>>>
>>
>> Attached.
> 
> (snip)
> 
>> Simple mixer control 'IEC958',0
>>   Capabilities: cswitch cswitch-joined enum
>>   Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'
>>   Item0: 'PCM Out'
> 
> OK, the problem is the confliction of "IEC958 Playback Route" and
> "IEC958 Capture Switch".
> 
> We need to fix either mixer layer or rename it, e.g. from "Playback
> Route" to "Playback Source".
> 
> The patch below (for alsa-lib) is a temporary workaround to add the
> automatic toggle of "IEC958 Capture Switch" over iec958 (spdif) PCM.
> This makes the spdif recording working even without the fix suggested
> in the above.
> 
> Please try the patch, and once turn off "IEC958 Capture Switch"
> manually (via alsactl store and restore), then record via "spdif" PCM,
> such as
> 	% arecord -Dplug:spdif -fdat foo.wav
> 
> If it's confirmed to work, I'll commit to HG repo.
> 
> 

Works here (except that setting HW 1&2 to IEC958 will still only
send SPDIF in directly to the speakers if IEC958 Capture Switch
is turned on in asound.state, although I'm not sure whether
that's by design, but recording works).

-- 
imalone

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux