pulseaudio/src/modules
Colin Guthrie a65825fa45 alsa: Set the rewind safeguard proportionally to sample spec
Currently when rewinding alsa, a fixed value of 256 bytes is used,
which represents 1.33ms @ 48kHz (2ch, 16bit). This is typically fine
and due to DMA constraints we would not want to rewind less than this.

However with more demanding sample specs, (e.g. 8ch 192kHz 32bit)
256 bytes is likely not sufficient, so calculate what 1.33ms would
be and use which ever value is bigger.

Discussed with David Henningsson and Pierre-Louis Bossart here:
 http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/7286
2010-09-04 12:49:26 +01:00
..
alsa alsa: Set the rewind safeguard proportionally to sample spec 2010-09-04 12:49:26 +01:00
bluetooth thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
gconf gconf: run the wrapper script when running gconf-helper from build tree 2009-09-18 23:31:54 +02:00
jack jack: Prevent crash on jack server shutdown 2010-05-08 01:30:22 +02:00
oss thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
raop thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
rtp rtp: Fix bracketing in pa_rtp_recv. 2010-05-08 13:47:51 +01:00
x11 x11: Partially convert to XCB. 2010-08-15 21:41:52 +01:00
.gitignore add missing gitignore files 2008-06-18 00:51:50 +02:00
hal-util.c hal: check properly for failure of libhal_find_device_by_capability() (llvm-clang-analyzer) 2009-09-08 23:48:47 +02:00
hal-util.h Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
ladspa.h merge 'lennart' branch back into trunk. 2007-10-28 19:13:50 +00:00
Makefile big s/polyp/pulse/g 2006-06-19 21:53:48 +00:00
module-always-sink.c always-sink: rename null sink created to 'dummy sink' and make it translatable 2009-09-04 02:48:36 +02:00
module-augment-properties.c augment: try to deduce the media role from the menu category 2009-06-05 19:24:40 +02:00
module-card-restore.c Merge most of elmarco/rtclock2 2009-06-22 23:09:46 +02:00
module-cli.c cli: properly destruct cli object 2009-09-17 04:04:54 +02:00
module-combine.c thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
module-console-kit.c dbus: remove filter functions only if they were actually set before 2010-01-08 20:06:21 +01:00
module-cork-music-on-phone.c cork-music-on-phone: make sure that we don't check the refcnt of pa_core when the daemon goes down 2009-04-13 05:12:11 +02:00
module-default-device-restore.c Base mainloop on pa_rtclock_now() 2009-06-20 17:29:31 +03:00
module-defs.h.m4 modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated 2009-05-28 02:47:36 +02:00
module-detect.c detect: recommend module-udev-detect instead of module-hal-detect 2009-08-24 16:35:19 +02:00
module-device-manager.c device-manager: Fix compiler warning. 2009-11-11 17:44:28 +00:00
module-device-restore.c sink: volume handling rework, new flat volume logic 2009-08-19 02:55:02 +02:00
module-esound-compat-spawnfd.c Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
module-esound-compat-spawnpid.c Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
module-esound-sink.c thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
module-hal-detect-compat.c hal: add stub module that loads module-udev-detect instead of module-hal-detect 2009-08-11 23:04:35 +02:00
module-hal-detect.c dbus: remove filter functions only if they were actually set before 2010-01-08 20:06:21 +01:00
module-intended-roles.c intended-roles: Do not pick monitor sources when doing automatic role-based device selection 2010-03-17 16:03:11 +00:00
module-ladspa-sink.c core: make sure we always return a valid memblock in sink_input_pop() callbacks 2010-01-08 21:51:30 +01:00
module-lirc.c lirc: replace manual code by pa_cvolume_{inc|dec}() 2009-08-19 03:37:42 +02:00
module-loopback.c native: rework handling of seeks that depend on variables the client does not know anything about 2010-01-18 01:33:04 +01:00
module-match.c sink: volume handling rework, new flat volume logic 2009-08-19 02:55:02 +02:00
module-mmkbd-evdev.c mmkbd: replace manual code by pa_cvolume_{inc|dec}() 2009-08-19 03:37:29 +02:00
module-native-protocol-fd.c Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
module-null-sink.c thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
module-pipe-sink.c thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
module-pipe-source.c thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
module-position-event-sounds.c position-event-sounds: never position test sounds in space 2009-11-11 05:12:02 +01:00
module-protocol-stub.c http: export information about currently active server strings 2009-04-30 01:35:18 +02:00
module-remap-sink.c ladspa,remap: make description of sink follow moves 2009-09-01 06:06:04 +02:00
module-rescue-streams.c modules: add various checks to avoid selecting objects that are not linked or in another unclear state 2009-08-16 00:45:23 +02:00
module-rygel-media-server.c rygel: fix itemCount property for sources 2009-11-18 21:41:38 +01:00
module-sine-source.c thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
module-sine.c core: move 'flags' field into 'pa_sink_input_new_data' structure so that hooks can access it 2009-08-28 23:24:09 +02:00
module-solaris.c Solaris: debug my latest enbugging, take 2 2009-08-25 03:18:50 +02:00
module-stream-restore.c stream-restore: be a little bit more verbose why we don't reastore a sink 2010-02-21 17:36:51 +01:00
module-suspend-on-idle.c suspend-on-idle: resume audio device even for initially corked streams 2010-02-22 03:22:28 +01:00
module-tunnel.c thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm 2010-05-03 13:28:39 +02:00
module-udev-detect.c udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modem 2010-01-15 01:34:55 +01:00
module-volume-restore.c volume-restore: forward module load return value of stream-restore back to caller 2009-08-11 23:19:28 +02:00
module-waveout.c Base mainloop on pa_rtclock_now() 2009-06-20 17:29:31 +03:00
module-zeroconf-discover.c various spelling fixes 2009-04-04 02:27:13 +02:00
module-zeroconf-publish.c zeroconf: properly unref native protocol object 2009-05-01 04:12:45 +02:00
reserve-monitor.c voltest: extend test to verify correctness of _multiply() and _divide() 2009-08-19 01:02:32 +02:00
reserve-monitor.h reserve: update from upstream git repo 2009-07-01 20:20:36 +02:00
reserve-wrap.c reserve: downgrade reserve logic messages, so that reusing pa in two sessions does not create spew in syslog 2009-09-28 19:54:37 -07:00
reserve-wrap.h reserve: wrap device reservation monitor reference implementation 2009-06-05 19:03:16 +02:00
reserve.c voltest: extend test to verify correctness of _multiply() and _divide() 2009-08-19 01:02:32 +02:00
reserve.h reserve: update from upstream git repo 2009-07-01 20:20:36 +02:00
udev-util.c udev: fix hex decoding 2010-08-15 21:40:49 +01:00
udev-util.h alsa: rework mixer logic 2009-06-17 03:45:14 +02:00