@hailey using cpal for audio IO and environment variables for specifying PulseAudio or Pipewire devices is an interesting design. Do you plan to support other OSes? If not, why not use the PipeWire or PulseAudio bindings directly?
Top-level
@hailey using cpal for audio IO and environment variables for specifying PulseAudio or Pipewire devices is an interesting design. Do you plan to support other OSes? If not, why not use the PipeWire or PulseAudio bindings directly? 2 comments
@hailey cpal has neither a Pipewire nor Pulseaudio backend, only ALSA and JACK. Is that why you need pipewire-alsa installed? |
@be yeah that part is a total hack tbh. I would like to keep it cross-platform ready, and cpal doesn’t (yet?) expose an API for selecting a particular pipewire or pulse node