Lennart Poettering
46b8ca21d1
native-protocol: allow enumerating ports
2009-06-17 23:17:37 +02:00
Lennart Poettering
6d7cf14dbf
native: implement command to change sink/source port
2009-06-17 04:52:41 +02:00
Lennart Poettering
31575f7766
alsa: rework mixer logic
...
Completely rework mixer logic. This now allows controlling a full set of
elements from a single sink's volume slider/mute button.
This also introduces sink and source "ports" that can be used to choose
different input or output ports with the UI. (i.e. "mic"/"line-in" or
"speaker"/"headphones".
The mixer paths and device maps are now configered in external
configuration files and can be tweaked as necessary.
2009-06-17 03:45:14 +02:00
Lennart Poettering
00797b8b6e
core: add a suspend cause flags field
2009-06-05 19:05:07 +02:00
Lennart Poettering
ad5a1f312a
protocol-native,proplist-util: port to pa_get_{user|host}_name_malloc()
2009-04-29 01:56:02 +02:00
Lennart Poettering
fe8b10cc05
core: introduce new 'reference' volume for sinks
...
The reference volume is to be used as reference volume for stored stream
volumes. Previously if a new stream was created the relative volume was
taken relatively to the virtual device volume. Due to the flat volume
logic this could then be fed back to the virtual device volume.
Repeating the whole story over and over would result in a device volume
that would go lower, and lower and lower.
This patch introduces a 'reference' volume for each sink which stays
unmodified by stream volume changes even if flat volumes are used. It is
only modified if the sink volumes are modified directly by the user.
For further explanations see http://pulseaudio.org/wiki/InternalVolumes
2009-04-13 22:56:25 +02:00
Lennart Poettering
f8ebe8571c
protocol-native: downgrade message if we receive pcm block for dead stream
2009-04-10 01:16:59 +02:00
Lennart Poettering
5b871966ab
protocol-native: print underrun message only once for each underrun
2009-04-10 01:16:24 +02:00
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