Skip to content

Commit

Permalink
more stuff i forgot to do
Browse files Browse the repository at this point in the history
  • Loading branch information
nbsp committed Oct 4, 2024
1 parent c71b959 commit 18d22f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/livekit-rtc/src/audio_resampler.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
// SPDX-FileCopyrightText: 2024 LiveKit, Inc.
//
// SPDX-License-Identifier: Apache-2.0
import { AudioFrame } from './audio_frame';
import { FfiClient, FfiHandle } from './ffi_client';
import { AudioFrame } from './audio_frame.js';
import { FfiClient, FfiHandle } from './ffi_client.js';
import type {
FlushSoxResamplerResponse,
NewSoxResamplerResponse,
PushSoxResamplerResponse,
} from './proto/audio_frame_pb';
} from './proto/audio_frame_pb.js';
import {
FlushSoxResamplerRequest,
NewSoxResamplerRequest,
PushSoxResamplerRequest,
SoxQualityRecipe,
SoxResamplerDataType,
} from './proto/audio_frame_pb';
} from './proto/audio_frame_pb.js';

/**
* Resampler quality. Higher quality settings result in better audio quality but require more
Expand Down Expand Up @@ -149,7 +149,7 @@ export class AudioResampler {
throw new Error(res.error);
}

if (res.outputPtr) {
if (!res.outputPtr) {
return [];
}

Expand Down
2 changes: 1 addition & 1 deletion packages/livekit-rtc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export {
AudioTrack,
} from './track.js';
export { VideoFrame } from './video_frame.js';
export { AudioFrame } from './audio_frame.js';
export { AudioFrame, combineAudioFrames } from './audio_frame.js';
export { AudioStream } from './audio_stream.js';
export { AudioResampler, AudioResamplerQuality } from './audio_resampler.js';
export { VideoStream, VideoFrameEvent } from './video_stream.js';
Expand Down

0 comments on commit 18d22f6

Please sign in to comment.