Refactor everything!
After discussing things at the AGL May 2019 F2F meeting and reflecting on the initial design of WirePlumber, it became clear that it needed a fresh start.
This commit is contained in:
21
modules/module-pipewire/loop-source.h
Normal file
21
modules/module-pipewire/loop-source.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/* WirePlumber
|
||||
*
|
||||
* Copyright © 2019 Collabora Ltd.
|
||||
* @author George Kiagiadakis <george.kiagiadakis@collabora.com>
|
||||
*
|
||||
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
*/
|
||||
|
||||
#include <wp/wp.h>
|
||||
#include <pipewire/pipewire.h>
|
||||
|
||||
#define WP_LOOP_SOURCE(x) ((WpLoopSource *) x)
|
||||
|
||||
typedef struct _WpLoopSource WpLoopSource;
|
||||
struct _WpLoopSource
|
||||
{
|
||||
GSource parent;
|
||||
struct pw_loop *loop;
|
||||
};
|
||||
|
||||
GSource * wp_loop_source_new (void);
|
Reference in New Issue
Block a user