« Osmc et casque audio bluetooth (draft) » : différence entre les versions

De Linux Server Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
 
(6 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<pre>apt-get install alsa-utils bluez bluez-tools pulseaudio-module-bluetooth python-gobject python-gobject-2</pre>
[[category:desktop]]
[[category:mediacenter]]
<pre>apt-get install alsa-utils bluez bluez-tools pulseaudio-module-bluetooth python-gobject python-gobject-2 libsbc1</pre>


Puis utilisez le programme "osmc settings", parti network, bluetooth
Puis utilisez le programme "osmc settings", parti network, bluetooth
Works ?
Works ?
/etc/pulse/default.pa
load-module module-udev-detect tsched=0


<pre>export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket</pre>
<pre>export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket</pre>
Ligne 16 : Ligne 21 :
     <allow own="org.pulseaudio.Server"/>
     <allow own="org.pulseaudio.Server"/>
   </policy>
   </policy>
</pre>
<pre>
pactl set-default-sink 1
pactl suspend-sink 1 0
pactl list sinks
</pre>
</pre>

Dernière version du 7 juillet 2017 à 04:21

apt-get install alsa-utils bluez bluez-tools pulseaudio-module-bluetooth python-gobject python-gobject-2 libsbc1

Puis utilisez le programme "osmc settings", parti network, bluetooth Works ?

/etc/pulse/default.pa load-module module-udev-detect tsched=0

export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket

/etc/dbus-1/system.d/pulseaudio-system.conf:

  <policy user="osmc">
    <allow own="org.PulseAudio1"/>
    <allow send_destination="org.PulseAudio1"/>
    <allow receive_sender="org.PulseAudio1"/>
  </policy>
  <policy user="osmc">
    <allow own="org.pulseaudio.Server"/>
  </policy>
pactl set-default-sink 1
pactl suspend-sink 1 0
pactl list sinks