chore: 拆分 bin 入口

This commit is contained in:
Del Wang
2025-12-29 10:14:21 +08:00
parent 522dc8f8d5
commit a6fe02ace5
8 changed files with 47 additions and 6 deletions
+11
View File
@@ -0,0 +1,11 @@
use hello::audio::{OpusCodec};
use hello::config::AudioConfig;
use anyhow::Result;
// todo 向 client 分发左右声道音频数据
fn main() -> Result<()> {
let config = AudioConfig::default();
let mut codec = OpusCodec::new(&config)?;
}