Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Feb 8, 2024
1 parent d88b017 commit 868caad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ios/VoiceProcessor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class PvVoiceProcessor: RCTEventEmitter {

@objc override func constantsToExport() -> [AnyHashable: Any] {
[
"frameEmitterKey": frameEmitterKey,
"errorEmitterKey": errorEmitterKey
"FRAME_EMITTER_KEY": frameEmitterKey,
"ERROR_EMITTER_KEY": errorEmitterKey
]
}

Expand Down
3 changes: 1 addition & 2 deletions test/VoiceProcessorTestApp/Tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ async function basicTest(): Promise<Result> {
testName: 'Basic test',
success: false,
};
console.log('ho');
let frameCount = 0;
let errorCount = 0;

Expand Down Expand Up @@ -74,7 +73,7 @@ async function basicTest(): Promise<Result> {
};
}

await new Promise(r => setTimeout(r, 3000));
await new Promise(r => setTimeout(r, 10000));

await _vp?.stop();
if (!result.success && result.errorString) {
Expand Down

0 comments on commit 868caad

Please sign in to comment.