mirror of
https://github.com/jambonz/freeswitch-modules.git
synced 2025-12-19 08:27:44 +00:00
* add mod_dub Signed-off-by: Dave Horton <daveh@beachdognet.com> * remove some locks --------- Signed-off-by: Dave Horton <daveh@beachdognet.com>
19 lines
382 B
C
19 lines
382 B
C
#ifndef __AUDIO_DOWNLOADER_H__
|
|
#define __AUDIO_DOWNLOADER_H__
|
|
|
|
#include <switch.h>
|
|
#include "common.h"
|
|
|
|
extern "C" {
|
|
|
|
switch_status_t init_audio_downloader();
|
|
switch_status_t deinit_audio_downloader();
|
|
|
|
int start_audio_download(const char* url, int rate, int loop, int gain, switch_mutex_t* mutex, CircularBuffer_t* buffer);
|
|
switch_status_t stop_audio_download(int id);
|
|
|
|
}
|
|
|
|
#endif
|
|
|