Commit graph

  • f7b707b954 allow destruction of pa_fdsem object that are still in 'poll' state Lennart Poettering 2007-08-11 16:00:02 +00:00
  • e1100b5b20 modify alsa drivers to make use of new global fragment setting variables Lennart Poettering 2007-08-11 15:59:02 +00:00
  • 793f750429 fix default device naming and fix api selection code Lennart Poettering 2007-08-11 15:58:15 +00:00
  • a7a5f43f67 modernization Lennart Poettering 2007-08-11 15:57:21 +00:00
  • e2a10de756 allow setting the default sample and fragment settings from the config file Lennart Poettering 2007-08-11 15:56:57 +00:00
  • b44ce9e4e0 add default fragment settings variables to pa_core Lennart Poettering 2007-08-11 15:56:06 +00:00
  • 59c9ed5473 move pstream item allocation to pa_flist Lennart Poettering 2007-08-11 00:10:29 +00:00
  • d2fed9d419 make revoke/release thread safe in the native protocol Lennart Poettering 2007-08-10 23:42:17 +00:00
  • ff4814cac7 add callbacks for the revoke/release stuff, so that we can make this thing thread-safe Lennart Poettering 2007-08-10 23:41:50 +00:00
  • 4e145b676a if no thread-mq is attached to the current thread, return an error, don't hit an assert Lennart Poettering 2007-08-10 23:40:05 +00:00
  • 3eae9038eb make use of pa_thread_mq everywhere Lennart Poettering 2007-08-10 22:02:39 +00:00
  • b3f1a133f1 minor update Lennart Poettering 2007-08-10 22:01:54 +00:00
  • f7171e86ca Wrap two pa_asyncmsq in a new pa_thread_mq object for bidirectional, lock-free communication between a main loop and a thread Lennart Poettering 2007-08-10 22:01:17 +00:00
  • aff77c162b update thread test to use pa_once instead of pa_once_t Lennart Poettering 2007-08-10 22:00:22 +00:00
  • 27f75a5a1e Rename pa_once_t to pa_once Lennart Poettering 2007-08-10 21:59:51 +00:00
  • d4cb042a56 move pa_queue to an implementation based on pa_flist Lennart Poettering 2007-08-10 16:47:39 +00:00
  • ac49cc2029 do not acces playback pa_messagq from main thread Lennart Poettering 2007-08-10 15:51:55 +00:00
  • 72840abe8a minor cleanliness fixes Lennart Poettering 2007-08-10 15:09:28 +00:00
  • 357c0e415f fix closing of fds in gconf module Lennart Poettering 2007-08-10 14:49:26 +00:00
  • ffa1708070 * drop redundant pa_core argument from module initialization functions * make pa__done() implementations optional * a couple of modernizations * wrap lt_dlsym() at a single place * allow passing of an "api" argument to the HAL module, to choose whether OSS devices or ALSA devices should be picked up * optimize fd closing a little on linux in the forked gconf helper * save a little memory in the xsmp module Lennart Poettering 2007-08-10 14:28:39 +00:00
  • e621071bf1 fix minor memory leakage Lennart Poettering 2007-08-10 12:11:40 +00:00
  • 10b135a4bf avoid duplicate loading of modules Lennart Poettering 2007-08-10 00:33:47 +00:00
  • 1e5ca51016 handle ACLAdded messages for previously unknown devices identically to a really new device Lennart Poettering 2007-08-10 00:29:28 +00:00
  • 3b078b2068 Avoid a race condition when one PA instance gets HAL's ACLAdded message before the previous owner instance has given up access to the device, and thus the device is blocked Lennart Poettering 2007-08-10 00:15:20 +00:00
  • d9e44c52cb Add X11 XSMP module for hooking into the X11 session manager, for being notified about X11 disconnects before they actually happen, so that we are not killed by the bloody xlibs Lennart Poettering 2007-08-09 23:47:06 +00:00
  • 583167722e modernize Lennart Poettering 2007-08-09 23:46:03 +00:00
  • 3dfdb21759 don't assume that sink/source is already unregistered from namereg when disconnect hook is called Lennart Poettering 2007-08-09 21:57:01 +00:00
  • 1c7b84204e play ACL event sound only when gained access, not when losing it Lennart Poettering 2007-08-09 21:56:23 +00:00
  • b751f3a3c7 s/login.wav/startup3.wav Lennart Poettering 2007-08-09 21:37:19 +00:00
  • 02bf2f2dd2 update default configuration Lennart Poettering 2007-08-09 21:31:58 +00:00
  • 0f155748da protect memimpors with a recursive mutex to avoid deadlock when shutting down Lennart Poettering 2007-08-09 21:17:32 +00:00
  • e76efa990e forgot to actually add the new suspend-on-idle module source code Lennart Poettering 2007-08-09 21:08:10 +00:00
  • bb46da3b4a add new module-suspend-on-idle module which suspends sinks/sources which are idle for more than 5s (or any other configurable time). Power saving, here we come\! Lennart Poettering 2007-08-09 21:07:14 +00:00
  • 9c89f37ace if we get access to a device we don't know yet, add it to our tree instead of ignoring it Lennart Poettering 2007-08-09 21:06:08 +00:00
  • 30ccf9a5c9 add a couple of additional hooks for modules to use Lennart Poettering 2007-08-09 21:05:20 +00:00
  • ed01e1adb5 don't hit an assert when we cannot resume a device Lennart Poettering 2007-08-09 17:52:13 +00:00
  • eaddc0195c by default, store esd socket in /tmp/.esd-id -u/socket, instead of /tmp/.esd/socket, to allow multiple simultaneous esd instances. this is only compatible with a patched esd, which however ubuntu and fedora ship now. other distros need to patch their esd as well, or may pass socket=/tmp/.esd/socket to module-protocol-esound-unix Lennart Poettering 2007-08-09 16:27:24 +00:00
  • 33cd5e26cf listen for HAL ACL events; play an event sound on hw coldplug, hotplug and ACL access Lennart Poettering 2007-08-09 13:49:27 +00:00
  • 0c29a2f1db add new function pa_scache_play_item_by_name Lennart Poettering 2007-08-09 13:47:25 +00:00
  • 23ba125725 fix bug in handling of defer events Lennart Poettering 2007-08-09 13:36:06 +00:00
  • a69f4705c5 modernize module-hal-detect.c and check for ALSA pcm_class != modem Lennart Poettering 2007-08-08 23:49:17 +00:00
  • 26a024622c modernize dbus-util.c Lennart Poettering 2007-08-08 23:48:47 +00:00
  • e4e9a06307 be more verbose when device does not support sampling parameters Lennart Poettering 2007-08-08 23:48:25 +00:00
  • fedca91468 Remove warning when client is too slow to handle our data Lennart Poettering 2007-08-08 21:20:44 +00:00
  • df9522cb8c properly reinitialize pollfd array after resume Lennart Poettering 2007-08-08 21:20:20 +00:00
  • 54b9f55d2e properly reinitialize pollfd array after resume Lennart Poettering 2007-08-08 20:52:52 +00:00
  • 981d5fac83 don't print error on socket read/write failure Lennart Poettering 2007-08-08 20:50:37 +00:00
  • 366d1d3441 reinitialize sw params after resume Lennart Poettering 2007-08-07 10:48:29 +00:00
  • 0a6f9afb8b add global suspend command to cli Lennart Poettering 2007-08-07 10:47:00 +00:00
  • 1f9ce59969 port esound protocol to new lock-free core Lennart Poettering 2007-08-06 21:47:53 +00:00
  • 243f2fc20a minor fixes and cleanups Lennart Poettering 2007-08-06 21:47:29 +00:00
  • 74b3b6d453 fix playback status querying Lennart Poettering 2007-08-06 19:42:15 +00:00
  • 455ff8d342 fix a memory leak Lennart Poettering 2007-08-06 17:37:59 +00:00
  • 62790ccdb4 fix playback over native protocol Lennart Poettering 2007-08-06 16:13:32 +00:00
  • c306b83525 initialize 'length' properly Lennart Poettering 2007-08-06 16:12:54 +00:00
  • 6775386983 make sure to handle disconnecting our own connection properly Lennart Poettering 2007-08-05 14:06:47 +00:00
  • 41d67c40d9 minor optimization for cacheing in of samples by using posix_fadvise Lennart Poettering 2007-08-05 13:52:01 +00:00
  • 872951cca1 use posix_fadvise to avoid page faults when reading audio files from disk Lennart Poettering 2007-08-05 13:51:32 +00:00
  • 9d1eb1bbda play memchunks completely Lennart Poettering 2007-08-05 11:22:03 +00:00
  • bd0782eb06 initialize method pointers properly Lennart Poettering 2007-08-05 00:09:48 +00:00
  • 241a9e10f1 follow rename of pstream_close() to pstream_unlink() Lennart Poettering 2007-08-05 00:09:02 +00:00
  • 55e0866297 typesafe casts Lennart Poettering 2007-08-05 00:08:27 +00:00
  • 23d01bb75d Modernize pstream.[ch], reintroduce defer event to make things actually work Lennart Poettering 2007-08-05 00:07:58 +00:00
  • 36dd7819da modernize play-memchunk and port it to the new core Lennart Poettering 2007-08-05 00:07:07 +00:00
  • 34e41657e7 minor cleanups Lennart Poettering 2007-08-05 00:06:35 +00:00
  • 81760ad897 merge compat changes from trunk Lennart Poettering 2007-08-04 20:20:33 +00:00
  • 5ecaf31b6f compat with automake 1.10 Lennart Poettering 2007-08-04 19:53:51 +00:00
  • 7455571dd9 jack driver build fix which became apparent on fedora Lennart Poettering 2007-08-04 19:53:37 +00:00
  • 95fab184d5 Don't stop hardware on buffer underruns. Instead continue playing to guarantee that our time function stays as linear as possible. Lennart Poettering 2007-08-03 23:48:52 +00:00
  • a6c44c0e50 Remove unnecessary snd_pcm_hwsync() Lennart Poettering 2007-08-03 22:41:27 +00:00
  • 9a4e84ade9 On recommendation of Takashi Iwai prefer Master volume control over PCM and don't control Mic control Lennart Poettering 2007-08-03 22:39:18 +00:00
  • d3eca287cf rename pa_source_output_new_data::corked to start_corked to match pa_sink_input_new_data::start_corked Lennart Poettering 2007-07-31 22:56:35 +00:00
  • 0defdfb560 A lot of updates, all necessary to get the native protocol ported: Lennart Poettering 2007-07-31 22:44:53 +00:00
  • a82505e72f port module-alsa-source to new lock-free core Lennart Poettering 2007-07-28 23:50:20 +00:00
  • 13a4327c1f minor cleanups Lennart Poettering 2007-07-28 23:49:39 +00:00
  • 6afbbba102 fix suspending logic Lennart Poettering 2007-07-28 22:56:39 +00:00
  • 81aa8ea37c drop data from inputs only when in running state Lennart Poettering 2007-07-28 22:55:44 +00:00
  • 1615450767 It is now allowed to call pa_sink_get_volume() from thread context Lennart Poettering 2007-07-28 22:55:12 +00:00
  • 8aee345ccb Fix suspending/resuming Lennart Poettering 2007-07-28 21:00:16 +00:00
  • 5fbb8e12d6 add PA_SINK_OPENED/PA_SOURCE_OPENED macros for easier checking for _IDLE or _RUNNING states Lennart Poettering 2007-07-28 20:58:33 +00:00
  • 10cb0483d9 restore proper mixer volume control Lennart Poettering 2007-07-28 19:30:10 +00:00
  • 9dac60c80e reload OSS volume after unsuspend Lennart Poettering 2007-07-28 19:27:01 +00:00
  • dd40020057 bring back alsa fd list managemet, since we need it for proper mixer change notification Lennart Poettering 2007-07-28 19:26:40 +00:00
  • 787f93533c port module-alsa-sink to new lock-free core. also add mmmap'ing support while doing so. Lennart Poettering 2007-07-28 17:24:28 +00:00
  • c7df4ba6c3 minor modernizations Lennart Poettering 2007-07-28 17:16:05 +00:00
  • 8e4660a0b5 Disable memory mapping if we open the device in O_WRONLY. Unfortunately we cannot do mmap() in Linux without opening the device for reading as well. Lennart Poettering 2007-07-26 19:55:51 +00:00
  • c936e53fa2 Fix channel remapping in resample; other modernizations Lennart Poettering 2007-07-26 19:30:51 +00:00
  • 4cc0d0a18f remove some log messages Lennart Poettering 2007-07-26 19:19:42 +00:00
  • 86abfbf9e8 remove debug messages; don't queue request messages like nothing when send file is finished Lennart Poettering 2007-07-26 14:40:17 +00:00
  • bbb347fa91 properly free memblocks when skipping over them Lennart Poettering 2007-07-26 13:58:50 +00:00
  • 042cb09394 make valgrind shut up regarding non-freed ident strings. other modernizations Lennart Poettering 2007-07-26 13:55:52 +00:00
  • bc17b8ea2d reverse order flist destruction and mempool allocation warning Lennart Poettering 2007-07-26 13:20:11 +00:00
  • 222a6d270e Increase ref counter of sink input as long as it is included in the sink idxset Lennart Poettering 2007-07-26 13:18:50 +00:00
  • d80fd10a67 properly deref sink_input/source_output objects when removing them from a sink/source Lennart Poettering 2007-07-26 13:17:34 +00:00
  • 58af737ebb Add fdsem to makefile Lennart Poettering 2007-07-26 13:16:37 +00:00
  • 8cdde282e8 reverse order of printf and push to make output more readable Lennart Poettering 2007-07-26 13:15:58 +00:00
  • bc3693261f port asyncq to make use of new fdsem object Lennart Poettering 2007-07-26 13:15:05 +00:00
  • 6ad165c686 add abstracted file descriptor based semaphore object that is lock-free in the best cases Lennart Poettering 2007-07-26 13:14:26 +00:00
  • 8836396c77 Store strings directly in strlst elements, other modernizations Lennart Poettering 2007-07-25 21:28:56 +00:00
  • 98d36efa82 fix some alignment issues and modernize file a little bit Lennart Poettering 2007-07-25 16:33:56 +00:00