Wim Taymans
0c106e6777
context: sort objects by priority
2019-10-31 17:55:25 +01:00
Wim Taymans
772ec76cd9
fix includes
2019-10-25 14:58:40 +02:00
Wim Taymans
694ae6dd84
update for flags
2019-10-02 17:54:21 +02:00
Wim Taymans
f269cb9e51
Merge pull request #2 from ford-prefect/master
...
pulse: Deal with header consitification in PulseAudio 13.0
2019-09-27 09:49:11 +02:00
Arun Raghavan
8666bcac65
pulse: Deal with header consitification in PulseAudio 13.0
...
The 13.0 release included changes to constify various parameters in the
public headers, which breaks our implementation. This adds an optional
const qualifier based on the version we're compiling against to deal
with that. There are some warnings caused by bad annotations upstream
which should be fixed separately.
2019-09-27 07:45:15 +05:30
Wim Taymans
2308318b39
use properties instead of parent_id
2019-08-16 22:10:08 +02:00
Wim Taymans
f9fce3cb30
stream: use the stream drain method to drain
2019-08-16 15:23:05 +02:00
Wim Taymans
23a875e2bf
context: remove core listeners
2019-08-16 15:22:38 +02:00
Wim Taymans
e4a6782c48
stream: always require the amount of buffers
2019-08-13 18:47:30 +02:00
Wim Taymans
d5b13a1de2
stream: improve control update
...
When setting the volume, update the stream controls with the new values
and update the internal state with the control_info event.
2019-08-13 18:46:27 +02:00
Wim Taymans
69ad904b63
pulse: update per channel volumes
...
Use the channelVolume property to update the individual channel
volumes.
Update property values to match pulseaudio.
Handle the case where the number of channels changes. In pulse this
can normally never happen. Emit a remove and add of the node when
this happens as to not confuse pulse clients.
2019-08-12 12:34:54 +02:00
Wim Taymans
5e2b740ee0
context: wait till nodes are initialized before notify
2019-07-16 18:53:34 +02:00
Wim Taymans
bfd805a19e
pulse: update for removal of DSP nodes
2019-07-11 11:29:05 +02:00
Wim Taymans
67c1dca897
Update for new adapter nodes
2019-07-02 17:38:16 +02:00
Wim Taymans
d00b9f1635
some format fixes
2019-06-07 17:03:49 +02:00
Wim Taymans
9ebbcd46f9
pulse: update for api change
2019-06-06 15:02:03 +02:00
Wim Taymans
531185845a
fix for api change
2019-05-29 10:38:49 +02:00
Wim Taymans
af61dcebbf
context: fix link property
2019-05-24 16:13:39 +02:00
Wim Taymans
7d5e860d0c
update for keys
2019-05-24 15:47:05 +02:00
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