MCPcopy Create free account
hub / github.com/PerroEngine/Perro / samples_f32

Method samples_f32

perro_source/audio_stack/perro_pawdio/src/mic.rs:205–210  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

203
204 pub fn raw_bytes(&self) -> Vec<u8> {
205 self.pack_v1((self.samples.len() / self.channels.max(1) as usize) as u32)
206 }
207
208 pub fn compressed_bytes(&self) -> Vec<u8> {
209 self.pack()
210 }
211
212 pub fn byte_len(&self) -> usize {
213 self.pack().len()

Callers 1

play_clipMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected