On Mon, 2006-02-27 at 21:58 +1100, Jason White wrote:
As mentioned earlier, my initial goal is to be able to
play a stereo sound
file (e.g., a wav file) via the first two ADAT channels of the first ADAT
interface on the Digi9652.
If I run
aplay -D hw:1,0 file.wav
I get:
aplay: set_params:891: Access type not available
I suspect that some kind of data format conversion may be necessary to yield
correct output but I'm not sure. Also, I searched the WEb for the above error
message but wasn't able to find any information.
aplay -D plughw:1,0 file.wav
this will actually put the output across all outputs, but it should
accomplish most of what you want. to get just the first two channels,
you will need to investigate the mysteries of the .asoundrc file and the
"route" ALSA "plugin".
ALSA "hw" devices are restricted to only formats that the underlying h/w
supports; in this case, 26 channels of mono, non-interleaved, 24 bits
packed into 32 bit samples.
--p