09-30-2018, 03:04 PM
Hi,
I'm working on refresh an old vintage radio.
I put in it a raspberry PI3 with an Hifiberry AMP2 card and Moode Software. Moode is a very nice soft meeting quite all my requirements (I tried before Picoreplayer and Volumio but Moode is better for my needs).
I can ply music files store on my Nas via Squeezelite (LMS is inatalled on the NAS).
I can stream music from my android devices.
Now I want to add a new functionality : read music from MP3 devices without bluetooth so via an audio jack connection.
As the rpi don't have an input audio jack, I install another USB audio card with 2 jacks (one output for headphones or speaker and an input microphone entry). So I'd like to connect my MP3 device via that input micro entry and redirect sound to the Hifiberry card.
I try that with an alsa configuration via /etc/asound.conf file) :
here is my configuration :
But it won't work.
How must I proceed to work ?
I'm working on refresh an old vintage radio.
I put in it a raspberry PI3 with an Hifiberry AMP2 card and Moode Software. Moode is a very nice soft meeting quite all my requirements (I tried before Picoreplayer and Volumio but Moode is better for my needs).
I can ply music files store on my Nas via Squeezelite (LMS is inatalled on the NAS).
I can stream music from my android devices.
Now I want to add a new functionality : read music from MP3 devices without bluetooth so via an audio jack connection.
As the rpi don't have an input audio jack, I install another USB audio card with 2 jacks (one output for headphones or speaker and an input microphone entry). So I'd like to connect my MP3 device via that input micro entry and redirect sound to the Hifiberry card.
I try that with an alsa configuration via /etc/asound.conf file) :
Code:
pi@moode:/etc/init.d $ cat /etc/asound.conf
pcm.!default {
type asym
playback.pcm "plughw:0,1"
capture.pcm "plughw:1"
}
ctl.!default {
type hw
card 0
}
here is my configuration :
Code:
pi@moode:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@moode:/etc/init.d $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
But it won't work.
How must I proceed to work ?