Created
November 10, 2015 09:00
-
-
Save shriphani/6b4fed50a3aabd73eb5f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%module webrtc_vad | |
%{ | |
#define SWIG_FILE_WITH_INIT | |
#include "webrtc/common_audio/vad/include/webrtc_vad.h" | |
%} | |
%include "stdint.i" | |
%include "numpy.i" | |
%init %{ | |
import_array(); | |
%} | |
%apply (const int16_t* IN_ARRAY1, int DIM1) {(const int16_t* audio_frame, size_t frame_length)}; | |
%include "webrtc/common_audio/vad/include/webrtc_vad.h" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment