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
1e9b152bb5
spa: make an extra level for arrays
...
Make a level with type info for the array elements.
2020-12-01 13:30:14 +01:00
Wim Taymans
73e0bb255a
props: add container property to PROP_INFO
...
So we can mark a property should be inside a container.
Use this info in pw_stream to construct properties.
2020-12-01 12:58:18 +01:00
Wim Taymans
d098c2ba86
acp: add option to disable hardware mixer
...
See #426
2020-12-01 10:43:39 +01:00
Wim Taymans
967a5e06b0
spa: fix type info
...
Link to objects in the parent field
Use the type, not the container for some properties. We need something
else to note the container type maybe
2020-11-30 13:30:19 +01:00
Wim Taymans
75a4cff450
improve debug
2020-11-29 16:38:36 +01:00
Wim Taymans
b8300c663b
improve some errors
...
Silence some -ENOENT warnings, they can happen when the object we
are introspecting is destroyed
2020-11-29 16:22:50 +01:00
Haochen Tong
a1259a75be
spa: enable fallthrough attribute on recent clang
2020-11-29 02:32:12 +01:00
Wim Taymans
57a9e82f79
spa: 0 means there is nothing left from from spa_json_next()
2020-11-28 20:35:25 +01:00
Wim Taymans
6e4c138238
properties: support properties from json object sting
...
Make pw_properties_new_string() work with a json object string.
This makes it possible to specify property strings as more complex
objects and escape characters.
2020-11-28 20:25:39 +01:00
Wim Taymans
62cdec8448
spa: move json parser to utils
...
Add unit test
Add escape function
2020-11-28 15:34:01 +01:00
Wim Taymans
a417ffcd38
alsa: add timerfd based playback example
2020-11-27 10:30:54 +01:00
Wim Taymans
119678e8d1
Revert "alsa: sync to latest acp"
...
This reverts commit f611e34456 .
There is something wrong with this
2020-11-26 12:40:44 +01:00
Wim Taymans
f611e34456
alsa: sync to latest acp
2020-11-26 11:16:31 +01:00
Wim Taymans
4d62899375
acp: sync versions
2020-11-26 10:42:26 +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
ddfb310087
alsa-pcm: improve recover from suspended state debug
2020-11-26 09:24:57 +01:00
Wim Taymans
c3138a9bac
spa: make null-sink rate and channels configurable
2020-11-25 21:05:21 +01:00
Wim Taymans
b055b9de25
alsa: Make sure we handle errors in close
...
When a device is removed, close() will error. Warn about this but
continue closing our other things including marking the device
as closed so that we don't try to close it again later.
Fixes #413
2020-11-25 12:37:51 +01:00
Wim Taymans
a482e2e6e2
libcamera: delete the camera on error
...
Fixes #403
2020-11-24 09:25:07 +01:00
Wim Taymans
95e2ec9f72
channelmix: always copy the target channelmap
2020-11-23 20:17:38 +01:00
Elliott Sales de Andrade
6224068586
Fix some possible leaks.
2020-11-23 15:36:08 +00:00
Wim Taymans
231c3c8b8e
channelmix: add channelmap in properties
2020-11-23 15:33:11 +01:00
Wim Taymans
abaf63dfe6
acp: put channelmap in properties
2020-11-23 15:31:51 +01:00
Wim Taymans
af3f18b489
acp: add channel layout and map channels
2020-11-23 15:31:10 +01:00
Wim Taymans
8f7e5dd950
spa: add channelMap property param
2020-11-23 15:28:24 +01:00
Wim Taymans
fc2b0b20ad
hook: zero hooks before adding them
...
Clear the hook before adding it so that we are sure the removed
callback doesn't contain garbage and cause a crash on disconnect.
Mark the removed and priv fields as private. Make sure to add the
removed callback after adding the hook.
Fixes a crash in kwin
2020-11-20 09:40:24 +01:00
Wim Taymans
04aa5472d3
journal: make it possible to set level from info
2020-11-18 17:42:47 +01:00
Wim Taymans
935851a6a6
spa: add safe_reverse function
2020-11-18 15:00:01 +01:00
Wim Taymans
8c0f27c016
audioadapter: emit xrun when source can't produce data
2020-11-17 17:18:14 +01:00
Wim Taymans
79fb95bf90
stream: implement Flush
...
Flush out pending samples in the resampler
Set the io area status to _OK so that buffers are recycled and
new buffers produced.
2020-11-17 17:15:26 +01:00
Wim Taymans
573e2afd5e
bluez5: fix compilation of fallback Hsphfpd backend
2020-11-16 20:27:55 +01:00
Frédéric Danis
6308c5d806
bluez5: backend-hsphfpd: Add mSBC support
...
mSBC can be enabled by passing "bluez5.msbc-support=true" parameter to
pipewire-media-session.
mSBC is automatically selected if remote device supports it.
2020-11-16 18:15:39 +01:00
Frédéric Danis
7d28b51713
bluez5: Add mSBC support to sco-source
...
This has been tested with a UART Bluetoth chipset, on a Raspberry Pi 3.
It may work with USB Bluetoot chipset/dongle.
2020-11-16 18:15:39 +01:00
Frédéric Danis
1759aa834f
bluez5: Add mSBC support to sco-sink
...
This has been tested with a UART Bluetoth chipset, on a Raspberry Pi 3.
It doesn't seem to work with USB Bluetooth chipset/dongle.
2020-11-16 18:15:39 +01:00
Wim Taymans
0d9cc9e36e
loop: always place the invoke item in the queue
...
Always place the invoke item in the queue and then either signal the
other thread or flush the queue when not already flushing.
2020-11-16 15:16:20 +01:00
Wim Taymans
b8b2ce6ba9
loop: always wake up blocking items
...
We should always wake up the blocking items if we scheduled the
item.
2020-11-13 16:50:23 +01:00
Wim Taymans
31216c09c4
bluez5: fix memleak
2020-11-09 16:48:44 +01:00
Wim Taymans
42dd52c7fe
acp: clean up card object
...
Fixes #369
2020-11-09 15:01:07 +01:00
Sergey Bugaev
c101ff2057
support: add a journald logger implementation
...
Closes https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/358
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
2020-11-06 15:51:24 +00:00
Wim Taymans
80967e88ad
utils: add function to clean hook list
2020-11-06 15:32:49 +01:00
Wim Taymans
5a98a9b1cd
alsa: reload alsa configuration
...
Fixes #332
2020-11-05 10:00:25 +01:00
Wim Taymans
17e3087397
bluez5: fix some whitespace and indent
2020-11-05 09:46:11 +01:00
Wim Taymans
395a30b5d6
a2dp: fix sign of out_decoded
2020-11-02 09:16:59 +01:00
Grzegorz Uriasz
c1530ba171
Use RegisterApplication in bluez5 for A2DP if possible
2020-11-02 09:14:37 +01:00
George Kiagiadakis
5c749cf7c3
alsa-acp: bind the acp log func to the spa_log object directly
...
When the acp-device impl struct is passed to the log func, it is
possible that when this device is removed, another device using acp
is going to crash while logging a message
2020-11-02 08:10:29 +00:00
Wim Taymans
0320eca79e
pulse-server: add port_type and availability-group
2020-10-28 12:18:26 +01:00
Wim Taymans
8116da41b9
acp: use properties for port type and available group
2020-10-28 11:48:24 +01:00
Wim Taymans
6eaf8d6921
spa: remove property, we don't implement a getter
2020-10-28 10:51:08 +01:00