Wim Taymans
4c2b6c7c91
log: add log level option
2019-06-06 15:12:59 +02:00
Wim Taymans
3f5c75c52d
cpu: add CPU_FORCE option to cpu interface
2019-06-06 15:11:37 +02:00
Wim Taymans
92d7da0103
daemon: only use properties on core
2019-06-06 15:05:37 +02:00
Wim Taymans
f5192d533f
system: pass right flag
2019-06-04 17:43:52 +02:00
Wim Taymans
81c7dd4433
support: abstract some system functions
...
Make a new API to hide some the implementation of eventfd, timerfd
and signalfd along with clock and read/write/ioctl/close functions.
We would like to have plugins use the abstractions so that we
can switch them to something else when needed.
2019-06-04 17:07:34 +02:00
Wim Taymans
98602f0343
alsa-monitor: make valid device path
2019-06-03 17:15:44 +02:00
Wim Taymans
49ef8f9b5f
spa: add keys for properties
...
Define and document property keys
2019-06-03 16:48:01 +02:00
Wim Taymans
1f250046a3
plugins: fix compilation of optional plugins
2019-06-03 16:08:42 +02:00
Wim Taymans
009a33668b
make property for monitors
2019-05-31 16:47:37 +02:00
Wim Taymans
a672a9ee67
modules: add usage to factories
...
Improve audio-dsp properties
Fix some keys
2019-05-31 16:41:07 +02:00
Wim Taymans
d4def56bcb
spa: don't pass library around
...
Don't pass the library in the methods, we use the factory_name to
find the object. Make it possible to override the default library
with a property.
2019-05-31 16:06:14 +02:00
Wim Taymans
1d1f035e78
monitor: return factory_name in the object_info
...
Pass a factory_name in the object_info of monitor and device.
Restructure the factory name to mean something functionaly. With
the factory to library mapping this then means that the implementation
of certain factories can be configured in the config file.
2019-05-31 15:06:44 +02:00
Wim Taymans
89a86db0c4
command: add add-spa-lib command
...
Add a command to add a factory name regex to library mapping.
2019-05-31 15:03:56 +02:00
Wim Taymans
b9d9042695
core: add method to add and find spa factory libraries
...
Make a method to add a mapping between a factory name regex
and the library it is in.
Add a method to find the library for a given factory name.
2019-05-31 14:58:59 +02:00
Wim Taymans
80488dba4a
daemon-config: actually use the stripped line
2019-05-31 13:21:17 +02:00
George Kiagiadakis
423f7ed858
travis: run make install and check for headers that have not been installed
2019-05-31 09:51:30 +02:00
George Kiagiadakis
9d48021af1
travis: fix runing autogen.sh after changes to detect meson
...
On the CI docker image, there is no "which" command,
so meson cannot be detected.
2019-05-31 09:51:13 +02:00
Wim Taymans
acd797d780
add device.api property
2019-05-30 16:59:30 +02:00
Wim Taymans
d45569ce9e
spa-inspect: zero listener to clear callback
2019-05-30 16:59:02 +02:00
Wim Taymans
de51046fd5
example: add example external bluez devices
...
Add an example for how to monitor devices, and make nodes that
can be used to stream bluetooth out of the daemon process.
2019-05-30 16:12:34 +02:00
Wim Taymans
e1cbdaed0b
remote: add option for extra user data for proxy
...
When doing an export, make it possible to add extra data to the
resulting proxy for user data.
2019-05-30 16:11:31 +02:00
Wim Taymans
11393ce9dd
bluez: add api to properties
2019-05-30 16:09:56 +02:00
Wim Taymans
c8cbb7e322
bluez5: improve debug
2019-05-30 13:01:15 +02:00
Wim Taymans
9785d99821
monitor: Remove monitor event
...
Remove the monitor event and emit events with structures like we do
for the devices.
2019-05-30 12:51:12 +02:00
Wim Taymans
3780bd1b30
spa: use core to load spa_handle
2019-05-29 17:53:25 +02:00
Wim Taymans
165f3e06ad
client-device: add missing file
2019-05-29 17:01:21 +02:00
George Kiagiadakis
0b4f56a586
spa/include: install missing headers
2019-05-29 11:58:39 +02:00
Wim Taymans
32ee1f045d
client-device: directly map resource to spa_device
...
The resource is an implementation of a spa_device with remote methods
so we directly use this as a device implementation.
2019-05-29 11:24:47 +02:00
Wim Taymans
e9ecc47696
clean up proxy and resource api
...
Remove override for resources, it can't work in general.
Rename method to add_object_listener to add a listener for
events/methods from the remote object.
Rename some methods to _call to call the interface and _notify
to notify the listeners.
Remove unused client event to be notified of resource
implementations.
2019-05-29 10:39:24 +02:00
Wim Taymans
b1ea91fa1d
client-device: fix cleanup
2019-05-28 17:23:52 +02:00
Wim Taymans
4754335d31
alsa: activate On profile
2019-05-28 14:13:41 +02:00
Wim Taymans
7ef99b8edb
examples: add export-spa-device example
2019-05-28 14:07:22 +02:00
Wim Taymans
67a1d317c4
client-device: add client device
...
Make it possible to implement a device out-of-process
2019-05-28 14:04:58 +02:00
Wim Taymans
504b2da72b
device: handle async implementations
2019-05-28 14:02:14 +02:00
Wim Taymans
bf677d55da
spa: implement node sync
2019-05-28 14:01:18 +02:00
Wim Taymans
9420497dd9
alsa: profile 0 is Off
2019-05-28 14:00:31 +02:00
Wim Taymans
857b2a0cfb
spa: add result type
...
We need this to know the type of result, especially when serializing.
2019-05-28 13:59:48 +02:00
Wim Taymans
c767ce62c9
device: add sync operation
2019-05-28 13:55:36 +02:00
Wim Taymans
7d1a833b82
add index of method, event and callback defines
2019-05-28 13:53:07 +02:00
Wim Taymans
5299677f88
add const to spa_event and spa_command
2019-05-28 13:51:12 +02:00
Wim Taymans
4661ee882c
spa-monitor: remove device when destroyed
...
Remove the device from our list when it got destroyed.
2019-05-27 16:02:36 +02:00
Wim Taymans
973a92b49d
device: add free signal
2019-05-27 15:58:50 +02:00
Wim Taymans
891bb49dfb
core: fix destroy order
...
Improve destroy order, destroy children before parents.
2019-05-27 15:37:01 +02:00
Wim Taymans
c44d655516
v4l2: use 32 buffers max
...
We don't yet probe the number of available buffers and so we might claim
to support 64 buffers but then fail to allocate that many buffers in
_use_buffers().
2019-05-27 15:35:20 +02:00
Wim Taymans
5b3336ce3e
device: fix event signal
2019-05-27 15:34:48 +02:00
Wim Taymans
51d1569114
stream: fix internal method call
2019-05-24 17:16:25 +02:00
Wim Taymans
428cb5de75
port: ignore not implemented mixer methods
2019-05-24 16:50:48 +02:00
Wim Taymans
a680f434d2
port: use right properties
...
Use format.dsp as a key to mark the dsp format on a port
Use audio.channel as the key to set the audio channel on a port
2019-05-24 16:14:19 +02:00
Wim Taymans
3ad73f0532
keys: add keys.h with defines and docs
...
Add a keys.h file that lists and documents all keys available to
be used in properties.
2019-05-24 15:47:48 +02:00
Wim Taymans
7bb6515800
loop: cleanups
2019-05-23 15:11:49 +02:00