Commit graph

  • 35483eeab7 add a new module module-remap-sink which can be used to remap the channel maps of an already existant sink. one use case is to create a virtual sink that redirects stereo data to the rear speakers of a surround card. Lennart Poettering 2007-09-16 22:03:19 +00:00
  • 1d1eda6059 add a "length" argument to the seek functions, as an optimization to request a certain block size if any data needs to be generated. this is merely a hint. Lennart Poettering 2007-09-16 22:00:38 +00:00
  • 5df7a85473 split memblocks into multiples of the mempool tile size Lennart Poettering 2007-09-16 21:58:04 +00:00
  • ac1ee4e675 add new API pa_mempool_block_size_max() to query the maximum tile size Lennart Poettering 2007-09-16 21:57:15 +00:00
  • fce8507179 * add a new resampler "copy" which is does not change sample rates but copies data unmodified from input to output. * add a new API pa_resampler_max_block_size() which can be used to determine the maximum input buffer size for the resampler so that the bounce buffers don't grow larger then the mempool tile size Lennart Poettering 2007-09-16 21:56:38 +00:00
  • d079b4863b properly define MAX/MIN macros Lennart Poettering 2007-09-16 21:54:12 +00:00
  • 87795b0973 add missing header file changes for frame alignment apis Lennart Poettering 2007-09-16 15:10:16 +00:00
  • e17fbf0606 be a little bit more elaborate on the reason why we drop to software volume control if hw is not featureful enough for us Lennart Poettering 2007-09-16 15:09:45 +00:00
  • 0469c84366 add frame alignment APIs; don't require memory to be writable when silencing it (required of the mmap modes drivers where the hw data needs to be silenced, although it is not writable to others) Lennart Poettering 2007-09-16 15:05:26 +00:00
  • 298d2392f9 trivial typo Lennart Poettering 2007-09-15 14:57:18 +00:00
  • 8389264d65 count corked streams per sink/source and make pa_sink_used_by() return only the number of streams that are not corked. Introduce pa_sink_linked_by() returning the number of streams connected at all. This will allow suspending of sinks/sources when all streams connected to a sink are corked. Lennart Poettering 2007-09-15 14:21:05 +00:00
  • 5ae4eed52e Move attaching/detaching from a pa_rtpoll into pa_sink proper, remove it from module-combine Lennart Poettering 2007-09-14 23:26:17 +00:00
  • 3396b65f15 simplify rt loops a bit by moving more code into pa_rtpoll. It is now possible to attach "work" functions to a pa_rtpoll_item, which will be called in each loop iteration. This allows us to hide the message processing in the RT loops and to drop the seperate sink_input->process hooks. Basically, only the driver-specific code remains in the RT loops. Lennart Poettering 2007-09-14 21:51:05 +00:00
  • f0b9dce32e explicitly destory TLS data before destroying TLS Lennart Poettering 2007-09-14 21:05:47 +00:00
  • bf274cb617 add two new macros PA_ONCE_BEGIN and PA_ONCE_END which allow usage of pa_once without declaring a function to be called Lennart Poettering 2007-09-14 21:04:08 +00:00
  • 04ed0f9536 call dbus_shutdown() before exiting, to make valgrind output more useful Lennart Poettering 2007-09-14 21:02:18 +00:00
  • 8775309234 fix two typos in reference count handling Lennart Poettering 2007-09-14 21:01:00 +00:00
  • 9be0d70ea7 make newer gcc shut up Lennart Poettering 2007-09-14 17:12:25 +00:00
  • ef83a19525 extend rtpoll API to allow registration of arbitray functions to be executed in the event loop. Add priority system for specifying the order of these functions. Lennart Poettering 2007-09-12 22:57:29 +00:00
  • cf3e9da9dd add missing config.h inclusion Lennart Poettering 2007-09-12 22:54:22 +00:00
  • 03f311a464 reindent, and s/assert/pa_assert/g Lennart Poettering 2007-09-12 22:50:44 +00:00
  • 4137865815 change pa_modargs_get_channel_map() to take an extra argument for specifying the name of the modargs attribute to parse Lennart Poettering 2007-09-12 20:12:13 +00:00
  • d9c4c9509d add new pa_pipe_close() API to close two fds at the same time Lennart Poettering 2007-09-12 00:17:51 +00:00
  • 7f92542420 consolidate close() calls to pa_close(), and make sure on every occasion that we handle failures of close() sensibly Lennart Poettering 2007-09-12 00:04:21 +00:00
  • 54506ab44a on systems where we know that POSIX shm is mapped to /dev/shm, add the ability to cleanup stale SHM segments. (Right now only Linux) Lennart Poettering 2007-09-11 23:12:24 +00:00
  • d5bedbcd98 remaining s/assert/pa_assert/ and refcnt.h modernizations Lennart Poettering 2007-09-11 20:48:33 +00:00
  • 2988c3d9fb Rework core-error.c on top of PA_STATIC_TLS_DECLARE, the windows specific parts need to be moved to thread-win32.c Lennart Poettering 2007-09-11 15:27:32 +00:00
  • abb18d9c4c explcitly initialize tls memory to NULL Lennart Poettering 2007-09-11 15:14:46 +00:00
  • 9c523e0607 more modernizations, s/assert/pa_assert/g Lennart Poettering 2007-09-11 14:58:25 +00:00
  • 27f13b3853 finish modernizations in pulse/, s/assert/pa_assert/g Lennart Poettering 2007-09-11 14:23:38 +00:00
  • 038e560152 More s/assert/pa_assert/ modernizations Lennart Poettering 2007-09-11 14:04:38 +00:00
  • 391d09cd6e add 'wait' parameter to pa_rtpoll_run(), if zero pa_rtpoll_runn will only update the struct pollfd but not wait for an event Lennart Poettering 2007-09-11 13:15:39 +00:00
  • 597a1c4e82 port client libs to refcnt.h Lennart Poettering 2007-09-11 12:42:17 +00:00
  • 55d9fcb126 add globally defined PA_PATH_SEP macro, replacing private per-file macros Lennart Poettering 2007-09-11 01:00:33 +00:00
  • 6ac66e453f add missing config.h includes Lennart Poettering 2007-09-11 00:56:21 +00:00
  • e2e2ce79e2 Instead of including config.h from header files, check whether PACKAGE is defined and if not, fail (thus using PACKAGE as a check for inclusion of config.h) Lennart Poettering 2007-09-11 00:30:53 +00:00
  • 848a4d7487 more s/assert/pa_assert/ modernizations Lennart Poettering 2007-09-11 00:24:10 +00:00
  • 9b0ab39b1c unify static TLS support, make use of gcc __thread attribute if available Lennart Poettering 2007-09-10 23:57:10 +00:00
  • 3d122d0fee s/assert/pa_assert/ modernizations Lennart Poettering 2007-09-10 22:17:30 +00:00
  • de21b54bd1 add new API pa_threaded_mainloop_in_thread(), update test case for it Lennart Poettering 2007-09-10 21:58:01 +00:00
  • a6f8b813ae simple modernizations: s/assert/pa_assert Lennart Poettering 2007-09-10 21:48:45 +00:00
  • 662988650a make sure we send each memblock only once when recording, not twice Lennart Poettering 2007-09-10 20:57:17 +00:00
  • d5caa0205f minor cleanup Lennart Poettering 2007-09-10 20:56:36 +00:00
  • a77158e67a make the memchunk writeable before silencing it Lennart Poettering 2007-09-10 20:56:13 +00:00
  • 841fcb4557 beef up comment Lennart Poettering 2007-09-10 20:55:46 +00:00
  • 98f9bd62a6 make sure that the device volume is properly read before we call pa_sink_put() and thus make the pa_sink available Lennart Poettering 2007-09-10 20:55:01 +00:00
  • 69ece668ec add pulseaudio logo with text Lennart Poettering 2007-09-10 19:01:33 +00:00
  • 44e514c51f update todo file a little Lennart Poettering 2007-09-10 19:01:09 +00:00
  • 6c1682c8da hide a couple of files Lennart Poettering 2007-09-10 18:56:03 +00:00
  • 27c3bd497d document that the native amd64 atomic ops implementation is incomplete Lennart Poettering 2007-09-10 18:55:36 +00:00
  • 06db9219a0 don't call pa_source_process_msg() for PA_SOURCE_MESSAGE_GET_LATENCY, since it makes querying the latency always fail Lennart Poettering 2007-09-10 14:23:00 +00:00
  • d9b3c0eef2 posix_madvise and posix_fadvise aren't present on all systems. Pierre Ossman 2007-09-10 11:35:30 +00:00
  • 9630e8df57 Remove mkdir_p again... Pierre Ossman 2007-09-10 11:34:35 +00:00
  • 028632fd57 TIOCINQ isn't present on all systems. Pierre Ossman 2007-09-10 11:33:47 +00:00
  • e1766011ca Monotonic clock is optional so treat is as such. Pierre Ossman 2007-09-10 11:27:56 +00:00
  • 717b164161 POSIX realtime clock functions are in time.h so make sure to include it. Pierre Ossman 2007-09-10 11:19:53 +00:00
  • dfdf1d7d9f Changed PA_SAMPLE_S16_NE to PA_SAMPLE_S16NE in the example code in the Simple API Doxygen documentation. Tanu Kaskinen 2007-09-09 09:39:26 +00:00
  • b41dbfd28d fix an assert when runnig module-oss in record only-mode. optimize allocation of memblocks on playback Lennart Poettering 2007-09-06 23:29:16 +00:00
  • d60940dbe4 install libpulsecore again, since libtool otherwise links it statically into every single module Lennart Poettering 2007-09-06 23:11:22 +00:00
  • e4eefb8ce0 fix copynpaste error Lennart Poettering 2007-09-06 23:10:34 +00:00
  • 45ba7117dc downgrade realtime group membership warning to 'info' at be a little bit more elaborate Lennart Poettering 2007-09-06 20:45:43 +00:00
  • 3b2cf1ade5 update default config: - check for existance of modules before loading them - disable all event sounds except hotplug by default Lennart Poettering 2007-09-06 20:38:10 +00:00
  • b1fd53b20b explicitly test for the availability of dbus_watch_get_unix_fd() before using it. The previous version-based check didn't work anyway since the constants checked for weren't set. Lennart Poettering 2007-09-06 20:06:02 +00:00
  • a0d19c0d13 update libltdl copy Lennart Poettering 2007-09-04 21:34:04 +00:00
  • a4757a1dd9 add native amd64 atomic int implementation Lennart Poettering 2007-09-04 21:25:26 +00:00
  • 984ef82e52 detect whether gcc atomic builtins are available Lennart Poettering 2007-09-04 21:24:45 +00:00
  • 4c31ff9b45 fix a couple of compiler warnings Lennart Poettering 2007-09-04 20:01:19 +00:00
  • 2dbe137daf if available, use native gcc atomicity builtins Lennart Poettering 2007-09-04 20:00:19 +00:00
  • 31c04a9047 create config.rpath to fix build on fedora Lennart Poettering 2007-09-04 16:19:07 +00:00
  • ac5f9781ba add a few missing files for make dist Lennart Poettering 2007-09-04 02:41:15 +00:00
  • 738f7d7cd6 drop initial libtool_lock() call since this is a debian-specific borkage Lennart Poettering 2007-09-04 02:31:15 +00:00
  • d1927c7f37 initialize libltdl for multi-thread support Lennart Poettering 2007-09-04 02:25:44 +00:00
  • 65ac0ea99a When in PA_STREAM_AUTO_TIMING_UPDATE mode, delay completion of initialization until we have the first timing data Lennart Poettering 2007-09-04 01:37:34 +00:00
  • c029038164 actually add source code of module-default-device-restore Lennart Poettering 2007-09-03 20:53:44 +00:00
  • 11bf38042f add a new module module-default-device-restore which automatically saves and restores the selected default device. Enable it by default. Lennart Poettering 2007-09-03 20:53:07 +00:00
  • 1d3e70c7d3 header file cleanup Lennart Poettering 2007-09-03 20:51:17 +00:00
  • 104feb0aac only list supported resampling methods when --dump-resample-methods is executed Lennart Poettering 2007-09-03 20:50:55 +00:00
  • c9a0df3617 add new API function pa_resample_method_supported() which tests whether a resampling method is supported. Fix building with libsamplerate enabled Lennart Poettering 2007-09-03 20:50:03 +00:00
  • 5bc1221d40 actually define HAVE_LIBSAMPLERATE with AC_DEFINE Lennart Poettering 2007-09-03 20:39:55 +00:00
  • b2c4779db4 make libpulse-core a noinst lib, because it does not have yet a stable API and won't get one anytime. Also, don't install its header files Lennart Poettering 2007-09-02 22:08:30 +00:00
  • b6bfaa9249 add missing configure.ac part of the libsamplerate patch from r1753, re #125 Lennart Poettering 2007-09-02 21:22:30 +00:00
  • 2e8244b4bc Allow compilation without libsamplerate; based on patch from Marc-Andre Lureau; re #125 Lennart Poettering 2007-09-02 21:20:57 +00:00
  • cc8c499875 fix dbus version check for dbus_watch_get_unix_fd() Lennart Poettering 2007-09-02 21:18:46 +00:00
  • 011dfa509b make argument to pa_memchunk_will_need() const Lennart Poettering 2007-09-02 21:13:17 +00:00
  • 68981e5e97 fix build for dbus < 1.1.1, re #126, patch from Marc-Andre Lureau Lennart Poettering 2007-09-02 20:51:25 +00:00
  • ca059ab9ef Don't set RLIMIT_MEMBLOCK to 0 on startup. Retain 4 pages Lennart Poettering 2007-09-02 20:39:45 +00:00
  • 3e188b192c make use of pa_memchunk_will_need() before handing sample cache audio to the RT threads Lennart Poettering 2007-09-02 20:38:57 +00:00
  • 7dbabc47bb add new pa_memchunk_will_need() API, similar to pa_memblock_will_need() Lennart Poettering 2007-09-02 20:37:55 +00:00
  • f36ca79716 add new API pa_memblock_will_need() and make use of PA_PAGE_SIZE macro Lennart Poettering 2007-09-02 20:37:17 +00:00
  • 2f7b6fead1 add new pa_will_need() API for paging in memory Lennart Poettering 2007-09-02 20:36:32 +00:00
  • 8cf822a3d9 make use of new PA_PAGE_SIZE macro Lennart Poettering 2007-09-02 20:36:00 +00:00
  • b54e71a96a make use of new memory page alignment macros, reindent Lennart Poettering 2007-09-02 20:35:36 +00:00
  • fe1f55b877 add a couple of macros for memory page alignment Lennart Poettering 2007-09-02 20:34:57 +00:00
  • 1df817cb0a add pa_channel_position_to_pretty_string() to header Lennart Poettering 2007-08-31 10:45:49 +00:00
  • 718b1d2a56 add pa_channel_position_to_pretty_string() for usage in pavucontrol/pavumeter Lennart Poettering 2007-08-31 10:45:16 +00:00
  • 02811bfc0f make sure that we make include paths absolute before calling chdir() Lennart Poettering 2007-08-31 00:52:42 +00:00
  • a1322269d5 minor reformatting Lennart Poettering 2007-08-31 00:51:26 +00:00
  • 6eb2f88c5d add two new functions pa_make_path_absolute()/pa_getcwd() Lennart Poettering 2007-08-31 00:51:01 +00:00
  • c627871fdb replace a pa_assert() by an pa_assert_se() Lennart Poettering 2007-08-31 00:22:58 +00:00
  • f59dd18fe6 - fix suspend handling - set sink description properly - honour resample_method setting Lennart Poettering 2007-08-31 00:22:31 +00:00