This gets a bit complicated. You need to do some reading on alsa config
files. The one for the Touch is /etc/asound.conf. That file redefines
default to be virtual card which sends the same stream to the S/PDIF
and DAC devices. 

IF your USB DAC accepts 24 bit data all you really need to do to get
music to play is rename the asound.conf file and it WILL go to the USB
DAC. If the DAC only accepts 16 bit data you need to use the "plug"
interface which will convert the 24 bit to 16 bit. This is done in the
asound.conf file. If you really want a challange look up the
documentation and figure out how to make a plug device from the
"default" card and assign this to be the default. This is rather
confusing, you have the USB DAC which has a card name of "default",
which you can use in the definition of a stream named "default". If you
don't do anything special these are the same, but you CAN separate them.


The following should work:

pcm.usb {
type hw;
card "default"
}

pcm.plugusb {
type plug;
slave.pcm "usb"
}

pcm.!default "plugusb"

Note that if your USB DAC winds up with a card name other than
"default" you will have to modify this.

before making ANY changes please backup the original asound.conf:

cd /etc
mv asound.conf asound_orig.conf
vi asound_usb.conf
(edit the new file)
cp asound_usb.conf asound.conf
sync

reboot

Its easiest to just reboot at this point. That should do it.

You should have music over the USB DAC. But NOT over the analog outs or
S/PDIF. To figure out how to do THAT carefully study the existing
asound.conf and add the USB DAC to the virtual card.

John S.


-- 
JohnSwenson
------------------------------------------------------------------------
JohnSwenson's Profile: http://forums.slimdevices.com/member.php?userid=5974
View this thread: http://forums.slimdevices.com/showthread.php?t=77927

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to