Skip to content

Commit cb55742

Browse files
refactor(ws-utils): remove unused Phase 3 abstractions
Remove AudioSamples, SampleBuffer, SampleSource, and BufferedAudioStream as they were not integrated with existing code. The deduplication of WebSocketAudioSource and ChannelAudioSource can be done in a follow-up PR. Co-Authored-By: yujonglee <yujonglee.dev@gmail.com>
1 parent a37cf48 commit cb55742

File tree

3 files changed

+2
-179
lines changed

3 files changed

+2
-179
lines changed

crates/ws-utils/src/audio.rs

Lines changed: 0 additions & 43 deletions
This file was deleted.

crates/ws-utils/src/buffered_stream.rs

Lines changed: 0 additions & 130 deletions
This file was deleted.

crates/ws-utils/src/lib.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
//! Utilities for WebSocket-based audio streaming.
22
//!
3-
//! This crate provides shared abstractions for audio buffering, sample sources,
4-
//! and connection management used by WebSocket audio clients.
3+
//! This crate provides connection management and audio source abstractions
4+
//! for WebSocket-based audio clients.
55
6-
mod audio;
7-
mod buffered_stream;
86
mod manager;
97

10-
pub use audio::AudioSamples;
11-
pub use buffered_stream::{BufferedAudioStream, SampleBuffer, SampleSource};
128
pub use manager::*;
139

1410
use std::pin::Pin;

0 commit comments

Comments
 (0)