Skip to content

Commit e2c4710

Browse files
committed
更新soundtouch
1 parent 7e6999b commit e2c4710

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Source/SoundTouch-iOS/Classes/ijksoundtouch_wrap.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
#include <stdint.h>
2626

27-
void* ijk_soundtouch_create();
28-
int ijk_soundtouch_translate(void *handle, short* data, float speed, float pitch, int len, int bytes_per_sample, int n_channel, int n_sampleRate);
29-
void ijk_soundtouch_destroy(void *handle);
27+
extern "C" void* ijk_soundtouch_create(float speed, int pitch, int n_channel, int n_sampleRate);
28+
extern "C" int ijk_soundtouch_translate(void *handle, short* data, int len, int bytes_per_sample, int n_channel);
29+
extern "C" void ijk_soundtouch_destroy(void *handle);
3030

31-
#endif /* IJKSOUNDTOUCHWRAP_H */
31+
#endif /* IJKSOUNDTOUCHWRAP_H */
408 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)