Difference between revisions of "GBZ Usb DAC"
From sudomod
(Created page with "== USB DAC == 250px Instead of using PWM audio via the Rpi GPIO pins (in case of using the Zero board) another option is...") |
|||
Line 8: | Line 8: | ||
To save space the USB connector can be removed so it can be directly connected to the Zero board | To save space the USB connector can be removed so it can be directly connected to the Zero board | ||
or via a USB hub. | or via a USB hub. | ||
+ | |||
+ | You may need to change the default audio device in order to make the sound play via the USB DAC. | ||
+ | Just edit/create a file called '''/etc/asound.conf''' and insert this: | ||
+ | |||
+ | |||
+ | pcm.!default { | ||
+ | type hw | ||
+ | card <number of your card> | ||
+ | } | ||
+ | ctl.!default { | ||
+ | type hw | ||
+ | card <number of your card> | ||
+ | } | ||
+ | |||
+ | You can check if it should work when you start alsamixer, it should show your usb audio device by default. |
Latest revision as of 14:16, 20 May 2016
USB DAC
Instead of using PWM audio via the Rpi GPIO pins (in case of using the Zero board) another option is using a USB DAC, available here.
To save space the USB connector can be removed so it can be directly connected to the Zero board or via a USB hub.
You may need to change the default audio device in order to make the sound play via the USB DAC. Just edit/create a file called /etc/asound.conf and insert this:
pcm.!default { type hw card <number of your card> } ctl.!default { type hw card <number of your card> }
You can check if it should work when you start alsamixer, it should show your usb audio device by default.