Commit graph

  • 2622b0ca9e update hook list test Lennart Poettering 2006-08-12 23:55:48 +00:00
  • 82a913d73e reall add type safe hook list Lennart Poettering 2006-08-12 23:55:22 +00:00
  • 80d73dd21b implement typeafe hook chain Lennart Poettering 2006-08-12 23:35:44 +00:00
  • 7f70ca31a1 extend maximum sink/source name length, because HAL UDIs can get ridiculously long Lennart Poettering 2006-08-12 17:59:10 +00:00
  • 17964dda37 update todo Lennart Poettering 2006-08-12 17:07:49 +00:00
  • 02e083cbc4 test if sink->monitor_source is set before making use of it Lennart Poettering 2006-08-12 17:06:39 +00:00
  • dbe6bdd2bc make use of pa_sink_used_by()/pa_source_used_by() wherever applicable Lennart Poettering 2006-08-12 17:06:05 +00:00
  • b5207fc9ca add pa_sink_used_by()/pa_source_used_by() Lennart Poettering 2006-08-12 16:50:58 +00:00
  • b45c39269f categorize todo file Lennart Poettering 2006-08-12 16:40:59 +00:00
  • 28f86ea698 name the sink/source after the device file, just like we already do for the non-mmaped driver Lennart Poettering 2006-08-12 16:33:31 +00:00
  • bf79e97591 generate default sink/source names from the device files they belong to Lennart Poettering 2006-08-12 16:26:59 +00:00
  • 005017647b update todo Lennart Poettering 2006-08-12 16:02:52 +00:00
  • 4c9c4269bb handle hot-remeving of OSS devices properly Lennart Poettering 2006-08-12 16:02:26 +00:00
  • 3cfed301d9 print the device capabilities after opening the device Lennart Poettering 2006-08-12 16:01:40 +00:00
  • fbeeb8b70d when the requested sample format is not available for OSS devices, print a nice warning and take what we can get instead Lennart Poettering 2006-08-12 15:09:49 +00:00
  • 0547b0fd4a there's no need to queue subscription events if noone is listening, hence don't do it! Lennart Poettering 2006-08-12 15:08:53 +00:00
  • c86890d5e7 * only load an OSS driver for the first device of a sound card, similar to what is done for ALSA. * fix a mem leak Lennart Poettering 2006-08-12 13:18:34 +00:00
  • 7fa0744806 fix a segfault in module-oss Lennart Poettering 2006-08-12 13:17:33 +00:00
  • 2d702715f7 fix pa_gettimeofday() return value testing Lennart Poettering 2006-08-12 12:07:22 +00:00
  • adfa76c433 update todo Lennart Poettering 2006-08-12 12:03:30 +00:00
  • 365ceec6d6 update todo Lennart Poettering 2006-08-12 02:20:05 +00:00
  • 3aba099fc3 clean up event generation a little: suppress unnecessary events and generate new ones on owner change Lennart Poettering 2006-08-12 02:19:36 +00:00
  • 47d009afd6 rework subscription code: try to drop redundant queued events Lennart Poettering 2006-08-12 02:18:24 +00:00
  • f8e5f47e23 fix a compiler warning Lennart Poettering 2006-08-12 02:16:47 +00:00
  • e9d9356d11 add new macro PA_LLIST_INSERT_AFTER Lennart Poettering 2006-08-12 02:16:12 +00:00
  • bb961569eb increase module argument buffer size to prevent truncating names Shahms E. King 2006-08-12 01:17:19 +00:00
  • 1e12c75ba1 update todo Lennart Poettering 2006-08-12 00:26:17 +00:00
  • 8da9b94af6 allow setting the null sink description by a module parameter Lennart Poettering 2006-08-12 00:25:52 +00:00
  • bfa6604b1d don't set the sink/source descriptions manually, use the new functions pa_{sink,source}_set_description() instead Lennart Poettering 2006-08-11 23:58:55 +00:00
  • af1b0317f6 comment which values in pa_{sink,source,sink_input,source_output} structures may be NULL Lennart Poettering 2006-08-11 23:31:59 +00:00
  • c90dd53268 * introduce new functions pa_sink_set_description() and pa_source_set_description() for changing the description of a sink/source * allow sinks without monitor sources attached Lennart Poettering 2006-08-11 17:53:34 +00:00
  • 0aebc03d1a update todo Lennart Poettering 2006-08-11 17:15:41 +00:00
  • bfff23db10 shorten sink/source device descriptions a little Lennart Poettering 2006-08-11 17:14:35 +00:00
  • 1d7b8e1ba7 use the HAL UDI for naming input/output devices Lennart Poettering 2006-08-11 17:12:54 +00:00
  • 539612a5c2 do not export name validity checking routes and apply them only to sink/source names, not sample names Lennart Poettering 2006-08-11 16:58:21 +00:00
  • e1316f5728 fix bad memory access and a leak when detructing ALSA fd lists Lennart Poettering 2006-08-11 16:56:47 +00:00
  • 576c4dd96a rework name register a litle to only allow "valid" names. Lennart Poettering 2006-08-11 16:38:51 +00:00
  • bf854c445a Build HAL support only when either OSS or ALSA is available Lennart Poettering 2006-08-11 16:38:05 +00:00
  • dcd3acc0b8 remove OSS specific code from module-hal-detect if HAVE_OSS is not set. Same for ALSA Lennart Poettering 2006-08-11 16:29:46 +00:00
  • 7a4e1c9a0e ALSA: handle write()/read() errors properly by unloading the driver module. This should fix problems when removing USB audio device while pulseaudio is running. Lennart Poettering 2006-08-11 15:08:09 +00:00
  • b0b968df00 change order of the ALSA event dispatch code to make sure that the code survives if the event dispatcher frees the ALSA client Lennart Poettering 2006-08-11 15:06:03 +00:00
  • 59f1a67cb5 use the copied udi string as hash key for the device table, because the temporary one is freed when the function exits Lennart Poettering 2006-08-11 15:05:02 +00:00
  • 7ee7a23408 add HAL support for OSS devices and capability changes Shahms E. King 2006-08-08 19:26:06 +00:00
  • b382df5868 clean up hal patch to use pa_xnew and timeval compatibility wrappers Shahms E. King 2006-08-07 20:29:31 +00:00
  • 5d8ccfd839 try to reduce volume updates in the ALSA sinks/sources: only touch the shadowed hw volme if necessary Lennart Poettering 2006-08-07 16:50:15 +00:00
  • d953870564 * add SVN $Id$ tags * add a const Lennart Poettering 2006-08-06 19:14:07 +00:00
  • 050b73912c merge HAL support from Shams E. King Lennart Poettering 2006-08-06 16:16:50 +00:00
  • f74e5ef884 update todo Lennart Poettering 2006-08-03 22:34:22 +00:00
  • ad95c96a72 implement "pactl move-source-output" Lennart Poettering 2006-08-03 22:33:54 +00:00
  • e52436b6c4 implement pa_context_move_source_output_by_{name,index}() Lennart Poettering 2006-08-03 22:33:11 +00:00
  • 5fdc39dc26 wrap pa_source_output_move_to() in the native protocol Lennart Poettering 2006-08-03 22:32:23 +00:00
  • 1c45061fe1 add new CLI command move-source-output as wrapper around pa_source_output_move_to() Lennart Poettering 2006-08-03 22:31:35 +00:00
  • 2d00de5851 Implement pa_source_input_move_to() for moving record streams between sources Lennart Poettering 2006-08-03 22:30:45 +00:00
  • ddc69fccb5 - don't call pa_sink_notify in pa_sink_input_new() because the virtual methods are not yet initialized at this time - some minor cleanups Lennart Poettering 2006-08-03 22:29:55 +00:00
  • 7f93d08d40 bump API and protocol version. Return PA_ERR_NOTSUPPORTED if pa_context_move_sink_input_by_*()is called for servers that don't support it Lennart Poettering 2006-08-01 21:04:43 +00:00
  • bc30e2d934 add new "move-sink-input" command to pactl Lennart Poettering 2006-07-31 21:55:42 +00:00
  • bb9b08758e wrap PA_COMMAND_MOVE_SINK_INPUT for libpulse Lennart Poettering 2006-07-31 21:55:09 +00:00
  • 785477ba93 add new native protocol function for moving sink inputs between sinks Lennart Poettering 2006-07-31 21:54:46 +00:00
  • 304fcbb843 add new commands opcode for moving sink inputs and source outputs Lennart Poettering 2006-07-31 21:54:20 +00:00
  • ccf67d2988 deal properly with recursive module unloading Lennart Poettering 2006-07-31 21:53:48 +00:00
  • e2e94ca47c fix bad memory access if a non-existing entry shall be removed from a pa_idxset by index Lennart Poettering 2006-07-31 21:53:21 +00:00
  • d7ee1bcf75 fix module-gconf initialization Lennart Poettering 2006-07-29 17:42:25 +00:00
  • 646deeaee6 don't hit an assetr if there are operations outstanding when the pa_context is destroyed Lennart Poettering 2006-07-29 17:20:08 +00:00
  • a7cf5e0f2d fix two typos (pierre, have you been sleeping? next time please the comments wrong but the code right, not the other way round! ;-)) Lennart Poettering 2006-07-29 15:34:36 +00:00
  • a1e8b0968b add new CLI function "move-sink-input" as wrapper around pa_sink_input_move_to() Lennart Poettering 2006-07-29 15:07:15 +00:00
  • 5e9295037f * implement "hot" moving of playback streams between sinks (pa_sink_input_move_to()). * optimize the adjusting of the volume in pa_sink_input_peek() a little Lennart Poettering 2006-07-29 15:06:49 +00:00
  • 4dd3b31825 free the memblockq if we decide not to play it Lennart Poettering 2006-07-29 15:04:17 +00:00
  • f15b4c7c70 if the memblockq is empty, return -1 in all cases Lennart Poettering 2006-07-29 15:03:26 +00:00
  • 9310a2e3b8 fix calculation of pa_usec_to_bytes, to make sure that it never returns fractions of a frame size Lennart Poettering 2006-07-29 15:02:53 +00:00
  • b325e07c73 handle EOF correctly if it is read before the stream was created Lennart Poettering 2006-07-29 15:02:24 +00:00
  • d1db037577 for the playing field of pa_timing_info use pa_sink_input::state == PA_SINK_INPUT_RUNNING. This means that this variable will now refer to the current state and not to the expected future state, which is probably more what clients expect. Lennart Poettering 2006-07-28 23:29:37 +00:00
  • f1c46113ae fold the seperate variable pa_sink_input::playing into pa_sink_input::state as state PA_SINK_INPUT_DRAINED. The following mappings hold: Lennart Poettering 2006-07-28 23:27:16 +00:00
  • 12aa842174 introduce pa_play_memblockq() which creates a playback stream and passes the data from the memblockq to it. after that is done, frees the memblockq Lennart Poettering 2006-07-28 22:52:28 +00:00
  • ecd4655b87 update todo Lennart Poettering 2006-07-27 18:40:01 +00:00
  • c21f88cb90 load module-gconf in default install Lennart Poettering 2006-07-27 18:35:17 +00:00
  • 0dea2237ed introduce three virtual sink/source names: @DEFAULT_SINK@, @DEFAULT_SOURCE@, @DEFAULT_MONITOR@. Especially the latter is useful for connecting to the monitor source of the default sink. Lennart Poettering 2006-07-27 18:02:59 +00:00
  • fec7e9bec7 if possible do not unload already loaded modules when the gconf settings change. instead try to reuse already loaded modules as much as possible Lennart Poettering 2006-07-27 16:51:20 +00:00
  • 87d4f0bd93 because gconf doesn't provide real transactions we emulate our own with a "locked" gconf key Lennart Poettering 2006-07-27 16:50:26 +00:00
  • 6afb61efdc remove superfluous code Lennart Poettering 2006-07-27 16:49:44 +00:00
  • 358e577403 remove two superfluous lines Lennart Poettering 2006-07-26 22:39:56 +00:00
  • 0d7be3148e mainloop fixes: when disabling time events when dispatching them, make sure to adjust the cache time event and enabled time event counters Lennart Poettering 2006-07-26 22:39:06 +00:00
  • b2ad9a9753 add some protection that the gconf helper process will be killed when the daemon process dies. make sure the gconf helper process doesn't keep open file descriptors belonging to the daemon; if gconf helper path Lennart Poettering 2006-07-26 18:28:31 +00:00
  • f5d29acdeb add missing configure.ac checks for module-gconf Lennart Poettering 2006-07-26 17:46:51 +00:00
  • cc1d8213d6 add new module "module-gconf" which reads configuration information from gconf. this will be used in my upcoming paconf module Lennart Poettering 2006-07-26 17:36:14 +00:00
  • 61ce8bb002 add new command line option --no-cpu-limit. This is useful when running PulseAudio in valgrind's massif or callgrind tools Lennart Poettering 2006-07-25 20:51:15 +00:00
  • 563fab983f Results of profiling PulseAudio with valgrind's callgrind module: rework the default event loop implementation to use PA_LLIST_xxx instead of pa_idxset; don't generate weakeup events if we aren't in STATE_POLLING; minimize dispatching of io events; cache next time event instead of traversing the list of time events on every event loop iteration; other optimizations Lennart Poettering 2006-07-25 20:39:34 +00:00
  • 216bdd4859 split a few asserts Lennart Poettering 2006-07-25 20:10:47 +00:00
  • 32444f0df3 split a few assert()s Lennart Poettering 2006-07-25 20:10:30 +00:00
  • c41d7498d3 add a few more g_assert()s and change all assert()s to g_assert()s Lennart Poettering 2006-07-25 20:09:22 +00:00
  • 675bf2f51a add autogen.sh for jhbuild (for you, elmarco!) Lennart Poettering 2006-07-24 20:03:27 +00:00
  • c6c8635aca Tagging release 0.9.4 v0.9.4 Lennart Poettering 2006-07-24 19:25:45 +00:00
  • 0f8f5bce6c bump version and sonames Lennart Poettering 2006-07-24 17:48:33 +00:00
  • 3aac89331b add massif target to Makefile Lennart Poettering 2006-07-23 22:36:08 +00:00
  • c85351ba05 as a result of memory profiling with valgrind/massif: decrease default hash table size from 1024 to 127. the hashtables are sparsely filled most of the time, so there is no point in allocating to much memory by default. Lennart Poettering 2006-07-23 22:35:30 +00:00
  • 95eee87380 update todo Lennart Poettering 2006-07-23 19:23:12 +00:00
  • 07a1c45cc1 fix horribly broken glib timeout event handling Lennart Poettering 2006-07-22 00:54:23 +00:00
  • b345af2273 Use proper @libdir@ in pc.in files to handle x86_64 machines. Pierre Ossman 2006-07-21 21:19:11 +00:00
  • a84a2f9138 raise the default value for RLIMIT_NOFILE to 200 since 25 is apparently too small if every single GNOME apps thinks it needs to create its own server connection! Lennart Poettering 2006-07-21 19:59:52 +00:00
  • 23d1260195 Tagging release 0.9.3 v0.9.3 Lennart Poettering 2006-07-21 00:27:00 +00:00
  • 09e01afa1f Get ACL:s to work on Win32. Pierre Ossman 2006-07-20 23:21:57 +00:00