Spaces:
Running
Running
| // | |
| // ViewController.h | |
| // whisper.objc | |
| // | |
| // Created by Georgi Gerganov on 23.10.22. | |
| // | |
| struct whisper_context; | |
| typedef struct | |
| { | |
| int ggwaveId; | |
| bool isCapturing; | |
| bool isTranscribing; | |
| bool isRealtime; | |
| UILabel * labelReceived; | |
| AudioQueueRef queue; | |
| AudioStreamBasicDescription dataFormat; | |
| AudioQueueBufferRef buffers[NUM_BUFFERS]; | |
| int n_samples; | |
| int16_t * audioBufferI16; | |
| float * audioBufferF32; | |
| struct whisper_context * ctx; | |
| void * vc; | |
| } StateInp; | |
| @interface ViewController : UIViewController | |
| { | |
| StateInp stateInp; | |
| } | |
| @end | |