Posts by kodi_dude

    kodi_dude

    Chrome/Spotify stops Pulseaudio, so you'll need to create asound.conf as explained on the first page.

    If you want to use Chrome with Pulseaudio you need to run this command through SSH:

    /storage/.config/usepulse

    I think you need to set the default audio output like this as well.

    Thank you a lot for your fast reply. I already figured that I had to edit asound.conf somehow. My problem is, I do not know which device I have to insert there for pulse audio. Using aplay -L only lists the alsa devices.

    Also, the command /storage/.config/usepulse is not found. Is usepulse supposed to be an executable inside .config? For me at least it's not there.

    So the only thing I've change so far is to add pactl load-module module-udev-detect (and the other lines) to my autostart.sh, which enables the connect to my bt speakers on startup.

    BTW aplay -L shows the following output:

    Display Spoiler

    null

    Discard all samples (playback) or generate zero samples (capture)

    hdmi:CARD=HDMI,DEV=0

    HDA Intel HDMI, HDMI 0

    HDMI Audio Output

    hdmi:CARD=HDMI,DEV=1

    HDA Intel HDMI, HDMI 1

    HDMI Audio Output

    hdmi:CARD=HDMI,DEV=2

    HDA Intel HDMI, HDMI 2

    HDMI Audio Output

    hdmi:CARD=HDMI,DEV=3

    HDA Intel HDMI, HDMI 3

    HDMI Audio Output

    hdmi:CARD=HDMI,DEV=4

    HDA Intel HDMI, HDMI 4

    HDMI Audio Output

    sysdefault:CARD=PCH

    HDA Intel PCH, ALC283 Analog

    Default Audio Device

    front:CARD=PCH,DEV=0

    HDA Intel PCH, ALC283 Analog

    Front speakers

    surround21:CARD=PCH,DEV=0

    HDA Intel PCH, ALC283 Analog

    2.1 Surround output to Front and Subwoofer speakers

    surround40:CARD=PCH,DEV=0

    HDA Intel PCH, ALC283 Analog

    4.0 Surround output to Front and Rear speakers

    surround41:CARD=PCH,DEV=0

    HDA Intel PCH, ALC283 Analog

    4.1 Surround output to Front, Rear and Subwoofer speakers

    surround50:CARD=PCH,DEV=0

    HDA Intel PCH, ALC283 Analog

    5.0 Surround output to Front, Center and Rear speakers

    surround51:CARD=PCH,DEV=0

    HDA Intel PCH, ALC283 Analog

    5.1 Surround output to Front, Center, Rear and Subwoofer speakers

    surround71:CARD=PCH,DEV=0

    HDA Intel PCH, ALC283 Analog

    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

    pctl info shows this before starting spotify/chrome:

    Display Spoiler

    Server String: /var/run/pulse/native

    Library Protocol Version: 32

    Server Protocol Version: 32

    Is Local: yes

    Client Index: 7

    Tile Size: 65472

    User Name: root

    Host Name: LibKodi

    Server Name: pulseaudio

    Server Version: 10.0

    Default Sample Specification: s16le 2ch 44100Hz

    Default Channel Map: front-left,front-right

    Default Sink: bluez_sink.F5_05_B4_00_26_17.a2dp_sink

    Default Source: alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor

    Cookie: 7feb:dd29


    pactl info after starting spotify/chrome:

    Display Spoiler

    pactl info

    Connection failure: Connection refused

    pa_context_connect() failed: Connection refused


    Hey escalade,

    and thank you the great build! I have it running on the basic asus chromebox and it works nicely (so nice in fact that I sent a few € your way).

    I do have one small problem though: my audio is output via bluetooth (using pulse audio) which works nicely inside kodi.

    However, when using apps like chrome or spotify they do not account for these settings & I get no audio at all. Furthermore, starting them somehow messes up pulse audio and I have to restart the box to get working audio inside kodi again.

    In retroarch I could set the correct driver but I have no idea how to do that for chrome/spotify.

    Could anyone point me in the right direction how to do that?