|
Edited by kris777 at 2020-6-13 21:01
Orange Pi zero DAC https://sites.google.com/site/or ... rangepi-one/dac-i2s
I checked on my OrangePi Lite ... it works great ! (Allwinner H3 platform)
Configuring the system
go to boot folder
cd /boot
turn script.bin into fex file and edit
sudo bin2fex script.bin script.fex
sudo nano script.fex
Changes:
[twi1]
twi_used = 1
to
twi_used = 0
[pcm0]
daudio_used = 0
to
daudio_used = 1
Then save the file and
sudo fex2bin script.fex script.bin
And reboot.
.....................................
configuration and connection of GPIO bus pins ....diagram at the bottom of the post :-)
...................................................cat /proc/asound/cards
0 [audiocodec ]: audiocodec - audiocodec
audiocodec
1 [snddaudio ]: snddaudio - snddaudio
snddaudio
2 [sndhdmi ]: sndhdmi - sndhdmi
sndhdmi
....................................................................
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: snddaudio [snddaudio], device 0: SUNXI-TDM0 snddaudio-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
my DAC : PCM5102 DAC Decoder I2S
.................................................
mpd configuration:.................................
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:1,0" # optional
format "44100:16:2"
mixer_type "software" # optional
mixer_device "default" # optional
# mixer_control "PCM" # optional
# mixer_index "0" # optional
}
............................
forcing the use of 32 bits
................................
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:1,0"
format "192000:32:2"
}
..........................
und USB / DAC card works with the Armbian system :
PCM2706+ES9023 USB Portable DAC HIFI Fever External Audio Card Decoder For Amplifier AMP Mobile OTGAliexpress USB DAC
Orange Pi One & Lite as music streamers |
This thread contains more resources
You need to Log in to download or view,No account?
Register
x
|