Commit graph

13563 commits

Author SHA1 Message Date
Wim Taymans
c904bed186 More test 2018-09-05 17:23:14 +02:00
Wim Taymans
4acfb88cb7 alsa: update for api changes 2018-09-05 16:48:43 +02:00
Wim Taymans
814a9592f3 stream: update for API changes 2018-09-05 16:48:13 +02:00
Wim Taymans
0673a1a4f8 jack: API changes 2018-09-05 16:47:46 +02:00
Wim Taymans
cc842cbdc8 Type changes
Only allow properties inside objects, this makes it easier to
iterate the object, which is needed for efficiently processing
control streams.
Add a choice type to mark variable properties.
SPA_TYPE_Enum -> SPA_TYPE_Id to avoid confusion with choice enum
Make it easier to allocate and initialize properties on the stack
Make more efficient methods to make objects.
2018-09-05 16:41:07 +02:00
Jan Alexander Steffens (heftig)
03fdabd155 meson: Use pkgconfig.generate
Also fixes the moduledir having a duplicated prefix.
2018-09-03 21:26:42 +02:00
Jesse Pullinen
1754438dc9 Fix memory leak in pw_properties_set
removing a property leaked the key
2018-09-03 21:24:18 +02:00
Jan Alexander Steffens (heftig)
bbba49aae1 meson: Use pkgconfig.generate
Also fixes the moduledir having a duplicated prefix.
2018-09-03 21:21:47 +02:00
Jesse Pullinen
692d96b9a4 Fix memory leak in pw_properties_set
removing a property leaked the key
2018-09-03 21:19:54 +02:00
Wim Taymans
fd97452654 update for format change 2018-09-01 14:12:24 +02:00
Wim Taymans
db277bebb6 add missing file 2018-09-01 14:10:04 +02:00
Wim Taymans
699bed4a1f channelmix: improve control parsing 2018-08-31 09:17:21 +02:00
Wim Taymans
1352c7555e man: install manpages in the right directory 2018-08-30 14:52:45 +02:00
Wim Taymans
021d6cf25a man: install manpages in the right directory 2018-08-30 14:49:08 +02:00
Wim Taymans
8d53d3018f Release 0.2.3 2018-08-30 12:45:18 +02:00
Wim Taymans
61e4ad3b41 control: always link notify and control controls 2018-08-30 12:35:14 +02:00
Wim Taymans
0bce72d898 stream: reimplement volume changes with notify stream
Implement volume changes with a notify stream.
Do volume changes in the channel mixer with control streams.
2018-08-30 12:02:39 +02:00
Wim Taymans
7cdb980b1a debug: allow custom type root 2018-08-30 12:01:52 +02:00
Wim Taymans
05d3502c84 control: rework for spa_io_sequence
Put a pw_control object on all ports that support control messages.
Allow linking of control objects (and thus ports).
Make export-sink generate control messages to update the contrast
property.
2018-08-30 09:54:54 +02:00
Wim Taymans
2631db14a8 pod: use {} as object delimited, like json
Use <> for sequence
2018-08-30 09:53:29 +02:00
Wim Taymans
ff6a244d8f Make media type and subtype properties
This is easier to debug and we only want properties in objects
in the future.
2018-08-29 18:08:52 +02:00
Wim Taymans
514528f2c7 format: make helper functions to create formats
Use helper functions to create a fully specified format.
2018-08-29 15:53:26 +02:00
Wim Taymans
80de83f38a format: make helper function to parse media type 2018-08-29 14:50:58 +02:00
Wim Taymans
5976beb149 hook up some more control streams 2018-08-29 12:43:31 +02:00
Wim Taymans
3f73c9355c alsa: update for type changes 2018-08-29 09:55:20 +02:00
Wim Taymans
5fb984a647 update for type changes 2018-08-29 09:54:54 +02:00
Wim Taymans
19336672a9 jack: update for type changes 2018-08-29 09:54:21 +02:00
Wim Taymans
cb3ccb7001 control: add missing file 2018-08-28 19:56:58 +02:00
Wim Taymans
c9526dc2bb Implement control streams
spa_io_control_range -> spa_io_range
Add helpers for sequence and control pod objects
Implement control properties in audiotestsrc, update test example.
2018-08-28 18:16:41 +02:00
Wim Taymans
90c1a95eef More type cleanups
SPA_ID_* -> SPA_TYPE_*. We use 'type' for all registered types.
ID refers to either a registered type or an enum.
Improve introspection of object ids. Make 0 an invalid enum and
use it to look up the object id type.
Move some type-info files together.
Swap type and id of the object, we first specify the type and then
the id because the meaning of the id depends on the object type.
2018-08-27 15:03:11 +02:00
Wim Taymans
47e2e1223a alsa: update for api changes 2018-08-27 09:07:42 +02:00
Wim Taymans
4c7fd98479 stream: update for api changes 2018-08-27 09:06:57 +02:00
Wim Taymans
7e3df7dc60 jack: update for API changes 2018-08-27 09:06:17 +02:00
Wim Taymans
281b65934e audioconvert: fix debug 2018-08-27 09:04:29 +02:00
Wim Taymans
b79c7f578e Move format types 2018-08-26 22:45:48 +02:00
Wim Taymans
265b4476a1 more type cleanup
Move some types in the type-info
Remove unused type files
2018-08-25 12:26:18 +02:00
Wim Taymans
d26aecfef2 More type fixes
Param ids and IO ids are now simple enums.
Move some type info in one place, delete some type-info files
Fix type debug
Make audio layout an enum
Mark more enums as enums in types so they show us with their names in
the debug.
2018-08-25 12:08:29 +02:00
Wim Taymans
b4570a42bf alsa: update for types 2018-08-24 11:01:32 +02:00
Wim Taymans
e341b2792d types: update 2018-08-24 11:01:04 +02:00
Wim Taymans
be2dee53bc update to new types 2018-08-24 11:00:33 +02:00
Wim Taymans
93a8747a44 type: add command 2018-08-24 10:59:39 +02:00
Wim Taymans
805e3bb6c1 types: work on types
Move static pod types to type system
work on type info for types
Move the event and command ids to an enum to make it easier to extend
later.
2018-08-24 10:53:09 +02:00
Wim Taymans
fca3e1d85d Remove dynamic types
Do not use dynamic types anymore. The reason is that it's difficult:

- to maintain a shared type database over a network.
- the extra overhead when translating between processes and for
  maintaining the translation tables.
- race conditions in translating in RT-threads, this is a problem
  because we want to make event streams.

We now have simple enums with types and extension points for all
types. This is also nicer to use in general.
We don't need the mapper anymore or pass strings around as types.
There is a parallel type info system to get more info about ids and
enums and their hierarchy. It can also be used for debugging.
2018-08-23 17:47:57 +02:00
Wim Taymans
e6977fa178 fmt: unrolled loop only works for stereo 2018-08-21 10:02:16 +02:00
Wim Taymans
898bb4b059 audio-dsp: fix capture again
Use splitter element to split device format to float32
2018-08-20 17:57:38 +02:00
Wim Taymans
5de4dab21b spa: set buffer sizes better 2018-08-20 17:56:59 +02:00
Rasmus Thomsen
e56344e55e meson: rename options as per meson's style guide
see https://mesonbuild.com/Style-guide.html
2018-08-17 17:52:19 +02:00
Rasmus Thomsen
55cb38d0a8 meson: add systemd option
This is handy for source distributions, which want to avoid
automagic dependencies
2018-08-17 17:50:16 +02:00
Rasmus Thomsen
58c977f69e build: respect 'includedir' meson param 2018-08-17 17:50:08 +02:00
Wim Taymans
095e69882e remove unused functions 2018-08-17 16:29:20 +02:00