summaryrefslogtreecommitdiffstats
path: root/audio/bluetooth.conf
diff options
context:
space:
mode:
Diffstat (limited to 'audio/bluetooth.conf')
-rw-r--r--audio/bluetooth.conf36
1 files changed, 36 insertions, 0 deletions
diff --git a/audio/bluetooth.conf b/audio/bluetooth.conf
new file mode 100644
index 00000000..55b51e43
--- /dev/null
+++ b/audio/bluetooth.conf
@@ -0,0 +1,36 @@
+# Please note that this ALSA configuration file fragment needs be enabled in
+# /etc/asound.conf or a similar configuration file with directives similar to
+# the following:
+#
+#@hooks [
+# {
+# func load
+# files [
+# "/etc/alsa/bluetooth.conf"
+# ]
+# errors false
+# }
+#]
+
+pcm.rawbluetooth {
+ @args [ ADDRESS ]
+ @args.ADDRESS {
+ type string
+ }
+ type bluetooth
+ device $ADDRESS
+}
+
+pcm.bluetooth {
+ @args [ ADDRESS ]
+ @args.ADDRESS {
+ type string
+ }
+ type plug
+ slave {
+ pcm {
+ type bluetooth
+ device $ADDRESS
+ }
+ }
+}