dect
/
libdect
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libdect/example/common.h

24 lines
574 B
C

#ifndef _DECT_TEST_COMMON_H
#define _DECT_TEST_COMMON_H
#include <libdect.h>
#include <utils.h>
#include <list.h>
extern struct dect_handle *dh;
extern int dect_event_ops_init(struct dect_ops *ops);
extern void dect_event_loop(void);
extern void dect_event_ops_cleanup(void);
#include "../src/ccitt-adpcm/g72x.h"
struct dect_audio_handle {
struct g72x_state codec;
struct list_head queue;
};
extern struct dect_audio_handle *dect_audio_open(void);
extern void dect_audio_queue(struct dect_audio_handle *ah, struct dect_msg_buf *mb);
#endif /* _DECT_TEST_COMMON_H */