Use soloud crate to play sound on MacOS but panic on Soloud::default()
I am trying to use soloud(version 1.0.5) to play mp3 on MacOS 14.5, but it just panic on first line:
Rust audio ALSA lib pcm.c:8306 (snd_pcm_recover) underrun occurred
I’m working on a Rust program that’s essentially a LAN walkie talkie, where I can speak into one computer and my voice will play out another on the same network. I’ve been using the cpal
crate for audio recording/playback, audiopus
for Opus encoding and decoding, ringbuf
for a ring buffer, mpsc
channels for communication between threads, and rtp_rs
for packetization to RTP.
Rust audio ALSA lib pcm.c:8306 (snd_pcm_recover) underrun occurred
I’m working on a Rust program that’s essentially a LAN walkie talkie, where I can speak into one computer and my voice will play out another on the same network. I’ve been using the cpal
crate for audio recording/playback, audiopus
for Opus encoding and decoding, ringbuf
for a ring buffer, mpsc
channels for communication between threads, and rtp_rs
for packetization to RTP.
Using StreamingDataSound from Kira in GUI
I am unable to load StreamingSoundData and play it through UI (iced).