modify argument of ConnectionTmpl::send_raw()

This commit is contained in:
tom
2022-07-21 17:54:07 +08:00
parent 9ab955bb8e
commit e811d5f18b
3 changed files with 4 additions and 4 deletions

View File

@@ -590,7 +590,7 @@ async fn start_pa() {
} else {
buf.clone()
};
if let Err(err) = stream.send_raw(out).await {
if let Err(err) = stream.send_raw(out.into()).await {
log::error!("Failed to send audio data:{}", err);
break;
}