summaryrefslogtreecommitdiffstats
path: root/audio/bluetooth.conf
blob: 55b51e4366c497d24fdf685ed8699b7a15f5e72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
		}
	}
}