From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: Michele Perrone <michele.perrone@weiss.ch>
Cc: Rolf Anderegg <rolf.anderegg@weiss.ch>, alsa-devel@alsa-project.org
Subject: Re: MAN301 internal routing (Re: [PATCH] ALSA: dice: add stream format parameters for Weiss devices)
Date: Wed, 28 Feb 2024 08:54:46 +0900 [thread overview]
Message-ID: <20240227235446.GA70770@workstation.local> (raw)
In-Reply-To: <17a48bbd-6b2c-4977-89f8-03f3385d3a56@weiss.ch>
Hi Michele,
Thanks for your reply.
On Mon, Feb 26, 2024 at 05:06:12PM +0100, Michele Perrone wrote:
> You are correct about the available input and outputs, but I'm not sure that
> I understand your routing scheme very well.
>
> * The currently active digital input can be selected with "Digital
> Input Capture Route", like this:
> o AES/EBU: amixer -c 0 cset numid=3,iface=MIXER,name='Digital
> Input Capture Route' 0
> o S/PDIF RCA: amixer -c 0 cset numid=3,iface=MIXER,name='Digital
> Input Capture Route' 1
> o S/PDIF toslink: amixer -c 0 cset
> numid=3,iface=MIXER,name='Digital Input Capture Route' 2
> When playing sound from stream input, it doesn't make any
> difference which one the above is currently selected.
> * The clock can be selected independently from the current input with
> AV/C [1].
> * The 2-channel output can be routed to all the digital and analog
> outputs simultaneously (but analog outputs are only available if the
> DAC is connected).
> One can choose which outputs are active or not with the "Output
> Playback Switch":
> o AES/EBU on: amixer -c 0 cset numid=6,iface=MIXER,name='XLR::XLR
> Output Playback Switch' 1
> AES/EBU off: amixer -c 0 cset numid=6,iface=MIXER,name='XLR::XLR
> Output Playback Switch' 0
> o S/PDIF RCA on: amixer -c 0 cset
> numid=7,iface=MIXER,name='RCA::RCA Output Playback Switch' 1
> S/PDIF RCA off: amixer -c 0 cset
> numid=7,iface=MIXER,name='RCA::RCA Output Playback Switch' 0
> o DAC on: amixer -c 0 cset numid=10,iface=MIXER,name='DAC::DAC
> Output Playback Switch' 1
> DAC off: amixer -c 0 cset numid=10,iface=MIXER,name='DAC::DAC
> Output Playback Switch' 0
> * There is no hardware mixer capability, i.e. the inputs cannot be
> routed directly to the outputs.
>
> Our preamp mode works like this:
>
> 1. A digital input source is selected with AV/C (Toslink, or RCA, or
> XLR), i.e. with "Digital Input Capture Route"
> 2. Clock input source is set to the same as audio input source with
> AV/C [1]
> 3. DICE clock rate is set to external clock rate [2]
> 4. A simple 2-channel ALSA loopback with digital volume control is
> created between input and output
>
> I hope this answers your questions, otherwise please let me know.
Hm. I'm sorry but it is still unclear that the destination of audio
signal in the IEEE 1394 isochronous packet arrived at your device
(precisely the source port in the router function of TCAT DICE chip).
It is Playback PCM channel in ALSA word, and depicted as
'stream-input-1/2' in my diagram for my convenience.
```
spdif-opt-input-1/2 ---+
spdif-coax-input-1/2 --(or)--> digital-input-1/2 -----------------> stream-output-1/2
aesebu-xlr-input-1/2 ---+ |
v
stream-input-1/2 --------------------(or)--+----------------------> spdif-coax-output-1/2
+----------------------> aesebu-xlr-output-1/2
+--analog-output-1/2 --> analog-xlr-output-1/2
+-----------> analog-coax-output-1/2
```
I assume that the actual source selection of 'digital-input-1/2' is done
in the router function of DICE chip as well as the selection between
'digital-input-1/2' and 'stream-input-1/2'. The mixer function of the
chip is not used as I expected, thus the selection should exist as the
source of audio signals for the outputs. However, in the above description,
I cannot find such selection.
Or the device has a fixed route between 'stream-input-1/2' and
'analog-{xlr,coax}-output-1/2'? The user can not hear the audio signal
of opt/coax/xlr digital input ports in the analog outputs?
Thanks
Takashi Sakamoto
next prev parent reply other threads:[~2024-02-27 23:55 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-28 9:16 [PATCH] ALSA: dice: add stream format parameters for Weiss devices Michele Perrone
2023-07-28 13:13 ` Takashi Sakamoto
2023-07-31 8:09 ` Michele Perrone
2023-07-31 14:06 ` Takashi Sakamoto
2023-08-08 8:34 ` Michele Perrone
2023-08-08 15:25 ` Takashi Sakamoto
2023-08-16 13:05 ` ALSA: dice: improve support " Michele Perrone
2023-08-18 13:13 ` Takashi Sakamoto
2023-08-18 13:23 ` Michele Perrone
2023-08-22 13:58 ` Takashi Sakamoto
2023-08-31 13:28 ` Takashi Sakamoto
2023-09-04 16:00 ` Rolf Anderegg
2023-09-05 1:20 ` Takashi Sakamoto
2023-09-05 8:57 ` Rolf Anderegg
2023-09-05 23:54 ` INT203 and DAC1 (Re: [PATCH] ALSA: dice: add stream format parameters for Weiss devices) Takashi Sakamoto
2023-09-16 9:18 ` Michele Perrone
2023-09-17 2:55 ` Takashi Sakamoto
2023-09-18 13:19 ` MAN301 external clock issues " Michele Perrone
2023-09-19 14:09 ` Takashi Sakamoto
2024-01-21 14:07 ` MAN301 internal routing " Takashi Sakamoto
2024-01-21 14:30 ` Takashi Sakamoto
2024-02-15 12:04 ` Takashi Sakamoto
2024-02-26 16:06 ` Michele Perrone
2024-02-27 23:54 ` Takashi Sakamoto [this message]
2024-02-28 8:14 ` Rolf Anderegg
2024-02-28 8:32 ` Rolf Anderegg
2024-02-28 23:28 ` Takashi Sakamoto
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=20240227235446.GA70770@workstation.local \
--to=o-takashi@sakamocchi.jp \
--cc=alsa-devel@alsa-project.org \
--cc=michele.perrone@weiss.ch \
--cc=rolf.anderegg@weiss.ch \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).