summaryrefslogtreecommitdiffstats
path: root/drivers/sound/Kconfig
blob: 889657305b0b41cd178ce371404c66ea3a28d7c1 (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
# SPDX-License-Identifier: GPL-2.0-only
menuconfig SOUND
	bool "Sound drivers"
	select POLLER
	help
	  Say Y here for sound support. At the moment that's just beep tones.
	  Tones are played asynchronously in a poller. Check the beep command
	  for how to exercise the API.

if SOUND

config SOUND_SDL
	bool "SDL sound driver for sandbox"
	depends on SANDBOX && OFDEVICE
	select SDL

config SYNTH_SQUARES
	bool "Synthesize square waves only"
	help
	  For beeping on PCM sound cards, barebox needs to synthesize samples,
	  which can take too much poller time for crisp playback and/or quick
	  booting. If your playback stutters, say Y here. This will have all
	  synthesizers output a gain-adjusted square wave instead, which is
	  less time-consuming to compute.

endif