Commit graph

473 commits

Author SHA1 Message Date
Lennart Poettering
79ad4e63f6 Make the shared memory segment size configurable
This is useful only on systems where memory overcommit is not available
or disabled.
2008-10-01 01:14:36 +02:00
Omair Majid
2ab4bb76b2 fix pa_stream_set_name
This patch fixes a bug in pa_stream_set_name. It uses the media.name
property instead of the application.name property when setting a
stream's name

>From aa1bda11d2084365cb0cec57f37d59f07ab80052 Mon Sep 17 00:00:00 2001
From: Omair Majid <omajid@redhat.com>
Date: Wed, 10 Sep 2008 17:02:28 -0400
Subject: [PATCH] Fix bug in pa_stream_set_name

Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-09-11 00:37:27 +03:00
Arthur Taylor
f6670a1f2e stream_started_callback userdata bug
Hello

I came across a bug where the userdata parameter of the
stream_started_callback was always NULL in some cases. I couldn't seem
to make a ticket, so here's the one line patch:

Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-09-10 12:18:36 +03:00
Lennart Poettering
636b520d74 fix S32 validity check 2008-09-10 12:18:05 +03:00
Lennart Poettering
821dc1797f move autospawn lock to pulsecore/ since we don't need it in the client anymore 2008-09-08 17:22:27 +03:00
Lennart Poettering
fb837f0cac rework autospawning to allow to multiple parallel autospawning contexts 2008-09-05 03:22:13 +02:00
Lennart Poettering
994ff984f0 connect to localhost via IP address instead of host name, to avoid needless NSS lookup 2008-09-05 03:20:33 +02:00
Lennart Poettering
b56f344b97 a few minor clean-ups 2008-09-05 01:30:48 +02:00
Lennart Poettering
3429072504 introduce upper channel map definition limit PA_CHANNEL_MAP_DEF_MAX 2008-09-05 01:30:25 +02:00
Lennart Poettering
cb0c97dae7 add new API function pa_channel_map_compatible() 2008-09-05 01:29:07 +02:00
Lennart Poettering
bf403fe0d8 introduce macros for all flags so that clients can check for them with #ifdef 2008-09-03 19:51:33 +02:00
Lennart Poettering
c402de7545 reindent comments a bit 2008-09-03 18:51:46 +02:00
Lennart Poettering
40b66a0be9 Implement "early requests" mode.
PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric
selection behaviour a bit. This code is good for broken ALSA/OSS clients that
ignore 'readability' on the fds in question and schedule audio via usleep()
instead.
2008-09-03 18:31:46 +02:00
Lennart Poettering
2c2b2717eb use gcc malloc attribute macros for internal functions, too 2008-09-01 21:44:00 +02:00
Lennart Poettering
4348fafcc8 don't include leagacy definition PA_STREAM_NOT_MONOTONOUS in docs 2008-09-01 19:17:14 +02:00
Lennart Poettering
f6e187f0a5 prefix internally used inline function with _ 2008-09-01 19:16:12 +02:00
Lennart Poettering
70b820d875 add gcc malloc related function attributes where appropriate 2008-09-01 19:15:07 +02:00
Lennart Poettering
e015879bb8 add malloc related gcc attribute macros 2008-09-01 19:13:37 +02:00
Lennart Poettering
13018d62c1 fix a few compiler warnings on older gcc 2008-08-29 23:53:55 +02:00
Lennart Poettering
f79c665812 document in which direction we round 2008-08-28 17:52:08 +02:00
Lennart Poettering
8df5b2de92 increase pa_xmalloc() limit to 96 MB, closes #344 2008-08-26 15:46:26 +02:00
Lennart Poettering
fd3c6b0f60 fix typo 2008-08-26 15:45:37 +02:00
Lennart Poettering
f9713d1ccf Fix error code in pa_stream_get_timing_info() 2008-08-26 15:45:18 +02:00
Colin Guthrie
4282b726ee Merge branch 'master' of git://git.0pointer.de/pulseaudio 2008-08-22 10:56:45 +01:00
Lennart Poettering
a3e57da0f0 add doxygen documentation for ext-stream-restore.h 2008-08-20 00:17:33 +02:00
Lennart Poettering
b7026bf248 add a few more gcc warning flags and fix quite a few problems found by doing so 2008-08-19 22:39:54 +02:00
Lennart Poettering
ec62596f49 allow clients to not specify the volume for their streams 2008-08-18 17:49:18 +02:00
Lennart Poettering
e4adcf7071 add new API function pa_cvolume_max() 2008-08-13 13:52:20 +02:00
Lennart Poettering
a176f68e0a reset lock_fd_mutex after destruction 2008-08-13 13:51:43 +02:00
Lennart Poettering
72f520f93c make gcc shut up 2008-08-09 17:04:27 +02:00
Lennart Poettering
432b4e5f7d don't use PA_GCC_UNUSED anymore 2008-08-09 16:20:29 +02:00
Lennart Poettering
15cebbaceb rework autospawning code to survive multiple pa_contexts in a single process 2008-08-09 03:49:42 +02:00
Lennart Poettering
c4d32ec804 set errno properly in all cases 2008-08-09 03:44:46 +02:00
Lennart Poettering
40ff5fa06f add compatibility with older PA socket paths 2008-08-07 02:39:58 +02:00
Lennart Poettering
4e6fb67e9f don't spam to stderr in API functions 2008-08-07 02:24:19 +02:00
Lennart Poettering
31bfd6a44d fix channel position string 2008-08-06 20:16:37 +02:00
Lennart Poettering
f1d2bf8408 add i18n support 2008-08-06 18:54:13 +02:00
Lennart Poettering
8a156d1a23 don't enforce valid callbacks for extension module APIs 2008-08-05 19:01:51 +02:00
Lennart Poettering
98b81636b7 allow extension messages to actually carry information 2008-08-05 19:01:25 +02:00
Lennart Poettering
163f10712e fix documentation to follow what actually happens 2008-08-04 23:33:10 +02:00
Lennart Poettering
03cd37eb78 remove port definitions from header file since they are not actually used yet 2008-08-04 19:49:33 +02:00
Lennart Poettering
7de3ab56d8 add missing C++ checks in header 2008-08-04 19:49:13 +02:00
Lennart Poettering
9f5c1c6067 pa_bool_t is not exported 2008-08-04 19:45:47 +02:00
Lennart Poettering
0cc674d961 wrap protocol extension of module-stream-restore 2008-08-04 19:02:20 +02:00
Lennart Poettering
5880516076 add new API function pa_cvolume_remap() 2008-08-04 18:40:53 +02:00
Colin Guthrie
5744237a06 Merge branch 'master' of git://git.0pointer.de/pulseaudio 2008-08-03 19:56:49 +01:00
Lennart Poettering
114f290be7 add a new error code PA_ERR_NOEXTENSION 2008-08-03 18:54:55 +02:00
Colin Guthrie
b30a5d601e Merge branch 'master' of git://git.0pointer.de/pulseaudio 2008-07-30 23:43:45 +01:00
Lennart Poettering
3888bfcccd enable exit-on-idle by default 2008-07-22 19:45:18 +02:00
Lennart Poettering
c1f9f95fa2 prepare doxygen docs for 0.9.11 2008-07-21 18:55:17 +02:00