Commit graph

  • b8ea488b76 fix module-combine when used on top of a tunnel sink Lennart Poettering 2006-08-26 19:00:22 +00:00
  • 93e005ad37 update module-tunnel to latest protocol Lennart Poettering 2006-08-25 22:52:59 +00:00
  • 8ead68fcb3 activate HAL in the default config Lennart Poettering 2006-08-25 12:12:13 +00:00
  • aec3888ef2 Add missing header. Pierre Ossman 2006-08-24 08:57:35 +00:00
  • 8f5b86b77d fix handling of "mtu" module argument (patch by "theBear") Lennart Poettering 2006-08-23 22:28:53 +00:00
  • 2575b44637 fix typo Pierre Ossman 2006-08-23 07:58:07 +00:00
  • 79c4a6842c Make the recording a bit more chunky so that we can fit in the pool and have efficient blocks. Pierre Ossman 2006-08-23 07:57:43 +00:00
  • b27ffbec8c Remove silence generation in solaris module. Pierre Ossman 2006-08-22 16:25:47 +00:00
  • d194604402 Remove silence generation in waveout module. Pierre Ossman 2006-08-22 16:15:47 +00:00
  • 095f35725d Proceed with connect even when no cookie is loaded. Allows you to connect to server which do not require a cookie under all circumstances. Pierre Ossman 2006-08-22 15:36:37 +00:00
  • 306aea78d3 Fix memory leak in waveout module. Pierre Ossman 2006-08-22 15:24:11 +00:00
  • 0249651c8e Log when there is a problem opening the waveOut/waveIn device. Pierre Ossman 2006-08-22 15:20:57 +00:00
  • 7bf2540778 Fall back to creating a "normal" memory pool if unable to get a shared one. Pierre Ossman 2006-08-22 12:51:29 +00:00
  • 26bfce6281 Improve error messages a bit. Pierre Ossman 2006-08-22 12:46:05 +00:00
  • cf7b401ac6 Fix up portability of memory pool handling a bit. Pierre Ossman 2006-08-22 12:45:43 +00:00
  • fef4a20599 update todo Lennart Poettering 2006-08-22 12:29:41 +00:00
  • 22d8e0e75e fix typo Lennart Poettering 2006-08-22 12:04:55 +00:00
  • 10bbc4b7c9 Fix detection of shared memory support and proper fallback. Pierre Ossman 2006-08-22 11:41:14 +00:00
  • 568c8ea715 Fix typo. Pierre Ossman 2006-08-22 11:39:19 +00:00
  • eeabf63673 Add missing header. Pierre Ossman 2006-08-22 11:38:46 +00:00
  • b5ef414ec8 Fix call to pa_memblock_new(). Pierre Ossman 2006-08-22 11:37:53 +00:00
  • d964459a64 Fix detection of page size for non-POSIX systems. Pierre Ossman 2006-08-22 07:41:23 +00:00
  • 7bc71103fb Fix missing header for timeval helpers. Pierre Ossman 2006-08-22 07:25:45 +00:00
  • 1c320fe0b7 Fix calls to pa_memblock_new(). Pierre Ossman 2006-08-22 07:23:47 +00:00
  • 6e3d8af520 Add header for pa_cstrerror(). Pierre Ossman 2006-08-22 07:21:41 +00:00
  • 8a16c73151 Fix call to pa_pstream_send_tagstruct(). Pierre Ossman 2006-08-22 07:18:07 +00:00
  • 25c0640ac2 Add an ifdef for when we do not have creds. Pierre Ossman 2006-08-22 07:12:50 +00:00
  • 26201b27ec fix pactl output (sink drivers and names where switched) Lennart Poettering 2006-08-21 22:37:09 +00:00
  • 3d32b96771 update todo Lennart Poettering 2006-08-19 23:09:23 +00:00
  • 3dbc4ae973 restore the sink/source for a client in addition to the playback volume. This changes the file format of the table file. To avoid parse errors ~/.pulse/volume.table has been renamed to ~/.pulse/volume-restore.table Lennart Poettering 2006-08-19 23:08:50 +00:00
  • bffde5da05 If a client leaves the sink/source for a stream unspecified by passing NULL as sink/source name sink/source we should pass NULL to pa_sink_input_new()/pa_source_output_new() as too. This allows hooks to change the sink/source device only if it is left unspecified by the client Lennart Poettering 2006-08-19 23:06:45 +00:00
  • bf62e77f71 fix a bad memory access Lennart Poettering 2006-08-19 23:04:04 +00:00
  • ce11b1f230 update todo Lennart Poettering 2006-08-19 18:58:17 +00:00
  • c0b3e8b346 when transferring large memory chunks of a pa_pstream, split them up Lennart Poettering 2006-08-19 18:57:33 +00:00
  • 79b26280cc update todo Lennart Poettering 2006-08-19 18:28:04 +00:00
  • 84d1d3eff2 update todo Lennart Poettering 2006-08-19 17:34:08 +00:00
  • b642325d10 check for posix_memalign and friends Lennart Poettering 2006-08-19 17:30:30 +00:00
  • 3e0f00f93d if MAP_ANONYMOUS is not supported use posix_memalign if possible to allocate the memory pool Lennart Poettering 2006-08-19 17:27:27 +00:00
  • d50c56a8f3 update todo Lennart Poettering 2006-08-19 16:26:08 +00:00
  • c6ca9a85c3 print per-type memory block statistics on "stat" Lennart Poettering 2006-08-19 16:25:41 +00:00
  • 57f0b08cc1 generate per-type memory block statistics Lennart Poettering 2006-08-19 16:25:15 +00:00
  • 16ff83f5c0 update todo Lennart Poettering 2006-08-19 02:24:59 +00:00
  • af87c7d21b rework the resample to allocate temporary memory with pa_memblock_new() instead of pa_xrealloc() Lennart Poettering 2006-08-19 02:23:52 +00:00
  • 521d15babb fix a memory leak Lennart Poettering 2006-08-19 02:23:11 +00:00
  • 1b7fff3238 update todo Lennart Poettering 2006-08-19 01:23:09 +00:00
  • 47c7a14b82 add --disable-shm command line option to the daemon Lennart Poettering 2006-08-19 01:21:22 +00:00
  • a8519d5667 add "disable-shm=" to default daemon configuration file Lennart Poettering 2006-08-19 01:20:40 +00:00
  • dbc658df41 add new "disable-shm" server config option Lennart Poettering 2006-08-19 01:20:13 +00:00
  • c9b6d55090 add default "disable-shm" option to client.conf Lennart Poettering 2006-08-19 01:18:57 +00:00
  • d785b8fa87 add new "disable-shm" option to client.conf Lennart Poettering 2006-08-19 01:18:30 +00:00
  • 206ac6f3ee allow importing of external shm data blocks unconditionally, even when local SHM support is disabled Lennart Poettering 2006-08-19 01:16:38 +00:00
  • 046bdd9b30 deal properly with pa_mempool_new() failing Lennart Poettering 2006-08-19 01:15:48 +00:00
  • 8c9bdb838c fix allocation of anonymous memory Lennart Poettering 2006-08-19 01:15:22 +00:00
  • c2db5f8864 fix a memory leak Lennart Poettering 2006-08-19 01:14:59 +00:00
  • c979b87fea update todo Lennart Poettering 2006-08-18 23:45:57 +00:00
  • 40875d6d05 enable SHM support on the client side only if both the client and the server run as the same user and the server supports it Lennart Poettering 2006-08-18 23:45:23 +00:00
  • e33abc3089 activate SHM support on the server side only when new client supports it and when client and server have the same UID. Lennart Poettering 2006-08-18 23:44:35 +00:00
  • c313b23d5f one s/0/NULL/ Lennart Poettering 2006-08-18 23:43:27 +00:00
  • 7ac79098a6 remove export/import objects when SHM is disable for a pa_pstream object Lennart Poettering 2006-08-18 23:42:14 +00:00
  • fd3fe96ce5 add new function pa_mempool_is_shared() to test whether a memory pool is suitable for SHM data transfers Lennart Poettering 2006-08-18 23:40:48 +00:00
  • 7e01b1c5bd hide memblock-test Lennart Poettering 2006-08-18 21:39:32 +00:00
  • e385d93e5a remove all occurences of Lennart Poettering 2006-08-18 21:38:40 +00:00
  • 1bc62d5ec6 rework logging subsystem, to implicitly include __FILE__ in pa_log() calls. In addition we now record the line numbers and function names of pa_log calls. However, those are only shown If $PULSE_LOG_META is set. Lennart Poettering 2006-08-18 21:26:01 +00:00
  • 666eca38b9 update todo Lennart Poettering 2006-08-18 19:57:53 +00:00
  • 8ebef4d00f look for shm_open in -lrt Lennart Poettering 2006-08-18 19:57:19 +00:00
  • 35caf0c4ea add new test memblock-test for testing SHM import/export Lennart Poettering 2006-08-18 19:56:51 +00:00
  • c3fc2eaa7e update tests for new memory manager Lennart Poettering 2006-08-18 19:56:11 +00:00
  • 0e436a6926 Rework memory management to allow shared memory data transfer. The central idea is to allocate all audio memory blocks from a per-process memory pool which is available as read-only SHM segment to other local processes. Then, instead of writing the actual audio data to the socket just write references to this shared memory pool. Lennart Poettering 2006-08-18 19:55:18 +00:00
  • ff48681aae add abstracted shared memory API Lennart Poettering 2006-08-18 19:46:20 +00:00
  • 20d0823e35 fix a bad type cast Lennart Poettering 2006-08-18 19:45:19 +00:00
  • dfa17b9f36 cleanup hashmap.[ch] a little: use hash/compare func prototypes defined in idxset.h, add pa_hashmpa_{get,steal}_first Lennart Poettering 2006-08-18 19:43:46 +00:00
  • 8be0cf6007 cleanup idxset.[ch] a little: define proper types for the hash/compare funcs, do ptr->int/int->ptr conversions with clean macros Lennart Poettering 2006-08-18 19:42:14 +00:00
  • c3df1ceb38 fix a PA_LLIST_HEAD_INIT invocation Lennart Poettering 2006-08-17 20:03:38 +00:00
  • a847f74ed0 add missing #include Lennart Poettering 2006-08-17 20:03:09 +00:00
  • d89066036b modify pa_bytes_snprint() to return the string we just wrote to. This should be binary compat with older versions which returned void Lennart Poettering 2006-08-17 20:02:46 +00:00
  • 99db0672c7 make PA_LLIST_HEAD_INIT thread safe Lennart Poettering 2006-08-17 20:01:04 +00:00
  • 1c3bfc44dc use the description field of sinks/sources to name the zeroconf services, instead of the logical name Lennart Poettering 2006-08-15 18:15:00 +00:00
  • 6c39af7ad3 update todo Pierre Ossman 2006-08-14 08:38:07 +00:00
  • 5d8d916474 update todo Lennart Poettering 2006-08-13 20:45:54 +00:00
  • 2bf4653713 extend module-rescue-streams to move also source outputs when a source dies Lennart Poettering 2006-08-13 20:45:19 +00:00
  • 3334814ebb fix a segfault when registering a service with avahi fails Lennart Poettering 2006-08-13 20:44:32 +00:00
  • cdb173f6ab create rtp source output on correct source Lennart Poettering 2006-08-13 20:44:00 +00:00
  • d182a0b1cb minor optimization Lennart Poettering 2006-08-13 20:43:22 +00:00
  • a75e1ed9ef implement hook_source_ouput_new. For this I modified the pa_source_output_new constructor to take a struct similar to what I already did for pa_sink_input_new() Lennart Poettering 2006-08-13 19:55:17 +00:00
  • e0f7e8614c split a validity check into two Lennart Poettering 2006-08-13 19:53:35 +00:00
  • 79cb80c574 implement hook_source_disconnect Lennart Poettering 2006-08-13 19:53:18 +00:00
  • 8f91b1f4c4 define new hooks: hook_source_output_new, hook_source_disconnect Lennart Poettering 2006-08-13 19:52:43 +00:00
  • a09a49e41b update todo Lennart Poettering 2006-08-13 17:39:19 +00:00
  • a7b9a7d599 Load module-rescue-streams by default Lennart Poettering 2006-08-13 17:35:46 +00:00
  • dd87061153 implement new module "module-rescue-streams" which moves sink inputs away when their sink is removed. Lennart Poettering 2006-08-13 17:34:36 +00:00
  • 8180832898 properly implement a pa_sink_disconnect() hook Lennart Poettering 2006-08-13 17:33:32 +00:00
  • 87e64d5845 Clean up module description a little Lennart Poettering 2006-08-13 17:32:35 +00:00
  • abbabd848a ignore if we recieved a memory block for an invalid stream, since this might happen unwillingly due to the asychnronous nature of the protocol Lennart Poettering 2006-08-13 17:31:58 +00:00
  • 72cf2118df remove pa_sink_input::variable_rate field since it has been folded into pa_sink_input::flags Lennart Poettering 2006-08-13 17:30:51 +00:00
  • 3beef50639 hide hook-list-test Lennart Poettering 2006-08-13 16:22:20 +00:00
  • b37ad1ffd3 modify module-volume-restore to change the initial volume of a sink input from a hook instead of an asyncronous subscription event. Lennart Poettering 2006-08-13 16:21:20 +00:00
  • a621d90285 allow hooking into the process of creating playback streams. To implement this I modified the pa_sink_input_new() signature to take a pa_sink_input_new_data structure instead of direct arguments. Lennart Poettering 2006-08-13 16:19:56 +00:00
  • b5cbea940e fix bad printf() Lennart Poettering 2006-08-13 16:14:06 +00:00
  • db3f561ec4 rework hook list stuff once again: change the callback prototype to recieve three data pointers: one to the data for the hook, once for the slot and once for the call Lennart Poettering 2006-08-13 16:13:36 +00:00
  • 281125c727 rework hook list stuff again, and replace macros with real functins. We loose type safety but things are much cleaner now Lennart Poettering 2006-08-13 01:43:34 +00:00