You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've reproduced this issue with this repo's pcm_record example. (I slightly modified it to make it not infinitely loop).
fnread_loop(pcm:&PCM) -> Result<(),Error>{let io = pcm.io_i16()?;letmut buf = [0i16;8192];for i in0..10{// Block while waiting for 8192 samples to be read from the device.assert_eq!(io.readi(&mut buf)?, buf.len());let r = rms(&buf);println!("RMS: {:.1} dB", r);}Ok(())}
==1331522== 16,616 bytes in 1 blocks are still reachable in loss record 149 of 149
==1331522== at 0x484D953: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1331522== by 0x5159CE8: ??? (in /usr/lib/x86_64-linux-gnu/libpipewire-0.3.so.0.1005.0)
==1331522== by 0x5174096: ??? (in /usr/lib/x86_64-linux-gnu/libpipewire-0.3.so.0.1005.0)
==1331522== by 0x515A818: pw_init (in /usr/lib/x86_64-linux-gnu/libpipewire-0.3.so.0.1005.0)
==1331522== by 0x50BA67B: _snd_pcm_pipewire_open (in /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pipewire.so)
==1331522== by 0x48CB6CD: ??? (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==1331522== by 0x48CBD6D: ??? (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==1331522== by 0x48FB37E: snd_pcm_open (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==1331522== by 0x122614: alsa::pcm::PCM::open (error.rs:21)
==1331522== by 0x122510: alsa::pcm::PCM::new (pcm.rs:147)
==1331522== by 0x120AAC: pcm_record::start_capture (pcm_record.rs:7)
==1331522== by 0x12181C: pcm_record::main (pcm_record.rs:50)
I first found out this issue working with
cpal
. (RustAudio/cpal#928)I've reproduced this issue with this repo's
pcm_record
example. (I slightly modified it to make it not infinitely loop).Running:
Shows:
This is similar to:
jarikomppa/soloud#278
The text was updated successfully, but these errors were encountered: