Add support for trace logging in lockfree ringbuffer

Fix some crashes when the connection is dead.
Small cleanups in the audio mixer
Only propose alloc_buffer when we are using export_buf in v4l2
This commit is contained in:
Wim Taymans 2017-04-27 17:17:47 +02:00
parent b51d3e4862
commit 214a0e27d8
10 changed files with 248 additions and 83 deletions

View file

@ -42,6 +42,14 @@ main (int argc, char *argv[])
}
loop = pinos_main_loop_new ();
#if 0
{
SpaSource *source;
source = pinos_loop_add_event (loop->loop, NULL, NULL);
pinos_log_set_trace_event (source);
}
#endif
core = pinos_core_new (loop, NULL);
pinos_daemon_config_run_commands (config, core);