Posts by lrusak


    Thanks, then I guess I just have to buy one and hope to be lucky.

    In your example in the wiki you use the analog output of you Amlogic box as sink right (aml_m8)? If I may ask: what device do you have and what is the output of pactl list short sinks?

    The device used for the wiki page was the Wetek Hub.

    Code
    LibreELEC:~ # pactl list short sinks
    1    alsa_output.platform-aml_m8_snd.45.analog-stereo    module-alsa-card.c    s32le 2ch 44100Hz    IDLE

    Last question (I promise): all this got me wondering about one last thing regarding Amlogic S905 devices with an S/PDIF output. Is the S/PDIF device a separate ALSA sink that I can configure as the default sink with pactl while at the same time giving Kodi full access to the HDMI output so I can achieve what I described above with an Amlogic S905 with built in Bluetooth and S/PDIF out without any additional peripherals, that would be really cool. Or would I still need an external USB sound card on those devices to use as an ALSA sink for my Bluetooth A2DP music streams?

    As long as the devices are separate it should be possible. Some amlogic devices show the s/pdif and hdmi devices as one device.
    [hr]
    For other people interested in this I have included a wiki post here

    Pulseaudio - LibreELEC

    worked for me, even with 00

    Code
    LibreELEC:~ # crontab -l
    00 15 * * * /storage/test.sh > /storage/test.output
    Code
    LibreELEC:~ # systemctl status cron
    Sep 30 15:00:00 LibreELEC crond[2473]: USER root pid 3670 cmd /storage/test.sh > /storage/test.output
    Code
    LibreELEC:~ # cat /storage/test.sh
    #!/bin/sh
    echo "Hello World!!!!"
    Code
    LibreELEC:~ # ls -l /storage/test.sh
    -rwxr-xr-x    1 root     root            34 Sep 30 14:58 test.sh
    Code
    LibreELEC:~ # cat /storage/test.output
    Hello World!!!!


    Very interesting, I hope it's alright that I revive this thread, I found it Googling.

    I assume this, A2DP music streaming to LibreELEC, is also possible with other devices, such as an RPi2 with Bluetooth dongle or an Amlogic s905 device with built in Bluetooth running LibreELEC? If so how do I find the proper module to enable (I assume snd-bcm2835 is just for RPi3) or do I have to find and download one myself or something?


    Only RPi devices will have to load the module because they use a special kodi sink that doesn't require the RPi to use ALSA audio. Other devices will work without loading any audio kernel module.


    If that first part is possible, then the next step is configuring the audio sink where the Bluetooth music is routed to. Would it be possible to use an external USB sound card for that? There are cheap PCM2704 DAC's available that have a S/PDIF output which are perfect (in theory) to route the audio without loss of quality to my sound receiver. Do I need a driver or anything to get the PCM2704 USB DAC / sound card working or should it work out of the box?


    Yes it's possible, however, remember that bluetooth audio is likely to be lossful audio.
    I'm not sure if that specific USB DAC will work OOTB


    And then lastly it would be great if this A2DP streaming can be done without interfering with Kodi at all. So is it possible to enable PulseAudio just for the external USB sound card in a way that it won't interfere with Kodi? Kodi should keep outputting it's sound normally over HDMI.


    Yes it is possible.

    Make sure to set your timezone in kodi, this will set the tz-data service.
    settings --> appearance --> international --> timezone.

    Also, you may want to enable the option "wait for network" in the LibreELEC settings add-on