Wim Taymans
136fc028a5
prefer S24 over S16 formats
...
Prefer the higher quality over performance.
Fixes #457
2020-12-06 10:37:40 +01:00
Wim Taymans
316a96d501
improve debug
2020-12-06 09:32:12 +01:00
Wim Taymans
6d494c120f
bluez5: improve debug
2020-12-05 20:56:56 +01:00
Wim Taymans
7996b44036
a2dp: fail if no ldac samplerate was found
2020-12-05 20:16:25 +01:00
Kamil Sołtysik
0a8a854721
Fix codec names in comments
2020-12-05 19:23:27 +01:00
Wim Taymans
c3c1a1184c
a2dp: use unsigned for sizes
2020-12-05 08:30:14 +01:00
Wim Taymans
4797018e4f
ldac: fix sample rates
...
Fix selection of sample rates.
Higer samplerates are not supported by the library so disable them.
See #449
2020-12-05 08:18:01 +01:00
Wim Taymans
635a378ca4
bluez5: don't error on 0 decode length
...
It can happen for the first frame when the codec is filling up.
2020-12-04 12:00:42 +01:00
Wim Taymans
a592eb60a8
bluez5: fix buffer filled check
...
Just check if the encode buffer is full. The max number of frames
has been obtained before.
2020-12-04 11:59:40 +01:00
Wim Taymans
106d597305
bluez5: add aptX and aptX HD codecs
...
They need the libopenaptx libraries from
https://github.com/pali/libopenaptx
2020-12-04 11:34:38 +01:00
Wim Taymans
9818582abe
a2dp: fix aac codec compilation
2020-12-03 19:03:38 +01:00
Wim Taymans
73b13e8ad5
a2dp: deinit codec_data in stop
2020-12-03 18:11:06 +01:00
Wim Taymans
8bf0b7b4db
a2dp: delay codec init to after acquire
...
Some codecs need the MTU as a parameter so wait until we acquire
with creating the codec context.
Make some method to enumerate the parameters from the transport
config and use that for the EnumFormat param.
2020-12-03 18:05:57 +01:00
Wim Taymans
67694a1491
a2dp-ldac: free handle on error
2020-12-03 11:18:27 +01:00
Wim Taymans
908e3f3d1f
bluez5: only register available A2DP encoder/decoder
2020-12-03 11:09:13 +01:00
Wim Taymans
dd8573a5c2
bluez5: add ldac codec
2020-12-03 10:16:14 +01:00
Wim Taymans
3363544d05
bluez5: use start_decode to skip the header
2020-12-02 17:01:22 +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
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
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
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
04aa5472d3
journal: make it possible to set level from info
2020-11-18 17:42:47 +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
5a98a9b1cd
alsa: reload alsa configuration
...
Fixes #332
2020-11-05 10:00:25 +01:00