Wim Taymans
72d70b0f48
Add and fix some more warnings
...
Fixes #216
2020-03-17 11:37:56 +01:00
Wim Taymans
4dcd0dacc9
fmt-ops: add more benchmark cases
2020-03-16 16:45:20 +01:00
Wim Taymans
37d3864949
merger: add some SPA_LIKELY
2020-03-16 16:12:34 +01:00
Wim Taymans
3a911dfe3b
fmt-ops: add avx2 optimized version
...
Only one optimized version but the sse2 version are compiled with
the avx2 flags so that they get optimized better.
2020-03-16 16:11:29 +01:00
Wim Taymans
6eca935e61
also test optimized versions
2020-03-16 13:08:33 +01:00
Wim Taymans
fd3dd14ebe
fmt-ops: add optimized f32 to s16 stereo conversion
2020-03-16 13:04:21 +01:00
Wim Taymans
0548fbf690
fmt-ops: fix bug in s32 to f32 conversion
2020-03-16 12:57:21 +01:00
Wim Taymans
cb7bfdf98a
sprinkly SPA_LIKELY/UNLIKELY around
2020-03-16 12:52:28 +01:00
Wim Taymans
d762d57665
impl-node: the mix output port is always 0
2020-03-16 11:11:35 +01:00
Wim Taymans
5273320825
jack: fix midi output
2020-03-15 08:45:56 +01:00
Jonas Holmberg
b99313a59e
pipewire-alsa: Get period_bytes from config
...
Use period_bytes constraint from config if present.
2020-03-12 15:00:50 +01:00
Wim Taymans
9613f16caf
alsa-pcm: ignore error after recover
...
If we get an error after receovering, ignore it and assume we filled
the buffer completely. We need to do this or otherwise we stop the
timer and audio stops.
2020-03-12 10:52:52 +01:00
Jonas Holmberg
195ac82394
pipewire-alsa: Correct the max channels value
2020-03-12 09:19:58 +01:00
Jonas Holmberg
56f4ee5999
pipewire-alsa: Support hw constraints in config
...
Use rate, format and channels constraints from config if present.
2020-03-11 17:10:15 +01:00
Wim Taymans
e13e81881f
examples: use dataType mask
...
Set the dataType mask to MemFd because that is what we can
produce. Check the negotiated buffer data types.
2020-03-09 18:05:51 +01:00
Wim Taymans
f94c24af97
buffers: negotiate dataType in buffers
...
Use the dataType in the Buffers param. It contains a bitmask
of compatible types between ports.
2020-03-09 17:44:42 +01:00
Wim Taymans
c66d60fbdb
buffers: handle param enum errors
...
When filtering parameters, return an error when something went
wrong as opposed to 0. This way we can see if there was an error
or just no parameters. Fail when there was an error negotiating
the buffer size because that means incompatible values.
2020-03-09 17:04:00 +01:00
Wim Taymans
66f4834df3
param: add dataType buffer parameter
...
The dataType parameter is a bitmask of allowed data types for the
buffer memory. Make the mask by or-ing all (1 << enum spa_data_type)
you accept/produce.
2020-03-09 12:52:35 +01:00
Wim Taymans
387fcfdc8a
pod: add support for flags filter
...
Add macro to make flags choice from int and long.
Implement the filter for flags by or-ing the flags.
2020-03-09 12:49:14 +01:00
Jan Koester
6c911993fb
fixed yaml file
2020-03-09 09:57:12 +01:00
Rasmus Thomsen
fba9d8931d
module-protocol-native: fix build on s390x
2020-03-09 08:52:16 +00:00
Rasmus Thomsen
cfd829913e
meson: add rpath on the modules_install_dir for all modules
...
Otherwise the dynamic loader won't be able to find libraries in
modules_install_dir we link against
fixes #214
2020-03-09 08:51:49 +00:00
Ariel D'Alessandro
80ea7d230c
meson.build: Define missing sndfile dependency
...
The audioconvert tool checks for sndfile dependency, which is missing in
case pw-cat option is disabled.
Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
2020-03-06 18:12:10 -03:00
Wim Taymans
74a1632f07
0.3.1
2020-03-06 19:05:26 +01:00
Wim Taymans
091b420b0b
stream: don't call suspended callback when disconnecting
2020-03-06 18:57:13 +01:00
Wim Taymans
7f086da39e
monitor: fix copy and paste errors
...
Remove some leftover stuff from the spa_monitor
Spotted by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
2020-03-06 18:30:34 +01:00
Wim Taymans
1b0ad00fb1
conf: update and document the config file a little
2020-03-06 18:13:13 +01:00
Wim Taymans
e93d235208
command: add -nofail to create-object
2020-03-06 18:08:44 +01:00
Wim Taymans
bb15472e7c
context: "none" is a valid profile that loads nothing
2020-03-06 18:07:55 +01:00
Wim Taymans
54eef8bb9d
pw-cat: write midi bytes directly.
2020-03-06 16:47:02 +01:00
Wim Taymans
6700e332f9
Revert "pw-cli: Collect and display parameters from global symbols"
...
This reverts commit 3b53a6e049 .
2020-03-06 16:33:50 +01:00
Wim Taymans
524f9fd96d
Revert "Implement JSON/YAML command for graph tree traversal"
...
This reverts commit 7ead270265 .
2020-03-06 16:33:36 +01:00
Wim Taymans
8644e80304
Revert "Fix change_mask string generation"
...
This reverts commit b445bdea27 .
2020-03-06 16:33:14 +01:00
Wim Taymans
b7f952e02b
Revert "Fix printf attribute compilation errors"
...
This reverts commit 4175191d19 .
2020-03-06 16:30:32 +01:00
Wim Taymans
d880db3933
Revert "pw-cli: use core object to map id to proxy"
...
This reverts commit 918acd61ef .
2020-03-06 16:30:18 +01:00
Wim Taymans
e9884fcfb5
pw-*: Use user data to track param changes
...
Use the new param_info user field to track individual param
changes and only notify thos that changed.
2020-03-06 15:41:02 +01:00
Wim Taymans
43601ad722
introspect: use the user flag to count changes
...
Whenever a param change was found, increment the user counter
of the spa_param_info. We can use this to detect changes in
individial param_info items without having to track them
ourselves.
2020-03-06 15:40:58 +01:00
Wim Taymans
8b53ff55d0
param: add one user field to keep state
...
The this field can be used by apps who keep a copy of the
spa_param_info. They can use it, for example, to keep a counter
with the amount of changes since last processed.
2020-03-06 15:40:53 +01:00
Pantelis Antoniou
4db9a1e96d
audiotestsrc: Make audiotestsrc work
...
This small patch makes audiotestsrc work.
You will need to uncomment the following lines in pipewire.conf
add-spa-lib audiotestsrc audiotestsrc/libspa-audiotestsrc
create-object adapter node.name=my-test factory.name=audiotestsrc
If you use pw-record, use --list-targets to find the target id and
record using --target=<n>
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
2020-03-05 18:41:53 +01:00
Wim Taymans
d4fcbaa5d1
debug: make function to get short name
2020-03-05 18:18:54 +01:00
Wim Taymans
b070752add
context: don't load rtkit by default
...
Don't load and use rt-kit by default because it can cause sigkill in
the app, which is not good when it happens in a compositor.
Make the module profile a comma-separated list of profiles and make
it possible to explicitly load rtkit as well.
load the rtkit profile as well in jack.
2020-03-05 12:12:46 +01:00
Wim Taymans
c4b2be2aad
use true and false for boolean properties
...
So that it's easier to convert them to booleans in introspection
code later.
2020-03-03 18:17:46 +01:00
Wim Taymans
b60d7bf2bc
examples: always use last buffers
...
Skip buffers and always use the last buffer in the queue. This
compensates for slow reading clients.
2020-03-03 13:28:21 +01:00
Wim Taymans
b9916ea5b2
impl-node: don't warn when setting io fails
...
It's ok to not implement the io_position area. Don't warn when this
happens but always configure the area in the node.
2020-03-03 13:18:36 +01:00
Wim Taymans
8096984b7e
testsrc: remove checks in suspend and pause
...
We don't need to have a format or buffers to be able to pause.
2020-03-03 13:17:28 +01:00
Wim Taymans
913cf29dcd
context: always set unassigned node driver to NULL
...
When a node is unassigned and doesn't need a driver, set the driver
to NULL and the node to IDLE.
2020-03-03 13:04:33 +01:00
Wim Taymans
fd262aa0f2
adapter: add some debug
2020-03-03 13:04:13 +01:00
Wim Taymans
205828a244
daemon: add create-object command
...
Add a command to create an object from a factory. Add some example
lines in the config file on how to wrap an audiotestsrc in an
adapter with this.
2020-03-03 12:15:49 +01:00
Wim Taymans
11fc529fa0
stream: don't call trigger in dequeue
...
Dequeue should not ever trigger the start of a cycle.
2020-03-03 11:17:47 +01:00
Wim Taymans
2d88970dab
examples: use better Buffer values
2020-03-03 11:17:22 +01:00