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

Method duration

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

Source from the content-addressed store, hash-verified

28 // refcount instead of copying the whole sample buffer.
29 samples: Arc<[i16]>,
30 sample_rate: u32,
31 channels: u16,
32}
33
34impl MicClip {
35 /// Creates a clip and panics when its format cannot be encoded losslessly.
36 ///

Callers 4

play_sourceMethod · 0.45
decode_and_cache_pcmMethod · 0.45
total_durationMethod · 0.45
secondsMethod · 0.45

Calls 2

lenMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected