Commit graph

1708 commits

Author SHA1 Message Date
Wim Taymans
a195700eac node: also suspend node on destroy 2018-11-29 15:16:00 +01:00
Wim Taymans
cb2b1fb3ff handle enum_param errors on port, node and device 2018-11-29 15:15:06 +01:00
Wim Taymans
dfc464413b stream: set proxy to NULL in disconnect
The proxy is NULL while disconnected, handle this case.
2018-11-28 17:34:53 +01:00
Wim Taymans
20bcbbde78 node: handle errors from enum_param 2018-11-28 17:34:34 +01:00
Wim Taymans
6e66456381 device: implement param introspection 2018-11-28 17:34:16 +01:00
Wim Taymans
4810d91c58 media-session: use direction to derive CATEGORY
Try to use the stream direction to figure out the CATEGORY when missing.
Add some more debug
2018-11-28 17:32:35 +01:00
Wim Taymans
54f527ac02 introspect: remove ENUM_PARAM change
Remove the ENUM_PARAM change bit, we want to do this with a specific
event later that would allow us to specify which params changed etc.
2018-11-28 17:31:00 +01:00
Wim Taymans
7c54b4b89c audio-dsp: improve properties 2018-11-28 13:24:33 +01:00
Wim Taymans
0c9dc75cb3 alsa: cleanup 2018-11-28 12:27:17 +01:00
Wim Taymans
5d30b31cec properties: add _update method and use it
Remove old unused _merge method
2018-11-28 12:22:41 +01:00
Wim Taymans
59d77818d6 device: improve properties and info 2018-11-28 12:21:58 +01:00
Wim Taymans
cff8ce8e99 media-session: set device name 2018-11-28 12:21:19 +01:00
Wim Taymans
72dee1686d alsa: clean up device info 2018-11-28 11:14:28 +01:00
Wim Taymans
417c1cd756 device: add media.class to global properties 2018-11-28 11:12:36 +01:00
Wim Taymans
bf43b55d16 bluez: check for bluez deps 2018-11-27 17:19:32 +01:00
Wim Taymans
249a12ee69 bluez: work on the bluez device
Add HSP and HFP profiles
Wait for profiles to connect before exposing the device
Implement SCO and RFCOMM connection handling
2018-11-27 17:08:36 +01:00
Wim Taymans
90571c2f52 audiotestsrc: fix build 2018-11-26 13:27:35 +01:00
maxice8
3b117d9ecf module-rtkit: define RLIMIT_RTTIME in case it isn't defined.
musl libc doesn't define RLIMIT_RTTIME
2018-11-26 13:24:27 +01:00
maxice8
b911c36793 meson: don't add systemd_dep to dependencies if systemd option is false. 2018-11-26 13:24:23 +01:00
maxice8
0a8861bcbc meson: Fix configure when systemd option is set to false
Otherwise it fails with systemd variable not found.
2018-11-26 13:24:19 +01:00
Wim Taymans
7bc9c1ebfe node: remove info from node interface
Replace with info event emited when callbacks are set. This makes it
easier to implement dynamic changes.
2018-11-26 12:41:40 +01:00
Wim Taymans
57e94f7bc4 monitor: remove enum_items
Make the monitor and device emit the info and items when the callbacks
are set. This makes it easier to implement the monitor because there
is much less state to keep around and invalidate etc.
Rework the monitors
Add bluez5 device
2018-11-26 12:18:53 +01:00
Wim Taymans
10d277ce03 cli: introspect device 2018-11-23 19:29:36 +01:00
Wim Taymans
5b303b5883 protocol: add name to device 2018-11-23 19:29:04 +01:00
Wim Taymans
36cbb947f1 alsa: add media.class to device 2018-11-23 19:28:47 +01:00
Wim Taymans
3ae39180ca improve monitors 2018-11-23 19:14:47 +01:00
Wim Taymans
e23c209a5f alsa: implement monitor and device 2018-11-23 17:41:39 +01:00
Wim Taymans
0a88805743 device: handle device remove, clean up nodes 2018-11-23 13:12:03 +01:00
Wim Taymans
e1bd12e599 device: add device object
Make a device object, let the v4l2 monitor create device objects
The device object is responsible for dynamically creating nodes.
2018-11-23 12:43:47 +01:00
Wim Taymans
79253c6d46 interfaces: remove unused stuff 2018-11-22 13:36:29 +01:00
Wim Taymans
db13f90732 monitor: lookup type names 2018-11-22 13:35:30 +01:00
Wim Taymans
37c13eb83f fmt: fix offsets 2018-11-21 16:58:27 +01:00
Wim Taymans
6ee3a6003e channelmix: optimize some more 2018-11-21 16:45:31 +01:00
Wim Taymans
c8aa1f38df bluez5: negotiate AAC if possible 2018-11-21 15:51:44 +01:00
Wim Taymans
13010d5d2e fmt: use faster s24 to f32 conversion 2018-11-21 15:51:03 +01:00
Wim Taymans
25c81e8c34 media-session: only add DSP for raw audio nodes 2018-11-21 12:19:47 +01:00
Wim Taymans
5e8d9fb196 merger: fix enum_param 2018-11-21 12:18:56 +01:00
Wim Taymans
b27206c24a alsa: debug->trace 2018-11-20 16:13:56 +01:00
Wim Taymans
d70b4b2b10 alsa: more tweaks
Set the lowest possible period time, this lowers the latency.
Adjust slaved stream when we are drifting too much.
Use faster snd_pcm_avail and only use get_status when in error.
2018-11-20 16:08:57 +01:00
Wim Taymans
afd9a6c95f alsa: fix capture again 2018-11-19 18:03:45 +01:00
Wim Taymans
7e9b223216 alsa: reduce start latency 2018-11-19 12:01:36 +01:00
Wim Taymans
27451e4350 alsa: tweak dll some more after xrun 2018-11-19 11:51:51 +01:00
Wim Taymans
f063cc9086 audioconvert: improve negotiation
Configure format and buffers when the ports are configured instead of
in the start command.
2018-11-19 10:03:55 +01:00
Wim Taymans
0343297257 alsa: rework timing
Use a DLL to track the hardware pointer and use this to set the
timer.
Handle XRUN and recover.
2018-11-16 17:00:40 +01:00
Wim Taymans
5444b850d2 fmtconvert: improve enum_format 2018-11-16 16:56:33 +01:00
Wim Taymans
3e1e6b02b5 resample: add property to change resample rate 2018-11-16 16:54:56 +01:00
Wim Taymans
9d44d0b135 parser: add some utils to parse values 2018-11-16 16:52:04 +01:00
Wim Taymans
0303b7d1c5 props: add rate property 2018-11-16 16:48:49 +01:00
Wim Taymans
a096e6d9c9 link: only start node when all links are ready 2018-11-16 16:45:40 +01:00
Wim Taymans
c9f7439b52 media-session: debug profile 2018-11-16 16:41:13 +01:00