v1
This commit is contained in:
parent
1d75db5bde
commit
d32989cc81
135 changed files with 17183 additions and 669 deletions
25
src/na_core.h
Normal file
25
src/na_core.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef NA_CORE
|
||||
#define NA_CORE
|
||||
|
||||
typedef struct
|
||||
{
|
||||
size_t len;
|
||||
void* data;
|
||||
}
|
||||
playback_data;
|
||||
|
||||
PaError Na_Initialize(napi_env env, napi_value* js_cb);
|
||||
|
||||
PaError Na_GetDefaultInputDevice(PaDeviceIndex* deviceIndex);
|
||||
|
||||
PaError Na_GetDefaultOutputDevice(PaDeviceIndex* deviceIndex);
|
||||
|
||||
PaError Na_OpenInputStream(int deviceIndex);
|
||||
|
||||
PaError Na_OpenOutputStream(int deviceIndex);
|
||||
|
||||
void Na_WriteToOutputBuffer(void* data, size_t size);
|
||||
|
||||
PaError Na_Terminate();
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue