Wim Taymans
fc9a6d6b1e
spa: spa_json_get_string does not return the length
...
The returned string is null terminated.
2021-03-18 18:57:26 +01:00
Wim Taymans
8e590df92f
spa: improve info parsing
...
Make info parsing a bit easier to read by assigning the key and
value to temporary variables.
Improve the parsing of channelmap using json parser to make it
support more cases.
Add a unit test for channelmap parsing options.
2021-03-18 18:40:56 +01:00
Wim Taymans
9662bc96ab
null-audio-sink: support and prefer planar F32P
...
It's easier to convert to and also the native format for the converter
so that it can operate in passthrough mode without any copies.
2021-02-26 21:15:14 +01:00
Wim Taymans
c6f94def08
null-sink: fix null sink scheduling
...
The null sink pulls in data and provides data after it got the
data in _process.
See #472 #442
2020-12-14 10:21:13 +01:00
Wim Taymans
57886c1198
spa: add audio.position support in null sink
2020-12-02 12:59:50 +01:00
Wim Taymans
4c486c7ae3
spa: remove media.class from null-audio-sink
...
We can use it with othe media.class values as well
2020-12-02 11:47:08 +01:00
Wim Taymans
d77c563ae8
null-audio-sink: return fixed values for rate/channels when set
2020-11-26 10:21:36 +01:00
Wim Taymans
c3138a9bac
spa: make null-sink rate and channels configurable
2020-11-25 21:05:21 +01:00
Wim Taymans
e8640683bb
support: add null audio sink
2020-08-20 18:00:00 +02:00