Commit graph

44 commits

Author SHA1 Message Date
Wim Taymans
71cab0c385 context: Improve not implemented methods
Let the not implemented methods return an operation instead of NULL
to make clients happy.
2019-04-17 15:44:40 +02:00
Wim Taymans
d4cf47ec55 context: use subscribe params
Improve volume setting
2019-03-18 16:11:23 +01:00
Wim Taymans
571cb214d5 context: improve introspection
When subscribing, always bind to all objects we are interested in.
Wait until all info is collected and then reply to introspection
requests.
2019-03-15 20:31:20 +01:00
Wim Taymans
cb7b25277b context: cancel operations when globals are removed
Keep track of all the operations pending for a global and cancel them
when the global is removed.
2019-03-12 12:15:28 +01:00
Wim Taymans
3eb1a09cd2 introspect: wait for enum to complete
Trigger another sync after starting node or device param enum
2019-03-11 18:05:24 +01:00
Wim Taymans
f54412e722 introspect: only introspect readable node and device params
Check the node and device params for READ access before attempting
to enumerate them.
2019-03-11 16:53:48 +01:00
Wim Taymans
df5c1f4c6e pulse: events are void 2019-03-01 14:03:28 +01:00
Wim Taymans
83b2aca072 pulse: update for seq change 2019-02-25 17:16:14 +01:00
Wim Taymans
bf91b8c002 pulse: update for async changes 2019-02-25 12:27:51 +01:00
Wim Taymans
71e5c13191 operation: fix for async changes 2019-02-20 17:50:22 +01:00
Wim Taymans
61edd78bf4 fix for api changes 2019-02-18 12:27:38 +01:00
Wim Taymans
5f9200d9ee pulse: add SPA_EXPORT 2019-02-06 13:23:43 +01:00
Wim Taymans
1fd2e6beae update for param api change 2019-01-18 13:39:37 +01:00
Wim Taymans
386e5c966c pulse: update to new pod api 2019-01-16 11:04:22 +01:00
Wim Taymans
f509e8552d pulse: improve includes 2019-01-14 13:01:47 +01:00
Wim Taymans
14573f1201 pulse: use core_proxy to listen for done and info messages 2019-01-10 09:31:37 +01:00
Wim Taymans
0de0de299a add const to info 2019-01-09 17:48:51 +01:00
Wim Taymans
491a7679f8 add _GNU_SOURCE 2019-01-08 17:35:54 +01:00
Wim Taymans
89fb73a949 fix signed and unsigned comparisons 2019-01-07 15:04:34 +01:00
Wim Taymans
9062145e13 implement more API
Implement the sink/source volume/mute api
2019-01-04 10:00:57 +01:00
Wim Taymans
3d95ea4d13 introspect: set sink/source flags 2018-12-20 13:08:09 +01:00
Wim Taymans
3d34acd2f2 introspect: fix profiles free 2018-12-20 12:46:35 +01:00
Wim Taymans
6db8e05256 introspect: implement more 2018-12-14 16:42:36 +01:00
Wim Taymans
72b61f614a stream: handle monitor sources 2018-12-11 16:37:30 +01:00
Wim Taymans
c201a1e666 stream: enable monitor when PEAK_DETECT flag is set 2018-12-05 16:02:03 +01:00
Wim Taymans
ece9cff495 introspect: implement kill operations 2018-12-04 16:36:49 +01:00
Wim Taymans
bb101afa0c introspect: merge client properties in sink_input/source_output
sink_input and source_output must contain the merged properties of
the client.
2018-12-04 16:34:58 +01:00
Wim Taymans
2d4ecaf85d introspect: use right client property 2018-12-04 13:38:58 +01:00
Wim Taymans
84a7bf671c stream: connect to source and sink
Stream: also connect to the right source, try to convert the name to
index when lookup fails, just like what pulseaudio does.
Implement more proplist functions, add some more info to the stream.
stream: handle NULL format
Improve introspection of the sink_input and source_output name, this
should be the media.name when possible.
2018-12-04 11:50:23 +01:00
Wim Taymans
2864e7ec75 introspect: improve introspection
Update introspection structures when we get the info from pipewire.
2018-11-29 17:30:24 +01:00
Wim Taymans
d02a8375c3 introspect: implement more introspect 2018-11-28 13:38:37 +01:00
Wim Taymans
08d6071693 context: list audio devices as cards
Find the sink/source a stream is linked to
2018-11-28 11:13:21 +01:00
Wim Taymans
01aa9a5960 introspect: implement enough to make gnome-control-center work
We can see sources and sink and change the volume/mute of streams
2018-10-19 16:57:03 +02:00
Wim Taymans
faccc8d506 implement more methods
Implement extensions with dummies
Implement some more introspection, enough to make pavucontrol start
Implement volume changes on sink_input
2018-10-19 13:30:20 +02:00
Wim Taymans
520a9831e7 stream: fix connect by name
Look up the node id for the given device name and use that to connect.
2018-09-21 16:46:51 +02:00
Wim Taymans
5fb984a647 update for type changes 2018-08-29 09:54:54 +02:00
Wim Taymans
be2dee53bc update to new types 2018-08-24 11:00:33 +02:00
Wim Taymans
1ea54ac9c5 pulse: improve remote sync
Add an explicit method to make the operation to a roundtrip to sync
pending actions.
Implement drain.
2018-08-02 10:31:29 +02:00
Wim Taymans
27d34dde88 introspect: improve introspection
stream: set roles
2018-07-04 18:43:45 +02:00
Wim Taymans
71d87c589d stream: fix introspection of linked device 2018-07-04 15:33:20 +02:00
Wim Taymans
3cfbdc750a introspect: don't store mute state 2018-07-03 22:09:53 +02:00
Wim Taymans
b98c98cc8d context: rework how we introspect
Use the properties of the global to mark the global type, use this
to filter the objects.
Hook up the volume control
2018-07-03 22:03:25 +02:00
Wim Taymans
fe932db2c6 Various improvements
context: fix memory free
subscribe: implement dummy methods
introspect: implement more
stream: keep track of dequeued buffers ourselves because we need to
be able to cancel and keep track of writable size.
2018-06-05 20:10:31 +02:00
Wim Taymans
faa5984fce Initial import 2018-06-01 11:28:31 +02:00