mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-04 02:49:57 +08:00
fix(native): expose tapped audio stats (#10524)
Need to encode the audio based on the sample's sample rate & channels. Also fixed that global audio tap not receiving any samples at all.
This commit is contained in:
Vendored
+2
@@ -19,6 +19,8 @@ export declare class ApplicationStateChangedSubscriber {
|
||||
|
||||
export declare class AudioTapStream {
|
||||
stop(): void
|
||||
get sampleRate(): number
|
||||
get channels(): number
|
||||
}
|
||||
|
||||
export declare class DocStorage {
|
||||
|
||||
Reference in New Issue
Block a user