summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-14Try a different way of doing buffer memorymem1Wim Taymans20-277/+371
2016-12-02handle cleanup of remote proxiesWim Taymans8-4/+38
Destroying a resource informs the client to destroy the proxy. Destroying an object destroys all the bound resources on it.
2016-12-02Add link introspectionWim Taymans8-39/+156
2016-12-02Work on introspectionWim Taymans39-573/+1725
2016-11-30Registry: implement registryWim Taymans15-59/+221
Make GET_REGISTRY method to create a registry resource, send global added and removed to this resource. Use map for storing proxies and resources.
2016-11-28rename signal -> sigWim Taymans10-18/+13
Meson puts the directory of the source file in the include path and then it picks up our signal.h instead of the system one...
2016-11-28node: check links list in get_free_port()David Svensson Fors1-9/+9
When searching for an unused port, look for an empty links list.
2016-11-26remove last glib bitsWim Taymans8-109/+162
Improve pinossink
2016-11-25cleanupsWim Taymans11-147/+24
2016-11-25Work on async cleanupWim Taymans19-130/+270
Track all async changes and only perform free of resources when all previous async operations completed.
2016-11-24use plain libdbus instead of GDBusWim Taymans4-96/+325
2016-11-24Use pinos loop for mainloopWim Taymans12-248/+59
Remove more glib stuff
2016-11-24Make native protocolWim Taymans55-4885/+3005
Remove DBus and work towards something like wayland. Remove more glib stuff from the client code
2016-11-22Mainloop: use PinosLoopWim Taymans13-311/+678
Implement the main-loop with pinos_loop except for the parts that still need to go through glib mainloop. Start working on native protocol
2016-11-21Use mapper to make object idWim Taymans14-64/+61
Reuse object ids by using a mapper Simpify the uri struct a little.
2016-11-21loop: build loop with SPA interfaceWim Taymans6-270/+253
2016-11-21node: remove unused codeWim Taymans1-17/+0
2016-11-21Move suspend on idle in moduleWim Taymans13-110/+363
Move suspend-on-idle code from the node to a module Add some more SpaLoop API
2016-11-21Use global id in dbus nameWim Taymans2-47/+75
This allows us to use the dbus name to connect again
2016-11-21videotestsrc: add pattern property and snow patternDavid Svensson Fors2-2/+48
2016-11-21videotestsrc: add support for UYVYDavid Svensson Fors2-69/+196
2016-11-21video-raw: set default framerate to 25/1David Svensson Fors2-8/+8
2016-11-21Pinos modules: Parse options with getoptJonathan Karlsson5-12/+57
Make it possible to add options for modules in pinos.conf.in. Only a few options for videotestsrc is supported at the moment.
2016-11-18Work on event loopWim Taymans33-958/+1290
Make a new epoll based event loop and use it for the data tranport. Simplify the spa event api a little and rename to SpaLoop
2016-11-16cleanupsWim Taymans6-79/+66
2016-11-16Rework dbus handlingWim Taymans28-1007/+1122
Remove the Daemon object and remove all dbus code from the main objects. We can use the signals in a separate module to create and destroy the DBus interfaces. Move the dbus protocol in a module Move the autolink policy to a module
2016-11-16Remove glib from config loadingWim Taymans5-21/+65
2016-11-15cleanupsWim Taymans16-554/+93
Remove hastables, use lists Remove obsolete ringbuffer some small cleanups
2016-11-15track client resourcesWim Taymans14-87/+248
2016-11-15WIP object model changepinosobjectWim Taymans26-821/+912
Work on cleanup
2016-11-14WIP change object modelWim Taymans44-2511/+1543
2016-11-10WIPWim Taymans38-3545/+1577
Change object model
2016-11-09Remove SpaQueue, use SpaList insteadWim Taymans20-237/+153
2016-11-08CleanupsWim Taymans27-462/+568
Hide GDBus from RTKit API Remove register node from dbus API Add signal Add object and register objects in the registry Add some preregistered types to the registry Let the daemon listen to the registry
2016-11-07Optimize transport some moreWim Taymans21-968/+882
We can optimize the transport some more if we allow the host to configure the area used for transfering buffers. We can then also place the current status in the area and avoid calling get_status(). We can also allocate this area in shared memory, avoiding a memcpy in the client-node.
2016-11-07Rework transport protocolWim Taymans22-355/+788
Use a more simple tranport protocol for the realtime data. Use a piece of shared memory and a socket where we use a 1byte read/write to trigger remote actions. Also use a ringbuffer for events.
2016-11-03More hackingWim Taymans81-1037/+1838
Move array and map to pinos Move more things to spa lib ControlCmd -> Message Make pinos log, use for plugins as well work on ringbuffer in alsa and nodes work on making registry with all objects
2016-10-28node: fix pauseWim Taymans1-0/+3
2016-10-28More hackingWim Taymans32-527/+1317
Add connection message for PORT_COMMAND Add rtkit support to ask for realtime priority work on stream states and improve negotiation Rework of port linking works, keep separate state for realtime threads and use message passing to update the state. Don't try to link nodes that are removed. Open the device in the ALSA monitor to detect source or sink Implement send_command as async methods on the plugins, use async replies to sync start and stop. Work on alsa sink. Implement async PAUSE/START on v4l2 src. move the STREAMON/OFF calls to the mainloop because they have high latency, add the poll descriptors from the data loop.
2016-10-25ringbuffer: improve ringbufferWim Taymans2-78/+102
Simplify the ringbuffer code by using ideas from the portaudio ringbuffer implementation.
2016-10-25cleanups:Wim Taymans12-88/+313
Keep lock while doing recycle_buffer Pass context to main loop Recycle WorkItems in a free list Push and pull from the node data loop Do async start/pause in alsa Add alsa fds right after open.
2016-10-24node: keep separate array of linksWim Taymans4-27/+120
Keep a separate array with the links that we only access and update from the data-thread.
2016-10-24simplify events and commandsWim Taymans25-248/+216
2016-10-24Add invoke method to schedule executing in a main loopWim Taymans8-73/+380
2016-10-21CleanupsWim Taymans21-190/+188
Remove unused events, drained and marker can be done with ASYNC_COMPLETED messages Handle result of idle callback to disable the poll item Identify poll items with a unique id. Remove set_state vfunc push_event -> send_command, commands are to do something, events are the result of something. Add poll item in v4l2 as soon as we have the fd but disable the item until streaming starts.
2016-10-20cancel pending defersWim Taymans5-2/+16
2016-10-20Work on main loopWim Taymans26-587/+930
Make a main-loop object with associated helper functions to handle async methods. rtloop -> data_loop Handle async results a lot better. Remove REMOVE_MEM command. We don't need it. Handle stream memory updates better.
2016-10-19CleanupsWim Taymans13-340/+351
spa_serialize -> pinos_serialize Improve PinosPort, move links to the object and make it part of PinosNode Work on improving signals to react to changes in the graph Error when a client-node becomes unlinked, like when removing a camera.
2016-10-18SpaConnection -> PinosConnectionWim Taymans4-475/+459
2016-10-18dynamically resize connection buffersWim Taymans3-103/+107