Wim Taymans
4401e479c6
small cleanups
2018-10-02 17:37:38 +02:00
Wim Taymans
1ef1563591
node: add PortsChanged event
...
Add the PortChanged event and make it rescan the node ports.
2018-10-02 17:35:54 +02:00
Wim Taymans
8efabe051e
remove obsolete modules
...
remove obsolete media-session and suspend-on-idle. This functionality
is to be handled by an external session manager
2018-10-02 17:34:31 +02:00
Wim Taymans
3d36755c4f
audio-dsp: use type-info to get channel names
2018-10-02 10:17:12 +02:00
Wim Taymans
eb765b26b3
command: add exec command
...
Add exec command and use it to start the session manager by default
2018-10-02 09:17:07 +02:00
Wim Taymans
575e177a48
client-stream: run the driver graph
2018-10-02 07:11:45 +02:00
Wim Taymans
32e4d676b4
media-session: clear manager after cleanup
2018-10-02 05:45:50 +02:00
Wim Taymans
0f69a7b767
node: remove and add node from graph in idle/running
...
Add the node and all links to the graph when going to running and
remove them again when idle.
2018-10-02 05:10:55 +02:00
Wim Taymans
cd1c7b74af
remote: improve cleanup
...
don't free the proxy when the node is destroyed, the proxy has
user data that we need to clean up the ports. Instead let the
remote take care of destroying the proxy later.
2018-10-01 17:59:25 +02:00
Wim Taymans
c1eeb89e18
stream: fix debug of control messages
2018-10-01 11:15:51 +02:00
Wim Taymans
392b217f81
client-stream: make adapter port variable
...
We need this to add control ports later
2018-10-01 11:15:12 +02:00
Wim Taymans
ec88101004
v4l2: move log to instance
2018-10-01 10:55:35 +02:00
Wim Taymans
18408dad81
port: handle control only ports
...
Mark ports with only control io as control ports and skip negotiation
of buffers and format for them.
2018-09-28 17:55:01 +02:00
Wim Taymans
909abdb6bf
port: remove some checks, the mixer is always set
2018-09-28 17:52:47 +02:00
Wim Taymans
1ca399d4a6
link: pass id to _set_io
2018-09-28 17:50:22 +02:00
Wim Taymans
089fc2e8c1
link: also unlink controls
2018-09-28 17:49:57 +02:00
Wim Taymans
857352e4a4
stream: advertise that we can do buffers
2018-09-28 17:48:14 +02:00
Wim Taymans
8f7328173b
utils: add another flag helper macro
2018-09-28 17:47:37 +02:00
Wim Taymans
940c8645d3
remove property flags
...
Remove the property flags, we will add info about properties
with the param interface.
2018-09-28 17:44:14 +02:00
Wim Taymans
2ebc65728c
link: also try to link controls
2018-09-28 11:25:22 +02:00
Wim Taymans
6b0c28e717
client-node: don't try to add invalid memid
2018-09-28 05:49:38 +02:00
Wim Taymans
b8fb7aeaad
media-session: handle disconnect better
2018-09-26 13:22:21 +02:00
Wim Taymans
4e2855f6fb
node: move root directly to driver graph
2018-09-26 13:12:45 +02:00
Wim Taymans
d4fa4e63e8
remove unused type map
...
Add reset methods for array and map
Signal disconnect before destroying the proxies in remote.
2018-09-26 13:11:23 +02:00
Wim Taymans
04f8da9110
improve debug
2018-09-26 11:44:50 +02:00
Wim Taymans
650f9eb9a7
media-session: make device links passive again
2018-09-26 10:52:33 +02:00
Wim Taymans
f4672cbe99
link: improve state handling
2018-09-26 10:52:11 +02:00
Wim Taymans
7a0a150337
logger: add support for logging to file
2018-09-26 10:48:01 +02:00
Wim Taymans
9b2a051daf
link: add feedback links
...
Check if a link is a feedback loop. For feedback loops we want to
schedule the consumer before the provider.
2018-09-25 17:10:06 +02:00
Wim Taymans
0701428aec
link: only idle node if all links are idle
2018-09-25 17:09:22 +02:00
Wim Taymans
74ebff6b7d
add some more debug log
2018-09-25 17:08:59 +02:00
Wim Taymans
39240fb9c0
use _list_consume to destroy objects
2018-09-25 13:05:13 +02:00
Wim Taymans
ec1d7b8df7
alsa: deal with less frequent hw pointer updates
2018-09-24 13:37:10 +02:00
Wim Taymans
881ee6caea
node: remove process signals
...
Remove the process and finish signals, we are not supposed to
call these from rt threads. Instead use the link trigger to signal
the end of the graph.
2018-09-24 12:48:37 +02:00
Wim Taymans
1b933e5b32
loop: use simple hook emission
...
Add new simple hook emision without a cursor. The one with the cursor
is not thread safe and is not needed for the loop.
2018-09-24 11:35:46 +02:00
Wim Taymans
0aca605bfb
alsa: init variable correctly
...
We need to initialize the frames variable correctly before calling mmap.
Also initialize the now timer when starting.
2018-09-24 10:36:53 +02:00
Wim Taymans
30316df5c8
fix some leaks
2018-09-24 09:33:09 +02:00
Wim Taymans
132ee30930
improve some debug
2018-09-24 09:32:27 +02:00
Wim Taymans
8a562c4427
module: remove resource listener in cleanup
...
Remove the resource listener before destroying the object because that
will trigger the resource cleanup again.
2018-09-24 09:30:14 +02:00
Wim Taymans
8a88c6da53
link-factory: add linger options
...
The linger option makes the link survive after the client is destroyed.
2018-09-21 16:45:52 +02:00
Wim Taymans
59f10ad453
Add proxy destroy
...
Make the current destroy method on the core for proxies to remove the
server side resource.
Make a new destroy method on the registry to destroy globals.
Remove the destroy method on the client-node
media-session: monitor the dsp and device node states to manage the
session state
2018-09-21 16:43:11 +02:00
Wim Taymans
ce4cfd78e7
introspect: copy link properties
2018-09-21 16:40:06 +02:00
Wim Taymans
375df60384
stream: protect time updates with atomic seqlock
2018-09-21 16:39:06 +02:00
Wim Taymans
3af7b42193
node: update quantum dynamically
...
Keep the requested quantum around and recalculate when nodes are
added and removed from the driver graph.
2018-09-20 17:47:22 +02:00
Wim Taymans
5ba27a7dc1
add some more debug
2018-09-20 10:14:11 +02:00
Wim Taymans
b50482e346
fix cleanup
...
When the node is destroyed, remove it from the node list and mark
the reference to the node gone so that when the resource is cleaned
up we don't try to destroy the node again.
2018-09-20 10:13:00 +02:00
Wim Taymans
3d1acf3032
media-session: also link source to DSP
2018-09-20 10:12:04 +02:00
Wim Taymans
1ebb3850e9
alsa: remove useless debug
2018-09-20 10:11:22 +02:00
Wim Taymans
391643271e
man: fix man page install path
...
Fixes #85
2018-09-19 16:26:24 +02:00
Wim Taymans
27cacaaa2e
video-play: free SDL data
2018-09-19 15:01:11 +02:00