pulseaudio/src/pulsecore
Sangchul Lee ef094638f5 udev-detect, alsa-card: Adopt avoid resampling option from daemon.conf
Previously, the "avoid-resampling" option of daemon.conf is to make the
daemon try to use the stream sample rate if possible for all sinks or
sources.

This patch applies this option to module-udev-detect and module-alsa-card
as a module argument in order to override the default value of daemon.conf.

As a result, user can use this argument for more fine-grained control.
e.g.) set it false in daemon.conf and set it true for module-udev-detect
or a particular module-alsa-card in default.pa.(or vice versa)

To set it, use "avoid_resampling=true or false" as the module argument.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2018-06-21 06:30:25 +05:30
..
ffmpeg
filter pulsecore: Reference count mempools 2016-04-02 05:36:52 +02:00
resampler resampler: Fix a memory leak in pa_resampler_ffmpeg_init() 2016-05-13 14:22:47 +05:30
arpa-inet.c
arpa-inet.h
asyncmsgq.c don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
asyncmsgq.h
asyncq.c
asyncq.h
atomic.h pulsecore: Fix incorrect architecture mapping on sparc64. 2016-06-22 12:55:55 +05:30
aupdate.c
aupdate.h
auth-cookie.c
auth-cookie.h
authkey.c
authkey.h
avahi-wrap.c
avahi-wrap.h
bitset.c
bitset.h
card.c card: remove pa_card_new_data.active_profile 2016-06-28 16:55:42 +03:00
card.h card: remove pa_card_new_data.active_profile 2016-06-28 16:55:42 +03:00
cli-command.c cli-command: don't exit on "module already loaded" errors 2017-09-05 13:46:27 +03:00
cli-command.h
cli-text.c sink, source: improve suspend cause logging 2018-01-03 16:32:32 +02:00
cli-text.h
cli.c Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
cli.h
client.c client: Use pa_xnew0 when creating a client 2015-09-28 14:36:23 +02:00
client.h typedefs.h: Move some typedefs to a separate file 2015-12-14 05:01:53 +02:00
conf-parser.c conf-parser: provide a replacement for scandir on Win32 2017-08-05 06:49:25 +03:00
conf-parser.h conf-parser: add support for .d directories 2015-12-14 13:45:39 +01:00
core-error.c
core-error.h
core-format.c core-format: fix TrueHD and DTS-HD channel maps 2018-06-21 06:30:03 +05:30
core-format.h
core-rtclock.c
core-rtclock.h core-rtclock: Add missing declaration of struct timespec 2015-12-08 08:50:10 +05:30
core-scache.c core, core-scache: Fire hooks for new, changed and removed events 2015-05-21 10:06:11 +02:00
core-scache.h
core-subscribe.c
core-subscribe.h
core-util.c core: Expose API to elevate a thread to realtime priority 2018-06-21 06:29:32 +05:30
core-util.h core: Expose API to elevate a thread to realtime priority 2018-06-21 06:29:32 +05:30
core.c set exit_idle_time to 0 when we detect a session 2018-06-21 06:02:21 +05:30
core.h set exit_idle_time to 0 when we detect a session 2018-06-21 06:02:21 +05:30
cpu-arm.c cpu-arm: Fix memory leak in pa_cpu_get_arm_flags() 2015-03-19 15:36:01 +01:00
cpu-arm.h
cpu-orc.c
cpu-orc.h
cpu-x86.c core-util, cpu-x86: use __get_cpuid() instead of homegrown assembly 2017-12-07 01:06:48 +02:00
cpu-x86.h core-util, cpu-x86: use __get_cpuid() instead of homegrown assembly 2017-12-07 01:06:48 +02:00
cpu.c
cpu.h
creds.h pstream: Support memfd blocks transport 2016-04-02 05:55:14 +02:00
database-gdbm.c
database-simple.c
database-tdb.c
database.h
dbus-shared.c core: Assert return value of pa_shared_set/_remove() in dbus-shared 2017-03-10 10:14:37 +01:00
dbus-shared.h
dbus-util.c Fix memory leaks 2018-03-23 16:27:23 +02:00
dbus-util.h
device-port.c device-port, switch-on-port-available: fix automatic profile changing when current profile is off 2017-09-05 13:46:26 +03:00
device-port.h device-port: Add mechanism to free implementation data 2016-06-22 21:04:47 +05:30
dllmain.c
dynarray.c
dynarray.h
endianmacros.h
esound.h
fdsem.c
fdsem.h
flist.c
flist.h
g711.c
g711.h
hashmap.c
hashmap.h
hook-list.c
hook-list.h
i18n.c
i18n.h
idxset.c
idxset.h
iochannel.c raop: Fix gcc-7 warnings, EWOULDBLOCK 2017-10-09 10:39:52 +02:00
iochannel.h
ioline.c
ioline.h
ipacl.c
ipacl.h
llist.h
lock-autospawn.c
lock-autospawn.h
log.c log: journal: Prevent duplicate values for CODE_* fields 2016-03-25 12:24:01 +02:00
log.h
ltdl-helper.c core, pulse, modules: Fix undefined behavior with array subscript of invalid type 2015-12-08 08:56:07 +05:30
ltdl-helper.h
macro.h build: Add Coverity scan model 2017-03-06 08:22:33 +01:00
Makefile
mcalign.c
mcalign.h
mem.h client audio: Support memfd transport 2016-04-27 18:37:07 +05:30
memblock.c memblock: multiple references should make blocks read-only 2017-04-06 23:36:07 +03:00
memblock.h pulsecore: Specially mark global mempools 2016-04-02 05:53:33 +02:00
memblockq.c memblockq: remove pa_memblockq_missing() 2017-01-03 04:21:43 +02:00
memblockq.h memblockq: remove pa_memblockq_missing() 2017-01-03 04:21:43 +02:00
memchunk.c pulsecore: Reference count mempools 2016-04-02 05:36:52 +02:00
memchunk.h
memfd-wrappers.h memfd-wrappers: only define memfd_create() if not already defined 2018-01-31 08:21:32 +02:00
memtrap.c
memtrap.h
meson.build build-sys: First pass at a meson-ified build system 2018-06-21 05:50:29 +05:30
mime-type.c
mime-type.h
mix.c
mix.h
mix_neon.c
modargs.c modargs: Add a mechanism to append modargs 2016-06-22 21:04:47 +05:30
modargs.h modargs: Document behaviour on missing arguments 2016-07-06 21:47:39 +03:00
modinfo.c
modinfo.h
module.c build-sys: First pass at a meson-ified build system 2018-06-21 05:50:29 +05:30
module.h build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
msgobject.c
msgobject.h
mutex-posix.c
mutex-win32.c
mutex.h
namereg.c improve default sink/source handling 2017-05-02 16:10:19 +03:00
namereg.h improve default sink/source handling 2017-05-02 16:10:19 +03:00
native-common.c pstream: Support memfd blocks transport 2016-04-02 05:55:14 +02:00
native-common.h pstream: Support memfd blocks transport 2016-04-02 05:55:14 +02:00
object.c
object.h
once.c
once.h
packet.c pulsecore/packet: avoid redefinition of pa_packet structure 2015-11-17 14:27:53 +01:00
packet.h
parseaddr.c Support IPv6 address in pa_socket_client_new_string() 2017-01-19 02:56:53 +02:00
parseaddr.h Support IPv6 address in pa_socket_client_new_string() 2017-01-19 02:56:53 +02:00
pdispatch.c pstream: Support memfd blocks transport 2016-04-02 05:55:14 +02:00
pdispatch.h pstream: Support memfd blocks transport 2016-04-02 05:55:14 +02:00
pid.c
pid.h
pipe.c
pipe.h
play-memblockq.c sink-input, source-output: add sink/source_requested_by_application flag 2017-12-02 16:13:21 +02:00
play-memblockq.h
play-memchunk.c
play-memchunk.h
poll-posix.c
poll-win32.c
poll.h
proplist-util.c proplist-util: fix compilation on Windows without NLS 2017-10-07 21:59:17 +03:00
proplist-util.h
protocol-cli.c
protocol-cli.h
protocol-dbus.c Fix memory leaks 2018-03-23 16:27:23 +02:00
protocol-dbus.h
protocol-esound.c sink-input, source-output: add sink/source_requested_by_application flag 2017-12-02 16:13:21 +02:00
protocol-esound.h
protocol-http.c sink-input, source-output: add sink/source_requested_by_application flag 2017-12-02 16:13:21 +02:00
protocol-http.h
protocol-native.c sink-input, source-output: add sink/source_requested_by_application flag 2017-12-02 16:13:21 +02:00
protocol-native.h
protocol-simple.c sink-input, source-output: add sink/source_requested_by_application flag 2017-12-02 16:13:21 +02:00
protocol-simple.h
pstream-util.c protocol-native: Disable srbchannel for setups without SCM_CREDENTIALS 2016-04-24 18:16:34 +03:00
pstream-util.h pstream: Support memfd blocks transport 2016-04-02 05:55:14 +02:00
pstream.c pstream: Add rationale for pa_cmsg_ancil_data_close_fds() 2016-06-22 21:04:47 +05:30
pstream.h pstream: Support memfd blocks transport 2016-04-02 05:55:14 +02:00
queue.c
queue.h
random.c
random.h
ratelimit.c
ratelimit.h
refcnt.h
remap.c
remap.h
remap_mmx.c
remap_neon.c
remap_sse.c
resampler.c core: Fix typo and gcc-7 -Wimplicit-fallthrough= warnings 2017-10-09 10:40:00 +02:00
resampler.h resampler: Flag for remixing to all sink channels. 2017-01-19 03:00:45 +02:00
rtkit.c
rtkit.h
rtpoll.c rtpoll: Fix build error when building with DEBUG_TIMING 2016-01-07 18:01:20 +05:30
rtpoll.h core: Don't export pa_rtpoll_quit(), only used internally 2015-05-25 15:28:27 +02:00
sample-util.c core: Replace PA_PAGE_SIZE with pa_page_size() 2016-09-02 14:52:53 +02:00
sample-util.h build-sys: Use #ifdef with HAVE_FAST_64BIT_OPERATIONS 2016-01-15 16:10:46 +05:30
sconv-s16be.c
sconv-s16be.h sconv-s16be: declaration/implementation mismatches 2017-11-30 01:14:19 +02:00
sconv-s16le.c
sconv-s16le.h
sconv.c
sconv.h
sconv_neon.c
sconv_sse.c
semaphore-osx.c
semaphore-posix.c
semaphore-win32.c
semaphore.h
shared.c core: Ignore pa_shared_remove() return value 2017-03-10 10:17:40 +01:00
shared.h core: Ignore pa_shared_remove() return value 2017-03-10 10:17:40 +01:00
shm.c build: Use #ifdef to check for #defines 2017-03-08 14:31:29 +01:00
shm.h pulsecore: Specially mark global mempools 2016-04-02 05:53:33 +02:00
shmasyncq.c
shmasyncq.h
sink-input.c sink-input, source-output: fix uninitialized variable access 2018-05-31 16:29:29 +03:00
sink-input.h sink-input, source-output: add sink/source_requested_by_application flag 2017-12-02 16:13:21 +02:00
sink.c udev-detect, alsa-card: Adopt avoid resampling option from daemon.conf 2018-06-21 06:30:25 +05:30
sink.h udev-detect, alsa-card: Adopt avoid resampling option from daemon.conf 2018-06-21 06:30:25 +05:30
sioman.c
sioman.h
sndfile-util.c
sndfile-util.h
socket-client.c Support IPv6 address in pa_socket_client_new_string() 2017-01-19 02:56:53 +02:00
socket-client.h
socket-server.c
socket-server.h
socket-util.c
socket-util.h
socket.h core: make sure we use the correct win32 socket errno:s 2015-05-30 13:14:11 +03:00
sound-file-stream.c sink-input, source-output: add sink/source_requested_by_application flag 2017-12-02 16:13:21 +02:00
sound-file-stream.h
sound-file.c
sound-file.h
source-output.c sink-input, source-output: fix uninitialized variable access 2018-05-31 16:29:29 +03:00
source-output.h sink-input, source-output: add sink/source_requested_by_application flag 2017-12-02 16:13:21 +02:00
source.c udev-detect, alsa-card: Adopt avoid resampling option from daemon.conf 2018-06-21 06:30:25 +05:30
source.h udev-detect, alsa-card: Adopt avoid resampling option from daemon.conf 2018-06-21 06:30:25 +05:30
srbchannel.c
srbchannel.h
start-child.c
start-child.h
strbuf.c Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
strbuf.h Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
stream-util.c
stream-util.h
strlist.c Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
strlist.h Rename functions with "tostring" in the name to one with "to_string" to conform with the convention. 2015-09-25 17:29:02 +05:30
svolume.orc
svolume_arm.c
svolume_c.c
svolume_mmx.c svolume: disable incompatible MMX and SSE code on x86 macOS 2017-11-05 13:54:35 +02:00
svolume_orc.c
svolume_sse.c svolume: disable incompatible MMX and SSE code on x86 macOS 2017-11-05 13:54:35 +02:00
tagstruct.c
tagstruct.h
thread-mq.c thread-mq: create event on the right mainloop 2017-10-03 17:20:32 +03:00
thread-mq.h don't assume that pa_asyncq_new() always succeeds 2016-12-20 01:19:06 +02:00
thread-posix.c
thread-win32.c
thread.h
time-smoother.c
time-smoother.h
tokenizer.c
tokenizer.h
typedefs.h typedefs.h: Move some typedefs to a separate file 2015-12-14 05:01:53 +02:00
usergroup.c
usergroup.h
winerrno.h core: make sure we use the correct win32 socket errno:s 2015-05-30 13:14:11 +03:00
x11prop.c
x11prop.h
x11wrap.c
x11wrap.h