Wim Taymans
2057d7955c
update for new api
2019-05-23 12:28:59 +02:00
Wim Taymans
a1a5ae1d68
update for new API
2019-05-21 15:36:44 +02:00
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
f99480c66e
stream: we can use minreq directly
2019-04-17 15:25:05 +02:00
Wim Taymans
093a068d34
stream: deactivate a stream when unlinked
2019-04-17 15:24:47 +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
49c99f8dee
context: handle context errors
...
When the context is in error it might be unreffed. Make sure we don't
ever unref the core from the callback because that is not allowed.
Instead, add a defered to the mainloop to clean up later.
2019-03-14 13:23: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
d379fa348b
stream: ignore state changes when terminated
2019-03-08 17:01:38 +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
6cd1104d0c
context: fix some memory leaks
2019-01-30 15:24:07 +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
5680e29716
pulse: add user_data to core
2019-01-08 17:30:57 +01:00
Wim Taymans
ac4ad7c8f1
stream: avoid void * arithmetics
2019-01-08 11:55:42 +01:00
Wim Taymans
bebfcf0190
stream: don't use buffer id
2019-01-07 17:54:31 +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
7c18cc431f
json: fix free of arrays
2018-12-20 13:07:53 +01:00
Wim Taymans
3d34acd2f2
introspect: fix profiles free
2018-12-20 12:46:35 +01:00
Wim Taymans
96205687c5
stream: make sure we have a context
...
Make sure we ref the stream because else it would be freed when
disconnected and we can't get the context anymore.
2018-12-17 13:27:27 +01:00
Wim Taymans
41513f11f3
context: improve cleanup
2018-12-14 16:43:34 +01:00
Wim Taymans
21c11e70fb
operation: keep ref on stream
2018-12-14 16:42:57 +01:00
Wim Taymans
6db8e05256
introspect: implement more
2018-12-14 16:42:36 +01:00
Wim Taymans
35edefdaaf
context: emit change event when nodes are linked
2018-12-14 16:42:01 +01:00
Wim Taymans
b177f1d146
context: small cleanups
2018-12-14 16:41:19 +01:00
Wim Taymans
c9ac5e6e1e
context: report error only once
2018-12-14 16:39:19 +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
e0970386f0
context: add properties
2018-12-04 16:33:59 +01:00
Wim Taymans
2d4ecaf85d
introspect: use right client property
2018-12-04 13:38:58 +01:00
Wim Taymans
1efd5f185c
proplist: implement merge mode
2018-12-04 13:38:46 +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
ad723e3793
context: log more info on errors
2018-12-03 15:12:27 +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