diff options
author | Andrey Gusakov <andrey.gusakov@cogentembedded.com> | 2017-08-01 18:07:27 +0300 |
---|---|---|
committer | Andrey Gusakov <andrey.gusakov@cogentembedded.com> | 2017-08-01 18:08:09 +0300 |
commit | fe9f6409ddcf2ab13e190c0bd6b69332e25729bf (patch) | |
tree | 2e5143af63f3754e3f208d85513d31f2a873f84b /meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files | |
parent | faf087de91b0f28e244b004be1ac20fad99be26b (diff) |
Kingfisher: fixes for bluetooth audio
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files')
-rw-r--r-- | meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/pulseaudio-bluetooth.conf | 7 | ||||
-rw-r--r-- | meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system-mch.pa | 17 |
2 files changed, 20 insertions, 4 deletions
diff --git a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/pulseaudio-bluetooth.conf b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/pulseaudio-bluetooth.conf new file mode 100644 index 0000000..925b9b1 --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/pulseaudio-bluetooth.conf @@ -0,0 +1,7 @@ +<busconfig> + + <policy user="pulse"> + <allow send_destination="org.bluez"/> + </policy> + +</busconfig> diff --git a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system-mch.pa b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system-mch.pa index 52648d2..327bb44 100644 --- a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system-mch.pa +++ b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system-mch.pa @@ -59,15 +59,24 @@ load-module module-always-sink ### Enable positioned event sounds # load-module module-position-event-sounds -### Split multichannel card output to Bluetooth PCM and 5.1 +### Automatically load driver modules for Bluetooth hardware +.ifexists module-bluetooth-policy.so +load-module module-bluetooth-policy +.endif + +.ifexists module-bluetooth-discover.so +load-module module-bluetooth-discover +.endif + +### Split multichannel card output to Stereo and 5.1 # load-module module-remap-sink sink_name=Surround51 remix=no master=pcm3168a_output channels=6 master_channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe -# load-module module-remap-sink sink_name=BluetoothPCM_output remix=no master=pcm3168a_output channels=2 master_channel_map=side-left,side-right channel_map=front-left,front-right +# load-module module-remap-sink sink_name=StereoOut remix=no master=pcm3168a_output channels=2 master_channel_map=side-left,side-right channel_map=front-left,front-right -### Split multichannel card input to 3 x microphone/line-ins and Bluetooth PCM input +### Split multichannel card input to 4 x microphone/line-ins # load-module module-remap-source source_name=mic0 remix=no master=pcm3168a_input channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right # load-module module-remap-source source_name=mic1 remix=no master=pcm3168a_input channels=2 master_channel_map=rear-left,rear-right channel_map=front-left,front-right # load-module module-remap-source source_name=mic2 remix=no master=pcm3168a_input channels=2 master_channel_map=front-center,lfe channel_map=front-left,front-right -# load-module module-remap-source source_name=BluetoothPCM_inout remix=no master=pcm3168a_input channels=2 master_channel_map=side-left,side-right channel_map=front-left,front-right +# load-module module-remap-source source_name=mic3 remix=no master=pcm3168a_input channels=2 master_channel_map=side-left,side-right channel_map=front-left,front-right ### Set default source and sink to multichannel soundcard # set-default-sink Surround51 |