xref: /OK3568_Linux_fs/buildroot/package/pulseaudio/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
2	bool
3	default y if BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS || \
4		BR2_TOOLCHAIN_HAS_SYNC_4
5
6config BR2_PACKAGE_PULSEAUDIO_ENABLE_ATOMIC
7	bool
8	select BR2_PACKAGE_LIBATOMIC_OPS if !BR2_TOOLCHAIN_HAS_SYNC_4
9
10config BR2_PACKAGE_PULSEAUDIO
11	bool "pulseaudio"
12	depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
13	depends on BR2_USE_WCHAR
14	depends on BR2_TOOLCHAIN_HAS_THREADS
15	depends on !BR2_STATIC_LIBS
16	depends on BR2_USE_MMU # fork()
17	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime
18	select BR2_PACKAGE_LIBTOOL
19	select BR2_PACKAGE_LIBSNDFILE
20	select BR2_PACKAGE_PULSEAUDIO_ENABLE_ATOMIC
21	select BR2_PACKAGE_SPEEX
22	help
23	  PulseAudio is a sound system for POSIX OSes, meaning that it
24	  is a proxy for your sound applications. It allows you to do
25	  advanced operations on your sound data as it passes between
26	  your application and your hardware. Things like transferring
27	  the audio to a different machine, changing the sample format
28	  or channel count and mixing several sounds into one are
29	  easily achieved using a sound server.
30
31	  http://pulseaudio.org
32
33if BR2_PACKAGE_PULSEAUDIO
34
35config BR2_PACKAGE_PULSEAUDIO_DAEMON
36	bool "start as a system daemon"
37	help
38	  PulseAudio can be started as a system daemon. This is not the
39	  recommended way of using PulseAudio unless you are building a
40	  headless system.
41
42endif
43
44comment "pulseaudio needs a toolchain w/ wchar, threads, dynamic library"
45	depends on BR2_USE_MMU
46	depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
47	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
48