Skip to content

Commit 1b66048

Browse files
takaswietiwai
authored andcommitted
ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
Alesis iO 26 FireWire has two pairs of digital optical interface. It delivers PCM frames from the interfaces by second isochronous packet streaming. Although both of the interfaces are available at 44.1/48.0 kHz, first one of them is only available at 88.2/96.0 kHz. It reduces the number of PCM samples to 4 in Multi Bit Linear Audio data channel of data blocks on the second isochronous packet streaming. This commit fixes hardcoded stream formats. Cc: <[email protected]> Fixes: 28b208f ("ALSA: dice: add parameters of stream formats for models produced by Alesis") Signed-off-by: Takashi Sakamoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent f2be77f commit 1b66048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/firewire/dice/dice-alesis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ alesis_io14_tx_pcm_chs[MAX_STREAMS][SND_DICE_RATE_MODE_COUNT] = {
1616
static const unsigned int
1717
alesis_io26_tx_pcm_chs[MAX_STREAMS][SND_DICE_RATE_MODE_COUNT] = {
1818
{10, 10, 4}, /* Tx0 = Analog + S/PDIF. */
19-
{16, 8, 0}, /* Tx1 = ADAT1 + ADAT2. */
19+
{16, 4, 0}, /* Tx1 = ADAT1 + ADAT2 (available at low rate). */
2020
};
2121

2222
int snd_dice_detect_alesis_formats(struct snd_dice *dice)

0 commit comments

Comments
 (0)