update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte

issues:958
This commit is contained in:
tom committed 2022-07-16 00:45:23 +08:00
1 parent c6c5d2cb98
commit efa6b5972d
13 files changed
+34 -25

No files matched your search

+1 -1
View File
@@ -367,7 +367,7 @@ fn send_f32(data: &[f32], encoder: &mut Encoder, sp: &GenericService) {
Ok(data) => {
let mut msg_out = Message::new();
msg_out.set_audio_frame(AudioFrame {
data,
data: data.into(),
timestamp: crate::common::get_time(),
..Default::default()
});