Rework on audio interface
Sound instance is now called audio instance and uses funcation pointers. This gives a clean interface to be exchanged with other technologies, linke SDR.
This commit is contained in:
@@ -9,7 +9,7 @@ enum number_type {
|
||||
TYPE_INTERNATIONAL,
|
||||
};
|
||||
|
||||
int call_init(const char *station_id, const char *sounddev, int samplerate, int latency, int dial_digits, int loopback);
|
||||
int call_init(const char *station_id, const char *audiodev, int samplerate, int latency, int dial_digits, int loopback);
|
||||
void call_cleanup(void);
|
||||
void process_call(int c);
|
||||
void clear_console_text(void);
|
||||
|
Reference in New Issue
Block a user