Lennart Poettering
e61728e67a
Make sure we don't get stuck when prebuf is too high
...
If prebuf is greater than tlength minus minreq we might end up waiting
for the buffer to fill up further however without ever asking for more
data from the client since less minreq bytes might be missing.
This fixes bug #440
2009-04-06 22:13:41 +02:00
Lennart Poettering
14e11e4533
Fix a couple of races in native protocol
...
Also make sure we account for recording memblock that are currently 'on
the fly' between the main and the IO thread.
Also makes a couple of timing calls that were done in different calls
in a single inter-thread call. That way there is a better guarantee that
they match up.
2009-04-05 02:59:02 +02:00
Lennart Poettering
373b5efe51
properly account for seeks in the requested_bytes counter
2009-04-01 23:05:09 +02:00
Lennart Poettering
75a8d18285
pass destination source/sink when moving streams so that we can access them
2009-04-01 03:04:39 +02:00
Lennart Poettering
76c44d104d
be a bit more verbose about max_request changes
2009-03-31 21:36:45 +02:00
Lennart Poettering
cebaa98b38
Log underruns
2009-03-31 21:36:09 +02:00
Lennart Poettering
65b787d000
notify clients about tlength changes
2009-03-30 18:46:12 +02:00
Lennart Poettering
7c37c37fff
document more often the context certain functions are called in
2009-03-30 18:26:23 +02:00
Lennart Poettering
d04f3e1aef
Trigger move callback a little bit earlier so that no IO thread is running
2009-03-30 18:21:34 +02:00
Lennart Poettering
08154554b0
only store card profile if flagged for that
2009-03-23 19:31:36 +01:00
Lennart Poettering
fe3709c5c7
fix a comment
2009-03-19 19:38:30 +01:00
Lennart Poettering
ff38eaf677
Merge commit 'coling/lgpl21'
2009-03-03 21:44:56 +01:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
297515a39e
pass profile priority value to clients
2009-03-03 00:32:10 +01:00
Lennart Poettering
f8a085f5cf
properly handle directed card info requests
2009-03-02 18:11:49 +01:00
Lennart Poettering
4505bc9cc6
introduce default channel map in addition to the default sample spec
2009-02-21 16:32:42 +01:00
Marc-André Lureau
88fc458393
protocol-native: don't leak a proplist
2009-02-19 04:58:05 +01:00
Marc-André Lureau
d1306e3020
pulsecore: fix check for cb (m is already checked before)
2009-02-19 04:55:20 +01:00
Marc-André Lureau
6c8d851643
protocol-native: fix get_info() for cards
2009-02-19 04:50:16 +01:00
Lennart Poettering
6db307360b
export card information for sinks/sources and number of sinks/sources a profile would create to clients
2009-02-18 22:11:50 +01:00
Lennart Poettering
be81a681ac
if we fail to import a memblock fill in silence to guarantee stability of timing
2009-02-18 21:55:55 +01:00
Lennart Poettering
823431e447
allow sending meta/policy events to clients
2009-02-12 03:18:05 +01:00
Lennart Poettering
ee5abc3d64
make native protocol use pa_{sink_input|source_output|card}_update_proplist()
2009-02-05 04:10:08 +01:00
Lennart Poettering
d802a76963
remove soft volume from pa_sink_input_new_info since it should be handled internally and automatically by the sink input
2009-02-04 18:34:08 +01:00
Lennart Poettering
b2c923e727
properly handle failing stream creation
2009-02-04 18:33:01 +01:00
Lennart Poettering
08800c35b0
make a couple of functions return proper error codes
2009-02-03 03:14:20 +01:00
Lennart Poettering
e47d03dea4
implement PA_STREAM_FAIL_ON_SUSPEND logic
2009-02-03 02:23:46 +01:00
Lennart Poettering
a5401a50a6
store the default sink/source in proper pa_sink*/pa_source* pointers instead of a string
2009-01-28 01:46:27 +01:00
Lennart Poettering
64b0543588
when changing volume, store whether it is worth remembering or no
2009-01-27 23:40:03 +01:00
Lennart Poettering
d5f46e824e
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources
2009-01-27 04:39:07 +01:00
Lennart Poettering
1be39e4fa5
allow samples to be played with 'default' (i.e. unspecified) volume.
2009-01-27 03:05:40 +01:00
Lennart Poettering
7c11554daa
make gcc shut up
2009-01-22 00:26:34 +01:00
Lennart Poettering
996bba7522
implement PA_COMMAND_SET_CARD_PROFILE
2009-01-21 03:04:04 +01:00
Lennart Poettering
e0f8c13012
remove unused variable
2009-01-20 20:33:47 +01:00
Lennart Poettering
a65c2c7336
add client API for querying card information
2009-01-20 03:25:29 +01:00
Lennart Poettering
b23efc0a4d
add missing eof checks
2009-01-20 02:15:43 +01:00
Marc-André Lureau
9c4f8e627a
pulse: introspect sink state
2009-01-20 00:16:18 +02:00
Lennart Poettering
b43a45d184
allow setting properties for modules, too
2009-01-19 22:02:28 +01:00
Lennart Poettering
4a13763797
Add support for 24bit samples encoded in the LSB of 32 bit words
2009-01-16 18:39:36 +01:00
Lennart Poettering
6dc76d1158
add support for 24bit packed samples
2009-01-16 03:15:39 +01:00
Lennart Poettering
bae221cca9
rework module usage counter stuff to be pull based
2009-01-15 20:49:12 +01:00
Lennart Poettering
47a2b17d01
make proplist inheritance scheme automatic and implicit
2009-01-15 20:27:07 +01:00
Lennart Poettering
29c7a28817
kill autoload stuff as planned
2009-01-15 20:07:13 +01:00
Lennart Poettering
5abda63a1f
convert pa_client instantiation to use a pa_client_new_data struct and add hooks for manipulating it
2009-01-15 17:52:29 +01:00
Lennart Poettering
75119e91cd
add new dont_rewind_render flag to allow quick starts of newly created streams
2009-01-15 00:40:06 +01:00
Lennart Poettering
aff72437a6
Fix suspending of all sinks/sources
...
pasuspender issues a SUSPEND_ALL requests for suspending all
sinks/sources at once. This has been broken due to an ill-placed sanity
checked.
2009-01-12 19:44:21 +01:00
Lennart Poettering
947a828943
fix version check
2009-01-12 19:33:38 +01:00
Lennart Poettering
6130c5c11b
Add "base volume" field to sinks/sources
2008-12-24 00:49:43 +01:00
Lennart Poettering
adc2973c8d
Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED
2008-10-26 19:32:04 +01:00
Marc-Andre Lureau
45412740b8
volume hooks
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-07 01:54:30 +02:00