Skip to content

Commit e84617c

Browse files
minor fixes
1 parent 9d3618c commit e84617c

5 files changed

Lines changed: 3 additions & 16 deletions

File tree

‎include/livekit/local_audio_track.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class LIVEKIT_API LocalAudioTrack : public Track {
6363
///
6464
/// @param name Human-readable name for the track. This may appear to
6565
/// remote participants and in analytics/debug logs.
66-
/// @param source The audio source that produces PCM frames for this track.
66+
/// @param source The audio source that produces PCM frames for this track.
6767
/// The caller retains ownership and should use this source
6868
/// directly for frame capture.
6969
///

‎include/livekit/platform_audio.h‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ class LIVEKIT_API PlatformAudioError : public std::runtime_error {
9999
/// and keeps the shared PlatformAudio state alive.
100100
class LIVEKIT_API PlatformAudioSource {
101101
public:
102-
/// Destroy the platform audio source and release its FFI handle.
103-
///
104-
/// @note Thread-safety: Not thread-safe. Do not destroy the source while
105-
/// another thread is using it.
106-
~PlatformAudioSource() = default;
107-
108102
/// Copy construction is disabled.
109103
///
110104
/// @param other Source to copy from.
@@ -173,12 +167,6 @@ class LIVEKIT_API PlatformAudio {
173167
/// @note Thread-safety: Thread-safe. Sends an independent FFI request.
174168
PlatformAudio();
175169

176-
/// Destroy the platform audio manager and release its FFI handle.
177-
///
178-
/// @note Thread-safety: Not thread-safe. Do not destroy the manager while
179-
/// another thread is using it.
180-
~PlatformAudio() = default;
181-
182170
/// Copy the platform audio manager.
183171
///
184172
/// The copy shares the same underlying platform audio handle.

‎src/platform_audio.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include <utility>
2020

21-
#include "audio_frame.pb.h"
2221
#include "ffi.pb.h"
2322
#include "ffi_client.h"
2423

‎src/tests/unit/test_platform_audio.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace livekit::test {
2525

2626
class PlatformAudioTest : public ::testing::Test {
2727
protected:
28-
void SetUp() override { livekit::initialize(livekit::LogLevel::Info, livekit::LogSink::kConsole); }
28+
void SetUp() override { livekit::initialize(livekit::LogLevel::Info); }
2929
void TearDown() override { livekit::shutdown(); }
3030
};
3131

0 commit comments

Comments
 (0)