8000 a2dp-app-osmc suggested changes · Issue #505 · osmc/osmc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

a2dp-app-osmc suggested changes #505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ChessSpider opened this issue May 4, 2019 · 1 comment
Open

a2dp-app-osmc suggested changes #505

ChessSpider opened this issue May 4, 2019 · 1 comment

Comments

@ChessSpider
Copy link
ChessSpider commented May 4, 2019

Hi! Finally installed a2dp-app-osmc. I had to make some changes in order to make it play nicely with my retrosmc/emulationstation/retropie installation besides it.
I changed the following:

in file: /etc/pulse/client.conf (makes pactl work):

default-server = /var/run/pulse/native

In file /etc/pulse/daemon.conf (fixes audio / emulationstation buffer underruns; source: https://bbs.archlinux.org/viewtopic.php?id=185736 ):

default-fragments = 5
default-fragment-size-msec = 2

in file /etc/pulse/system.pa':

load-module module-cli-protocol-unix

(This enables the use of pacmd command. Example:

osmc@osmc:~$ sudo su
root@osmc:/home/osmc# export PULSE_RUNTIME_PATH=/var/run/pulse
root@osmc:/home/osmc# pacmd
Welcome to PulseAudio 10.0! Use "help" for usage information.
>>> ^C

However, you're advised against doing this due to security reasons. Just like you're advised against running pulseaudio systemwide.. but this is not really a problem in single-user htpc scenarios)

I also changed the following settings in /etc/pulse/daemon.conf:

high-priority = yes
nice-level = -11
exit-idle-time = -1
flat-volumes = no
default-sample-rate = 48000
resample-method = speex-float-5

default-sample-rate to 48000 as that is default of emulationstation, and changd the resample-method.

Now I can play audio via bluetooth on osmc and play star wars rogue squadron on my rpi3b+ at the same time; yay!

@samnazarko
Copy link
Contributor

We found some regressions from running PulseAudio in system-wide mode.
You should be able to use the ALSA sink (bcm2835-alsa) on Pi and the Pulse sink simultaneously for dual audio output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0