audio ffi
This commit is contained in:
parent
11796de5d7
commit
44131cd2a8
@ -87,6 +87,8 @@ class FfiModel with ChangeNotifier {
|
|||||||
pos = evt;
|
pos = evt;
|
||||||
} else if (name == 'permission') {
|
} else if (name == 'permission') {
|
||||||
FFI.ffiModel.updatePermission(evt);
|
FFI.ffiModel.updatePermission(evt);
|
||||||
|
} else if (name == "audio_format") {
|
||||||
|
//
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (pos != null) FFI.cursorModel.updateCursorPosition(pos);
|
if (pos != null) FFI.cursorModel.updateCursorPosition(pos);
|
||||||
@ -397,6 +399,7 @@ class FFI {
|
|||||||
static F3 _setByName;
|
static F3 _setByName;
|
||||||
static F4 _freeRgba;
|
static F4 _freeRgba;
|
||||||
static F5 _getRgba;
|
static F5 _getRgba;
|
||||||
|
static F5 _getAudio;
|
||||||
static Pointer<RgbaFrame> _lastRgbaFrame;
|
static Pointer<RgbaFrame> _lastRgbaFrame;
|
||||||
static var shift = false;
|
static var shift = false;
|
||||||
static var ctrl = false;
|
static var ctrl = false;
|
||||||
@ -538,6 +541,7 @@ class FFI {
|
|||||||
_freeRgba = dylib
|
_freeRgba = dylib
|
||||||
.lookupFunction<Void Function(Pointer<RgbaFrame>), F4>('free_rgba');
|
.lookupFunction<Void Function(Pointer<RgbaFrame>), F4>('free_rgba');
|
||||||
_getRgba = dylib.lookupFunction<F5, F5>('get_rgba');
|
_getRgba = dylib.lookupFunction<F5, F5>('get_rgba');
|
||||||
|
_getAudio = dylib.lookupFunction<F5, F5>('get_audio');
|
||||||
_dir = (await getApplicationDocumentsDirectory()).path;
|
_dir = (await getApplicationDocumentsDirectory()).path;
|
||||||
setByName('init', _dir);
|
setByName('init', _dir);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user