12345678910111213141516171819202122232425262728 |
- #ifndef __AUDIOMIXER_H__
- #define __AUDIOMIXER_H__
- #pragma once
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <apr_tables.h>
- #include "audiostream.h"
- typedef struct audiomixer_t {
- audiostream_t base;
- apr_array_header_t *arr_stream;
- }audiomixer_t;
- apr_status_t audiomixer_create(apr_pool_t *pool, audioengine_t *engine, audiomixer_t **p_mixer);
- void audiomixer_destroy(audiomixer_t *mixer);
- apr_status_t audiomixer_add_stream(audiomixer_t *mixer, audiostream_t *stream);
- apr_status_t audiomixer_remove_stream(audiomixer_t *mixer, audiostream_t *stream);
- #ifdef __cplusplus
- } // extern "C" {
- #endif
- #endif //__AUDIOMIXER_H__
|