diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2017-01-03 12:31:59 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2017-01-07 06:28:24 +0100 |
commit | d54d3ac2654844c7b8e4ee67752941c9037d5f42 (patch) | |
tree | 11c4c4478646a1a4a05c29b1e8a4197b99f73d08 /src/common/sound.h | |
parent | 713b1ab118f4ded11a8435bbd4d81c117e7fe180 (diff) |
prepare audio handling for multi carrier SDR
Diffstat (limited to 'src/common/sound.h')
-rw-r--r-- | src/common/sound.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/sound.h b/src/common/sound.h index 82dc17a..b516fdf 100644 --- a/src/common/sound.h +++ b/src/common/sound.h @@ -1,8 +1,8 @@ void *sound_open(const char *device, int samplerate); void sound_close(void *inst); -int sound_write(void *inst, int16_t *samples_left, int16_t *samples_right, int num); -int sound_read(void *inst, int16_t *samples_left, int16_t *samples_right, int num); +int sound_write(void *inst, int16_t **samples, int num, int channels); +int sound_read(void *inst, int16_t **samples, int num, int channels); int sound_get_inbuffer(void *inst); int sound_is_stereo_capture(void *inst); int sound_is_stereo_playback(void *inst); |