USB amp as audio input

  • Hello,

    I am new to LibreELEC (on a Raspberry Pi 3) and I have the following question:

    I have a record player which is amplified by a USB amplifier (Texas Instrumemts PCM2094 Audio Codec). This USB amplifier is connected to my Raspberry Pi. A lsusb command shows that the device is connected.
    Now, I would like to play my disc records but unfortunately, it does not work. It seems that LibreELEC doesn't recognizes the USB amplifier as an audio input out of the box. And I also don't know how to pipe the audio input to the audio output to hear the music.

    I know that the USB amplifier works fine under Linux because I use it with debian. There I just have to type "pactl load-module module-loopback" and everything works fine.

  • load-module module-loopback

    Thank you for your answer. I put it in the config.txt and rebooted.

    But even after "pactl load-module module-loopback" I can hear nothing.

    Btw sound works with all other things (Youtube, Radio, etc...)

  • Ok, since I am not able to solve it, here are the outputs:

    How can I find the right sink now?

  • I don't see the device there at all. You will probably have to load the correct overlay for the device you are using.

    Does the device show up in alsa output?

    Code
    aplay -l

    Then you can load the pulse audio udev module.

    Code
    pactl load-module module-udev-detect

    Then the device might show up in pulseaudio

  • Aha, thank you. The card is indeed listed now (card 2):

    And after "pactl load-module module-udev-detect" it is now also listet in pactl:

    Unfortunately I can still not hear the record player. Moreover after "pactl load-module module-udev-detect" the sound output is totally distorted and noisy. So I had to unload the module-udev-detect again.

    I think there is still something wrong with the input and output settings. Regarding the aplay list, I need card 1 for the sound output and card 2 as the sound input source. Moreover the sound input should be directed to the output.