Commit graph

  • 28405e3dcf big mumbo jumo of interleaved patches. * Use seperate "state" and "config" paths * Pass the fact that we are in system mode via an env var $PULSE_SYSTEM instead of as var in pa_core * Properly check proc name when checking PID files. Don't check exename, because we cannot read that for other uids Lennart Poettering 2008-05-21 22:50:58 +00:00
  • 6be0c7526c move device volume file to state dir Lennart Poettering 2008-05-21 22:47:07 +00:00
  • 9f86d0f543 move default device from runtime to state dir Lennart Poettering 2008-05-21 22:46:21 +00:00
  • 32c53f303a move volume restore table from runtime to state dir, fix another compiler warning Lennart Poettering 2008-05-21 22:45:52 +00:00
  • 2ed84edbae define PA_SYSTEM_CONFIG_PATH and PA_SYSTEM_STATE_PATH for C Lennart Poettering 2008-05-21 22:45:04 +00:00
  • 29c7ded9da deal with failing pa_runtime_path() Lennart Poettering 2008-05-21 22:44:37 +00:00
  • dd662d5c57 properly handle if pa_runtime_path() fails Lennart Poettering 2008-05-21 22:43:22 +00:00
  • 341042b0aa make state and config path for system instance configurable Lennart Poettering 2008-05-21 22:42:57 +00:00
  • 8125a75535 fix a compiler warning Lennart Poettering 2008-05-21 22:42:32 +00:00
  • 9303cdd732 add O_NOCTTY Lennart Poettering 2008-05-21 22:42:01 +00:00
  • a9c80b4383 add new functions pa_state_path()/pa_get_state_dir(), change return value of pa_startswith()/pa_endswith() pa_bool, add pa_in_system_mode() and pa_streq(); alow pa_unlock_lockfile() without file name spec Lennart Poettering 2008-05-21 22:39:40 +00:00
  • d65b901e37 fix daemon shutdown with active monitor streams Lennart Poettering 2008-05-18 23:56:16 +00:00
  • 174d830a26 ignore close-test binary Lennart Poettering 2008-05-18 19:13:45 +00:00
  • b467791b07 add a small test program for pa_close_all() Lennart Poettering 2008-05-18 19:12:59 +00:00
  • ef4c6bf9d2 remove a misplaced assert Lennart Poettering 2008-05-18 19:10:32 +00:00
  • 7df3c4f378 make sure we don't hit an assert when autospawning Lennart Poettering 2008-05-18 19:09:59 +00:00
  • 3c7a7952b2 fix pa_close_all() to make it actually work as advertised Lennart Poettering 2008-05-18 19:09:14 +00:00
  • 0a2b6dd38f fix a misplaced assert Lennart Poettering 2008-05-18 19:06:31 +00:00
  • 940f89860c fix return value of noop pa_limit_caps() Lennart Poettering 2008-05-17 10:57:52 +00:00
  • 3bbc3768bf add another assert to catch sleep time miscalculations easier Lennart Poettering 2008-05-17 09:59:34 +00:00
  • 7d0b5958a4 use pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA drivers; fix sleep time calculation Lennart Poettering 2008-05-17 09:57:45 +00:00
  • de8a386460 use pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA drivers; fix sleep time calculation Lennart Poettering 2008-05-17 09:57:32 +00:00
  • 58487ee4e4 use pa_sink_set_latency_range() where applicable Lennart Poettering 2008-05-17 09:16:00 +00:00
  • 7e5e015cbe link latency of monitor source to sink Lennart Poettering 2008-05-17 09:14:47 +00:00
  • 9b44665c08 add new function pa_source_set_latency_range(), fix type of requested_latency Lennart Poettering 2008-05-17 09:12:45 +00:00
  • 2e71f4d015 only unref memblock if there is one Lennart Poettering 2008-05-17 09:11:52 +00:00
  • 971342de0b dump latency metrics for recording streams, too Lennart Poettering 2008-05-17 09:11:21 +00:00
  • 6285a46935 fix peak detection pseudo resampler Lennart Poettering 2008-05-17 09:10:16 +00:00
  • e35bae8a65 fix pa_stream flag checking Lennart Poettering 2008-05-17 09:09:29 +00:00
  • 856a2f96c6 type fixes for constants Lennart Poettering 2008-05-17 09:08:40 +00:00
  • b2f8aecf4d type fixes for constants Lennart Poettering 2008-05-17 09:08:13 +00:00
  • b709ab50e0 fix a minor compiler warning Lennart Poettering 2008-05-17 09:07:35 +00:00
  • 85d9abea8a declare the explicit type for our PA_xSEC_PER_ySEC constants Lennart Poettering 2008-05-17 09:07:07 +00:00
  • b8849f5c2f bump so revisions Lennart Poettering 2008-05-15 23:41:42 +00:00
  • a1639e1586 also update PROTOCOL Lennart Poettering 2008-05-15 23:36:44 +00:00
  • 045c1d602d merge glitch-free branch back into trunk Lennart Poettering 2008-05-15 23:34:41 +00:00
  • 3aadad12a0 update protocol spec Lennart Poettering 2008-05-15 23:25:11 +00:00
  • 43dfc2a000 follow recent alsa sink changes in the alsa source Lennart Poettering 2008-05-15 23:19:37 +00:00
  • 734f071df7 decrease default tsched buffer to 2s to reduce overall memory consumption Lennart Poettering 2008-05-15 23:17:58 +00:00
  • 813d40c13d fix up requested latency when we move a record stream Lennart Poettering 2008-05-15 23:17:22 +00:00
  • e3c5a77750 fix moving of record streams Lennart Poettering 2008-05-15 23:16:49 +00:00
  • 99a451655a don't access stream before it is valid Lennart Poettering 2008-05-15 23:16:28 +00:00
  • 74f8a67e98 fix suspend for alsa sink Lennart Poettering 2008-05-15 22:24:18 +00:00
  • f021538d91 export a couple of more functions from libpulse Lennart Poettering 2008-05-15 22:23:14 +00:00
  • e0dc1e483c Print message when stream started playback, use terminal sequence to clear line when printing that message Lennart Poettering 2008-05-15 22:22:41 +00:00
  • 86ea73acd3 reduce malloc() usage when logging, to minimize the hit of logging in RT threads. Not complete yet, i18n still uses malloc Lennart Poettering 2008-05-15 22:21:05 +00:00
  • b57c520149 add pa_vsnprintf() Lennart Poettering 2008-05-15 22:14:45 +00:00
  • 1a2e5a8a80 add adaptive resampler to the RTP receiver, other modernizations Lennart Poettering 2008-05-15 20:45:32 +00:00
  • cfc48422c8 export a few more properties for RTP streams Lennart Poettering 2008-05-15 20:40:20 +00:00
  • f96a8adb0c increase default mempool size, make mempool_slot an abstract struct because the only fields it defined where actually unused Lennart Poettering 2008-05-15 20:39:46 +00:00
  • 70c5967806 increase shm size limit, modernizations Lennart Poettering 2008-05-15 20:38:29 +00:00
  • 2bc77ff49a reduce number of allocated memblocks when receiving RTP data by reusing blocks Lennart Poettering 2008-05-15 18:00:31 +00:00
  • d10ee7d6e2 more pa_bool_t'ization Lennart Poettering 2008-05-15 17:59:42 +00:00
  • c801d089cd use pa_bool_t Lennart Poettering 2008-05-15 17:59:12 +00:00
  • 076ffa340a add 'stream' as media role Lennart Poettering 2008-05-15 17:58:53 +00:00
  • 1b7157a8d6 add PA_REFCNT_INIT_ZERO Lennart Poettering 2008-05-15 17:58:26 +00:00
  • 689528045e add pa_ulog2() Lennart Poettering 2008-05-15 17:58:11 +00:00
  • 103ceaa944 add pa_memblockq_get_nblocks() Lennart Poettering 2008-05-15 17:57:52 +00:00
  • df73688440 modernizations Lennart Poettering 2008-05-14 17:13:28 +00:00
  • 37813d9745 modernizations Lennart Poettering 2008-05-14 02:44:38 +00:00
  • 787b869694 initialize volume properly, set more properties, modernizations Lennart Poettering 2008-05-14 02:36:38 +00:00
  • 2eca8c9496 don't spam us with wakeup msgs in non-tsched mode Lennart Poettering 2008-05-14 02:35:50 +00:00
  • 9c48ed116c update pipe source for glitch-free, too Lennart Poettering 2008-05-14 02:03:01 +00:00
  • 8baa1a46e3 fix pipe sink for glitch-free Lennart Poettering 2008-05-14 01:58:24 +00:00
  • dd29f67703 fix braindead mistake Lennart Poettering 2008-05-14 01:00:35 +00:00
  • 94c269e0f4 some fixes to make the esound protocol work on glitch-free again Lennart Poettering 2008-05-14 00:43:24 +00:00
  • 8df6529ee6 some fixes to make the simple protocol work on glitch-free again Lennart Poettering 2008-05-14 00:42:46 +00:00
  • c5faeb1390 store peer name in native-protocol.peer property Lennart Poettering 2008-05-14 00:41:58 +00:00
  • aae8beb8cc if zero is passed to pa_memblock_new() allocate largest memory block possible from mempool Lennart Poettering 2008-05-14 00:40:36 +00:00
  • f124445f89 fix module-sine for glitch-free Lennart Poettering 2008-05-09 23:15:06 +00:00
  • df92b23fa6 - Fix moving of sink inputs between sinks - Don't write more than a single buffer size in the ALSA driver at a time, to give the clients time to fill up the memblockq again - Add API for querying the requested latency of a sink input/source output - Drop get_letancy() from vtable of sinks/sources Lennart Poettering 2008-05-09 22:48:37 +00:00
  • 580d56358d modify test to generate data events out-of-order Lennart Poettering 2008-05-09 22:28:38 +00:00
  • 0ea0e0694e make sure the smoother code can deal with incoming data that is out-of-order; start smoothing only when we have at least a configurable number of entries in our history Lennart Poettering 2008-05-09 22:27:44 +00:00
  • e97a347325 bah, english sucks Lennart Poettering 2008-05-09 22:11:57 +00:00
  • 1f196e7988 fix some comments Lennart Poettering 2008-05-08 01:08:33 +00:00
  • 7b5c6a34e2 fix recording Lennart Poettering 2008-05-07 21:10:19 +00:00
  • 21fa1cf857 double default asyncq size Lennart Poettering 2008-05-07 21:09:49 +00:00
  • 876d5b408a fix a race condition when tearing down the ladspa/remap sink Lennart Poettering 2008-05-07 20:36:41 +00:00
  • 6f4d44bb50 apparently alsa expects us to free the memory for card names Lennart Poettering 2008-05-07 20:35:25 +00:00
  • d21f458951 fix a memory leak Lennart Poettering 2008-05-07 20:34:39 +00:00
  • 9354da4960 make memchunk/memblockq streams work with glitch-free Lennart Poettering 2008-05-07 02:22:30 +00:00
  • dafcf2053f beefup proplist handling for sound events Lennart Poettering 2008-05-07 02:21:10 +00:00
  • 8afbdc375c update to new rewinding logic Lennart Poettering 2008-05-07 01:38:16 +00:00
  • 9d7fde5fe3 rework the rewinding logic once again, fixing Lennart Poettering 2008-05-07 01:37:42 +00:00
  • 6c28f1d5b9 decrease verbosity a bit Lennart Poettering 2008-05-07 01:36:44 +00:00
  • 44241ac243 define callback function types; allow pa_signal_done() to be called even without prior pa_signal_init() Lennart Poettering 2008-05-07 01:34:54 +00:00
  • 91fbb691a2 explain why changing rlimits at this time is safe Lennart Poettering 2008-05-06 21:12:39 +00:00
  • dee3555b2a rename 'routing' to 'filter' Lennart Poettering 2008-05-06 21:11:55 +00:00
  • 4fa6cb4589 add a few more asserts, don't allow pa_limit_caps() to fail Lennart Poettering 2008-05-06 21:10:53 +00:00
  • 71d14d40c8 fix remapping sink for glitch-free Lennart Poettering 2008-05-03 02:01:29 +00:00
  • a1c10b5ecb update LADSPA module for glitch-free moed Lennart Poettering 2008-05-03 01:36:42 +00:00
  • 59835d955b explain why a rewind was requested Lennart Poettering 2008-05-03 01:36:05 +00:00
  • 82caf5a886 when rewinding after the end of an underrun, make sure to rewind as much as we can, so that we deal properly with changed latencies of the sink Lennart Poettering 2008-05-03 01:34:45 +00:00
  • 3167e0f999 follow _unlink() changes from sink-input Lennart Poettering 2008-05-03 01:33:33 +00:00
  • d2da344fee send PA_SINK_MESSAGE_REMOVE_INPUT only when an asyncmsgq is available, reset resampler only when we really need to Lennart Poettering 2008-05-03 01:32:57 +00:00
  • d2be471ed2 make sure to call sink->update_requested_latency() always when we change latency, same for source Lennart Poettering 2008-05-03 01:31:39 +00:00
  • 59a7467a64 don't require a module name when resolving a dl symbol Lennart Poettering 2008-05-03 01:30:40 +00:00
  • ff09fa391a Fix typo: "now"->"not". Tanu Kaskinen 2008-05-02 13:12:51 +00:00
  • 43a30a2ff1 Fix setrlimit() return value comparsion. Tanu Kaskinen 2008-05-02 13:08:15 +00:00
  • bb4f83b901 only send PA_SINK_MESSAGE_SET_STATE if there's still an asyncmsqg around to do so Lennart Poettering 2008-05-02 01:26:10 +00:00