platform/upstream/pulseaudio.git
18 years agoupdate todo
Lennart Poettering [Sat, 19 Aug 2006 16:26:08 +0000 (16:26 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1295 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoprint per-type memory block statistics on "stat"
Lennart Poettering [Sat, 19 Aug 2006 16:25:41 +0000 (16:25 +0000)]
print per-type memory block statistics on "stat"

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1294 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agogenerate per-type memory block statistics
Lennart Poettering [Sat, 19 Aug 2006 16:25:15 +0000 (16:25 +0000)]
generate per-type memory block statistics

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1293 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sat, 19 Aug 2006 02:24:59 +0000 (02:24 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1292 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agorework the resample to allocate temporary memory with pa_memblock_new() instead of...
Lennart Poettering [Sat, 19 Aug 2006 02:23:52 +0000 (02:23 +0000)]
rework the resample to allocate temporary memory with pa_memblock_new() instead of pa_xrealloc()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1291 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix a memory leak
Lennart Poettering [Sat, 19 Aug 2006 02:23:11 +0000 (02:23 +0000)]
fix a memory leak

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1290 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sat, 19 Aug 2006 01:23:09 +0000 (01:23 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1289 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd --disable-shm command line option to the daemon
Lennart Poettering [Sat, 19 Aug 2006 01:21:22 +0000 (01:21 +0000)]
add --disable-shm command line option to the daemon

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1288 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd "disable-shm=" to default daemon configuration file
Lennart Poettering [Sat, 19 Aug 2006 01:20:40 +0000 (01:20 +0000)]
add "disable-shm=" to default daemon configuration file

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1287 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new "disable-shm" server config option
Lennart Poettering [Sat, 19 Aug 2006 01:20:13 +0000 (01:20 +0000)]
add new "disable-shm" server config option

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1286 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd default "disable-shm" option to client.conf
Lennart Poettering [Sat, 19 Aug 2006 01:18:57 +0000 (01:18 +0000)]
add default "disable-shm" option to client.conf

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1285 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new "disable-shm" option to client.conf
Lennart Poettering [Sat, 19 Aug 2006 01:18:30 +0000 (01:18 +0000)]
add new "disable-shm" option to client.conf

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1284 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoallow importing of external shm data blocks unconditionally, even when local SHM...
Lennart Poettering [Sat, 19 Aug 2006 01:16:38 +0000 (01:16 +0000)]
allow importing of external shm data blocks unconditionally, even when local SHM support is disabled

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1283 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodeal properly with pa_mempool_new() failing
Lennart Poettering [Sat, 19 Aug 2006 01:15:48 +0000 (01:15 +0000)]
deal properly with pa_mempool_new() failing

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1282 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix allocation of anonymous memory
Lennart Poettering [Sat, 19 Aug 2006 01:15:22 +0000 (01:15 +0000)]
fix allocation of anonymous memory

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1281 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix a memory leak
Lennart Poettering [Sat, 19 Aug 2006 01:14:59 +0000 (01:14 +0000)]
fix a memory leak

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1280 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Fri, 18 Aug 2006 23:45:57 +0000 (23:45 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1279 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoenable SHM support on the client side only if both the client and the server run...
Lennart Poettering [Fri, 18 Aug 2006 23:45:23 +0000 (23:45 +0000)]
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

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1278 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoactivate SHM support on the server side only when new client supports it and when...
Lennart Poettering [Fri, 18 Aug 2006 23:44:35 +0000 (23:44 +0000)]
activate SHM support on the server side only when new client supports it and when client and server have the same UID.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1277 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoone s/0/NULL/
Lennart Poettering [Fri, 18 Aug 2006 23:43:27 +0000 (23:43 +0000)]
one s/0/NULL/

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1276 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove export/import objects when SHM is disable for a pa_pstream object
Lennart Poettering [Fri, 18 Aug 2006 23:42:14 +0000 (23:42 +0000)]
remove export/import objects when SHM is disable for a pa_pstream object

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1275 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new function pa_mempool_is_shared() to test whether a memory pool is suitable...
Lennart Poettering [Fri, 18 Aug 2006 23:40:48 +0000 (23:40 +0000)]
add new function pa_mempool_is_shared() to test whether a memory pool is suitable for SHM data transfers

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1274 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agohide memblock-test
Lennart Poettering [Fri, 18 Aug 2006 21:39:32 +0000 (21:39 +0000)]
hide memblock-test

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1273 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove all occurences of
Lennart Poettering [Fri, 18 Aug 2006 21:38:40 +0000 (21:38 +0000)]
remove all occurences of

   pa_logXXX(__FILE__":

and replace them by

   pa_logXXX("

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agorework logging subsystem, to implicitly include __FILE__ in pa_log() calls. In additi...
Lennart Poettering [Fri, 18 Aug 2006 21:26:01 +0000 (21:26 +0000)]
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.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1271 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Fri, 18 Aug 2006 19:57:53 +0000 (19:57 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1270 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agolook for shm_open in -lrt
Lennart Poettering [Fri, 18 Aug 2006 19:57:19 +0000 (19:57 +0000)]
look for shm_open in -lrt

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1269 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new test memblock-test for testing SHM import/export
Lennart Poettering [Fri, 18 Aug 2006 19:56:51 +0000 (19:56 +0000)]
add new test memblock-test for testing SHM import/export

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1268 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate tests for new memory manager
Lennart Poettering [Fri, 18 Aug 2006 19:56:11 +0000 (19:56 +0000)]
update tests for new memory manager

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1267 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoRework memory management to allow shared memory data transfer. The central idea
Lennart Poettering [Fri, 18 Aug 2006 19:55:18 +0000 (19:55 +0000)]
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.

To work optimally all memory blocks should now be of type PA_MEMBLOCK_POOL or
PA_MEMBLOCK_POOL_EXTERNAL. The function pa_memblock_new() now generates memory
blocks of this type by default.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1266 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd abstracted shared memory API
Lennart Poettering [Fri, 18 Aug 2006 19:46:20 +0000 (19:46 +0000)]
add abstracted shared memory API

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1265 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix a bad type cast
Lennart Poettering [Fri, 18 Aug 2006 19:45:19 +0000 (19:45 +0000)]
fix a bad type cast

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1264 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agocleanup hashmap.[ch] a little: use hash/compare func prototypes defined in idxset...
Lennart Poettering [Fri, 18 Aug 2006 19:43:46 +0000 (19:43 +0000)]
cleanup hashmap.[ch] a little: use hash/compare func prototypes defined in idxset.h, add pa_hashmpa_{get,steal}_first

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1263 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agocleanup idxset.[ch] a little: define proper types for the hash/compare funcs, do...
Lennart Poettering [Fri, 18 Aug 2006 19:42:14 +0000 (19:42 +0000)]
cleanup idxset.[ch] a little: define proper types for the hash/compare funcs, do ptr->int/int->ptr conversions with clean macros

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1262 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix a PA_LLIST_HEAD_INIT invocation
Lennart Poettering [Thu, 17 Aug 2006 20:03:38 +0000 (20:03 +0000)]
fix a PA_LLIST_HEAD_INIT invocation

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1261 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd missing #include
Lennart Poettering [Thu, 17 Aug 2006 20:03:09 +0000 (20:03 +0000)]
add missing #include

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1260 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomodify pa_bytes_snprint() to return the string we just wrote to. This should be binar...
Lennart Poettering [Thu, 17 Aug 2006 20:02:46 +0000 (20:02 +0000)]
modify pa_bytes_snprint() to return the string we just wrote to. This should be binary compat with older versions which returned void

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1259 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomake PA_LLIST_HEAD_INIT thread safe
Lennart Poettering [Thu, 17 Aug 2006 20:01:04 +0000 (20:01 +0000)]
make PA_LLIST_HEAD_INIT thread safe

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1258 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agouse the description field of sinks/sources to name the zeroconf services, instead...
Lennart Poettering [Tue, 15 Aug 2006 18:15:00 +0000 (18:15 +0000)]
use the description field of sinks/sources to name the zeroconf services, instead of the logical name

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1257 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Pierre Ossman [Mon, 14 Aug 2006 08:38:07 +0000 (08:38 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1256 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sun, 13 Aug 2006 20:45:54 +0000 (20:45 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1255 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoextend module-rescue-streams to move also source outputs when a source dies
Lennart Poettering [Sun, 13 Aug 2006 20:45:19 +0000 (20:45 +0000)]
extend module-rescue-streams to move also source outputs when a source dies

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1254 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix a segfault when registering a service with avahi fails
Lennart Poettering [Sun, 13 Aug 2006 20:44:32 +0000 (20:44 +0000)]
fix a segfault when registering a service with avahi fails

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1253 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agocreate rtp source output on correct source
Lennart Poettering [Sun, 13 Aug 2006 20:44:00 +0000 (20:44 +0000)]
create rtp source output on correct source

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1252 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agominor optimization
Lennart Poettering [Sun, 13 Aug 2006 20:43:22 +0000 (20:43 +0000)]
minor optimization

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1251 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoimplement hook_source_ouput_new. For this I modified the pa_source_output_new constru...
Lennart Poettering [Sun, 13 Aug 2006 19:55:17 +0000 (19:55 +0000)]
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()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1250 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agosplit a validity check into two
Lennart Poettering [Sun, 13 Aug 2006 19:53:35 +0000 (19:53 +0000)]
split a validity check into two

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1249 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoimplement hook_source_disconnect
Lennart Poettering [Sun, 13 Aug 2006 19:53:18 +0000 (19:53 +0000)]
implement hook_source_disconnect

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1248 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodefine new hooks: hook_source_output_new, hook_source_disconnect
Lennart Poettering [Sun, 13 Aug 2006 19:52:43 +0000 (19:52 +0000)]
define new hooks: hook_source_output_new, hook_source_disconnect

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1247 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sun, 13 Aug 2006 17:39:19 +0000 (17:39 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1246 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoLoad module-rescue-streams by default
Lennart Poettering [Sun, 13 Aug 2006 17:35:46 +0000 (17:35 +0000)]
Load module-rescue-streams by default

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1245 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoimplement new module "module-rescue-streams" which moves sink inputs away when their...
Lennart Poettering [Sun, 13 Aug 2006 17:34:36 +0000 (17:34 +0000)]
implement new module "module-rescue-streams" which moves sink inputs away when their sink is removed.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1244 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoproperly implement a pa_sink_disconnect() hook
Lennart Poettering [Sun, 13 Aug 2006 17:33:32 +0000 (17:33 +0000)]
properly implement a pa_sink_disconnect() hook

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1243 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoClean up module description a little
Lennart Poettering [Sun, 13 Aug 2006 17:32:35 +0000 (17:32 +0000)]
Clean up module description a little

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1242 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoignore if we recieved a memory block for an invalid stream, since this might happen...
Lennart Poettering [Sun, 13 Aug 2006 17:31:58 +0000 (17:31 +0000)]
ignore if we recieved a memory block for an invalid stream, since this might happen unwillingly due to the asychnronous nature of the protocol

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1241 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove pa_sink_input::variable_rate field since it has been folded into pa_sink_input...
Lennart Poettering [Sun, 13 Aug 2006 17:30:51 +0000 (17:30 +0000)]
remove pa_sink_input::variable_rate field since it has been folded into pa_sink_input::flags

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1240 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agohide hook-list-test
Lennart Poettering [Sun, 13 Aug 2006 16:22:20 +0000 (16:22 +0000)]
hide hook-list-test

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1239 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomodify module-volume-restore to change the initial volume of a sink input from a...
Lennart Poettering [Sun, 13 Aug 2006 16:21:20 +0000 (16:21 +0000)]
modify module-volume-restore to change the initial volume of a sink input from a hook instead of an asyncronous subscription event.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1238 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoallow hooking into the process of creating playback streams. To implement this I...
Lennart Poettering [Sun, 13 Aug 2006 16:19:56 +0000 (16:19 +0000)]
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.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1237 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix bad printf()
Lennart Poettering [Sun, 13 Aug 2006 16:14:06 +0000 (16:14 +0000)]
fix bad printf()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1236 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agorework hook list stuff once again: change the callback prototype to recieve three...
Lennart Poettering [Sun, 13 Aug 2006 16:13:36 +0000 (16:13 +0000)]
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

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1235 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agorework hook list stuff again, and replace macros with real functins. We loose type...
Lennart Poettering [Sun, 13 Aug 2006 01:43:34 +0000 (01:43 +0000)]
rework hook list stuff again, and replace macros with real functins. We loose type safety but things are much cleaner now

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1234 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate hook list test
Lennart Poettering [Sat, 12 Aug 2006 23:55:48 +0000 (23:55 +0000)]
update hook list test

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1233 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoreall add type safe hook list
Lennart Poettering [Sat, 12 Aug 2006 23:55:22 +0000 (23:55 +0000)]
reall add type safe hook list

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1232 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoimplement typeafe hook chain
Lennart Poettering [Sat, 12 Aug 2006 23:35:44 +0000 (23:35 +0000)]
implement typeafe hook chain

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1231 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoextend maximum sink/source name length, because HAL UDIs can get ridiculously long
Lennart Poettering [Sat, 12 Aug 2006 17:59:10 +0000 (17:59 +0000)]
extend maximum sink/source name length, because HAL UDIs can get ridiculously long

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1230 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sat, 12 Aug 2006 17:07:49 +0000 (17:07 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1229 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agotest if sink->monitor_source is set before making use of it
Lennart Poettering [Sat, 12 Aug 2006 17:06:39 +0000 (17:06 +0000)]
test if sink->monitor_source is set before making use of it

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1228 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomake use of pa_sink_used_by()/pa_source_used_by() wherever applicable
Lennart Poettering [Sat, 12 Aug 2006 17:06:05 +0000 (17:06 +0000)]
make use of pa_sink_used_by()/pa_source_used_by() wherever applicable

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1227 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd pa_sink_used_by()/pa_source_used_by()
Lennart Poettering [Sat, 12 Aug 2006 16:50:58 +0000 (16:50 +0000)]
add pa_sink_used_by()/pa_source_used_by()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1226 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agocategorize todo file
Lennart Poettering [Sat, 12 Aug 2006 16:40:59 +0000 (16:40 +0000)]
categorize todo file

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1225 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoname the sink/source after the device file, just like we already do for the non-mmape...
Lennart Poettering [Sat, 12 Aug 2006 16:33:31 +0000 (16:33 +0000)]
name the sink/source after the device file, just like we already do for the non-mmaped driver

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1224 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agogenerate default sink/source names from the device files they belong to
Lennart Poettering [Sat, 12 Aug 2006 16:26:59 +0000 (16:26 +0000)]
generate default sink/source names from the device files they belong to

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1223 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sat, 12 Aug 2006 16:02:52 +0000 (16:02 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1222 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agohandle hot-remeving of OSS devices properly
Lennart Poettering [Sat, 12 Aug 2006 16:02:26 +0000 (16:02 +0000)]
handle hot-remeving of OSS devices properly

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1221 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoprint the device capabilities after opening the device
Lennart Poettering [Sat, 12 Aug 2006 16:01:40 +0000 (16:01 +0000)]
print the device capabilities after opening the device

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1220 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agowhen the requested sample format is not available for OSS devices, print a nice warni...
Lennart Poettering [Sat, 12 Aug 2006 15:09:49 +0000 (15:09 +0000)]
when the requested sample format is not available for OSS devices, print a nice warning and take what we can get instead

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1219 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agothere's no need to queue subscription events if noone is listening, hence don't do it!
Lennart Poettering [Sat, 12 Aug 2006 15:08:53 +0000 (15:08 +0000)]
there's no need to queue subscription events if noone is listening, hence don't do it!

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1218 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* only load an OSS driver for the first device of a sound card, similar to what is...
Lennart Poettering [Sat, 12 Aug 2006 13:18:34 +0000 (13:18 +0000)]
* only load an OSS driver for the first device of a sound card, similar to what is done for ALSA.
* fix a mem leak

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1217 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix a segfault in module-oss
Lennart Poettering [Sat, 12 Aug 2006 13:17:33 +0000 (13:17 +0000)]
fix a segfault in module-oss

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1216 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix pa_gettimeofday() return value testing
Lennart Poettering [Sat, 12 Aug 2006 12:07:22 +0000 (12:07 +0000)]
fix pa_gettimeofday() return value testing

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1215 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sat, 12 Aug 2006 12:03:30 +0000 (12:03 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1214 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sat, 12 Aug 2006 02:20:05 +0000 (02:20 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1213 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoclean up event generation a little: suppress unnecessary events and generate new...
Lennart Poettering [Sat, 12 Aug 2006 02:19:36 +0000 (02:19 +0000)]
clean up event generation a little: suppress unnecessary events and generate new ones on owner change

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1212 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agorework subscription code: try to drop redundant queued events
Lennart Poettering [Sat, 12 Aug 2006 02:18:24 +0000 (02:18 +0000)]
rework subscription code: try to drop redundant queued events

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1211 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix a compiler warning
Lennart Poettering [Sat, 12 Aug 2006 02:16:47 +0000 (02:16 +0000)]
fix a compiler warning

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1210 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new macro PA_LLIST_INSERT_AFTER
Lennart Poettering [Sat, 12 Aug 2006 02:16:12 +0000 (02:16 +0000)]
add new macro PA_LLIST_INSERT_AFTER

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1209 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoincrease module argument buffer size to prevent truncating names
Shahms E. King [Sat, 12 Aug 2006 01:17:19 +0000 (01:17 +0000)]
increase module argument buffer size to prevent truncating names

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1208 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sat, 12 Aug 2006 00:26:17 +0000 (00:26 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1207 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoallow setting the null sink description by a module parameter
Lennart Poettering [Sat, 12 Aug 2006 00:25:52 +0000 (00:25 +0000)]
allow setting the null sink description by a module parameter

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1206 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodon't set the sink/source descriptions manually, use the new functions pa_{sink,sourc...
Lennart Poettering [Fri, 11 Aug 2006 23:58:55 +0000 (23:58 +0000)]
don't set the sink/source descriptions manually, use the new functions pa_{sink,source}_set_description() instead

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1205 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agocomment which values in pa_{sink,source,sink_input,source_output} structures may...
Lennart Poettering [Fri, 11 Aug 2006 23:31:59 +0000 (23:31 +0000)]
comment which values in pa_{sink,source,sink_input,source_output} structures may be NULL

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1204 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* introduce new functions pa_sink_set_description() and pa_source_set_description...
Lennart Poettering [Fri, 11 Aug 2006 17:53:34 +0000 (17:53 +0000)]
* 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

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1203 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Fri, 11 Aug 2006 17:15:41 +0000 (17:15 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1202 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoshorten sink/source device descriptions a little
Lennart Poettering [Fri, 11 Aug 2006 17:14:35 +0000 (17:14 +0000)]
shorten sink/source device descriptions a little

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1201 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agouse the HAL UDI for naming input/output devices
Lennart Poettering [Fri, 11 Aug 2006 17:12:54 +0000 (17:12 +0000)]
use the HAL UDI for naming input/output devices

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1200 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodo not export name validity checking routes and apply them only to sink/source names...
Lennart Poettering [Fri, 11 Aug 2006 16:58:21 +0000 (16:58 +0000)]
do not export name validity checking routes and apply them only to sink/source names, not sample names

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1199 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix bad memory access and a leak when detructing ALSA fd lists
Lennart Poettering [Fri, 11 Aug 2006 16:56:47 +0000 (16:56 +0000)]
fix bad memory access and a leak when detructing ALSA fd lists

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1198 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agorework name register a litle to only allow "valid" names.
Lennart Poettering [Fri, 11 Aug 2006 16:38:51 +0000 (16:38 +0000)]
rework name register a litle to only allow "valid" names.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1197 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoBuild HAL support only when either OSS or ALSA is available
Lennart Poettering [Fri, 11 Aug 2006 16:38:05 +0000 (16:38 +0000)]
Build HAL support only when either OSS or ALSA is available

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1196 fefdeb5f-60dc-0310-8127-8f9354f1896f