Wim Taymans
9bd21d6c18
man: improve man pages a little
2020-02-18 10:36:28 +01:00
Wim Taymans
319df9fce9
pw-cat: add option to set resampler quality
2020-02-14 20:34:08 +01:00
Wim Taymans
75e14ecadc
resample: tweak resample qualities a little
2020-02-14 20:23:15 +01:00
Wim Taymans
621f6ca10b
resample: reset props first, then override
2020-02-14 20:22:55 +01:00
Wim Taymans
dbd483cb46
resample: add resample.quality property
2020-02-14 20:19:47 +01:00
Wim Taymans
3fab544d3d
resample: add quality property
2020-02-14 20:16:50 +01:00
Wim Taymans
0023aac9b9
resample: add some more qualities
...
Clamp quality to available qualities.
0 is a valid quality
2020-02-14 18:00:49 +01:00
Wim Taymans
484d211119
spa-resample: quality 0 is a valid value.
2020-02-14 16:55:37 +01:00
Wim Taymans
046f41c31c
test: fix number of queued samples
...
The number of queued samples is twice the delay.
2020-02-14 10:52:21 +01:00
Wim Taymans
6603fab405
spa-resample: flush last samples
...
Use 0 samples to flush out the last samples from the resampler.
2020-02-14 09:50:49 +01:00
Wim Taymans
039f6751e1
resample: fix delay reporting
2020-02-14 09:50:35 +01:00
Wim Taymans
5df1c5ae40
resample-native: fix phase shift
2020-02-13 20:41:14 +01:00
Wim Taymans
7267a6bc34
resample: remove old debug variable
2020-02-13 20:11:39 +01:00
Wim Taymans
83f2e890ad
tools: add generic resampler tool
...
Add a tool that can convert the sample rate of an input file and
write it to an output file. This tool can be used to test the
resampler.
2020-02-13 16:46:03 +01:00
Wim Taymans
761119f640
resample: fix start position of new samples
...
When we finished processing the history it might be possible that we
need to skip some samples from the input. Implement this by adding
a start offset for the samples in the buffer.
2020-02-13 16:43:06 +01:00
Wim Taymans
0a26c478f7
pw-cat: small cleaups
...
Set endianness correctly
Move setup of output file format outside of sample format function.
2020-02-13 09:51:25 +01:00
Wim Taymans
192fee98a4
fmtconvert: suggest 2 buffers by default
...
When running pw_stream with async process, we need an extra buffer
to compensate for the thread switch.
2020-02-13 09:47:19 +01:00
Wim Taymans
5e71a01e8d
pw-cat: fix setup of defaults
...
In record mode, setup the parameters before we open.
2020-02-13 08:59:41 +01:00
Wim Taymans
dfdbec1303
node: improve debug of params
...
List the param id and the name
2020-02-12 17:58:22 +01:00
Wim Taymans
fe85a3b817
pw-cat: refactor a bit
...
Try to keep the sndfile code in one place
2020-02-12 17:57:42 +01:00
Wim Taymans
e5bdb04b3a
pass data around instead of resource
...
Avoids method calls to get the userdata from a resource
2020-02-12 16:32:55 +01:00
Wim Taymans
b79e63cded
device: fix call to enum_params, we need to pass data
2020-02-12 16:29:22 +01:00
Wim Taymans
e72129b9ca
device: fix data pointer for subscribe_params
2020-02-12 16:24:31 +01:00
Wim Taymans
495dc7c3af
device: implement subscribe_params
...
Also add subscribe params for the device, like for Node and Port.
2020-02-12 16:07:10 +01:00
Wim Taymans
df65e0bcd3
pw-cat: fix remote name option
2020-02-12 13:39:47 +01:00
Wim Taymans
454e743d1a
resample: make quality configurable
2020-02-12 13:31:03 +01:00
Wim Taymans
f726a77385
filter: expose pw_filter_get_name()
2020-02-12 08:57:09 +01:00
Wim Taymans
3f4be40f30
pulse: only define PA_LIKELY when not already defined
...
New pulse makes this define visible.
2020-02-12 08:55:24 +01:00
Georges Basile Stavracas Neto
4778b5911e
pipewire/filter: Remove duplicated function declaration
...
pw_stream_get_name() is already declared at steam.h, and including
filter.h breaks the build with more strict build flags.
2020-02-11 17:43:45 -03:00
Wim Taymans
945da1e6f3
0.2.96
2020-02-11 16:06:27 +01:00
Wim Taymans
c82e38ad35
conf: limit buffers to 16
...
Old v0 clients can only handle up to 16 buffers. It's unfortunate that
we have to enforce this globally but otherwise it is possible that
a new client allocated more buffers which it then tries to share with
an old client and fail.
2020-02-11 16:03:38 +01:00
Wim Taymans
1a6848801f
fix compiler warnings
2020-02-11 15:25:53 +01:00
Wim Taymans
9ce2c6157f
client-node: fix v0 data offset
...
Set the right data offset for v0 clients.
2020-02-11 15:15:20 +01:00
George Kiagiadakis
db734a952d
pkgconfig: require libspa on the libpipewire pkgconfig file
...
pipewire/pipewire.h directly includes spa headers, so libspa
is an implicit dependency that must always be required
2020-02-11 14:01:52 +00:00
Wim Taymans
d52df30c88
pipewireclock: use the monotonic time for now
...
Don't try to use the ticks for the clock but use the monotonic
timestamp instead.
2020-02-11 13:08:04 +01:00
Wim Taymans
b7f249c389
port: fix compilation
2020-02-11 12:14:23 +01:00
Wim Taymans
e68139079d
volume: set the right info flags for params
2020-02-11 12:12:49 +01:00
Wim Taymans
cd77ceebbc
impl-port: warn and not crash when spa-node has no properties
...
When a spa-node tells us it has updated properties but then gives
us a NULL pointer, emit a warning instead of crashing.
2020-02-11 12:06:59 +01:00
Wim Taymans
293932d4ec
v0: improve compatibility
...
Implement RequestClockUpdate event and ClockUpdate message for
old clients.
2020-02-11 11:23:28 +01:00
Wim Taymans
c12f2276c4
stream: streams are always live for now.
2020-02-11 11:22:52 +01:00
Wim Taymans
6085c0eaee
v4l2: use the buffer time as pts
...
Don't try to use the seq number as pts, just use the timestamp
returned from v4l2 if any so it can be matched against the clock.
2020-02-11 11:21:34 +01:00
Wim Taymans
09503f0987
meta: move seq number around for v2 compat
...
The v2 gstreamer elements use the pts for timestamps so make sure
it is still in the same place as before.
2020-02-11 11:20:40 +01:00
Wim Taymans
7edd3fb054
typemap: fill out more audio formats
2020-02-10 20:46:18 +01:00
Wim Taymans
eab6dda513
protocol-native: improve v0 compatibility
2020-02-10 18:15:24 +01:00
Wim Taymans
651013bfab
Revert "buffers: set stride in buffer data chunks"
...
This reverts commit b3c4eecea7 .
The provider of the buffers should really set the fields in the
chunk such as the offset, size and stride.
2020-02-10 16:55:02 +01:00
Wim Taymans
b3c4eecea7
buffers: set stride in buffer data chunks
...
v2 clients expect the stride to be set, even when the sender doesn't
set it.
2020-02-10 16:29:23 +01:00
Wim Taymans
56c15ca9e8
connection: improve version check
...
do the version check on the v2 update_types request or the v3
hello request.
2020-02-10 16:26:24 +01:00
Wim Taymans
d2e7f75071
resource: destroy old core_resource
...
If there is already a core_resource when we are going to make a new
one, remove the old one. This can happen when there is a version
switch.
2020-02-10 16:22:49 +01:00
Wim Taymans
905e5af058
jack: implement the jack_info_callback and function
2020-02-10 10:59:24 +01:00
Jan Koester
656c58fd98
jack: add error callback
2020-02-10 10:48:49 +01:00