mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 05:16:36 +00:00
19 lines
318 B
C
19 lines
318 B
C
|
#ifndef __LOOPER_H__
|
||
|
#define __LOOPER_H__
|
||
|
|
||
|
#include "object.h"
|
||
|
|
||
|
#define LOOPER(l) ((looper *)(l))
|
||
|
|
||
|
typedef struct _looper looper;
|
||
|
struct _looper {
|
||
|
object object;
|
||
|
|
||
|
int source;
|
||
|
};
|
||
|
|
||
|
void looper_init(looper *l,int source);
|
||
|
looper *looper_create(char *name,int source,cothread_context *ctx);
|
||
|
|
||
|
#endif /* __LOOPER_H__ */
|