hi,
go
cat /proc/asound/devices
one of those digital audio playback devices is spdif
and one is analog
so for instance if one says
19: [0- 3]: digital audio playback
try that device with
aplay -D hw:0,3 file.wav
do this trial and error til you get the spdif output
so now you know the device number
so then just as an example if it was the one above (3)
i can't test before i type (sorry)
in reality like all code it would take me a while to get this right
i also don't really understand the first two pcm.rename because my card doesn't need those
so it may not be apropriate to add the line device to those so i left them commented out
i think try this
Code:
pcm.ice1724 {
type hw
card 0
#device 3
}
ctl.ice1724 {
type hw
card 0
#device 3
}
pcm.!default {
type plug
slave.pcm "spdifer"
}
pcm.spdifer {
type spdif
ipc_key 1024
slave {
pcm "hw:0,3"
}
}