From: Ian Malone <ibmalone@gmail.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: Fwd: [Alsa-user] Recording spdif/iec958 on ice1724 terratec aureon 7.1 space
Date: Thu, 22 Jun 2006 17:17:00 +0100 [thread overview]
Message-ID: <449AC27C.1000403@gmail.com> (raw)
In-Reply-To: <s5hzmg5baii.wl%tiwai@suse.de>
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
prev parent reply other threads:[~2006-06-22 16:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-19 14:40 Fwd: [Alsa-user] Recording spdif/iec958 on ice1724 terratec aureon 7.1 space Ian Malone
2006-06-19 16:26 ` Takashi Iwai
2006-06-19 23:38 ` Ian Malone
2006-06-19 23:55 ` Lee Revell
2006-06-20 7:51 ` Ian Malone
2006-06-20 10:00 ` Takashi Iwai
2006-06-20 16:46 ` Ian Malone
2006-06-22 13:11 ` Takashi Iwai
2006-06-22 13:40 ` Ian Malone
2006-06-22 13:44 ` Takashi Iwai
2006-06-22 16:17 ` Ian Malone [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=449AC27C.1000403@gmail.com \
--to=ibmalone@gmail.com \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.