tesselode / kira

Library for expressive game audio.
https://crates.io/crates/kira
Apache License 2.0
836 stars 42 forks source link

Add a setting to change the cpal output device #64

Closed zeozeozeo closed 8 months ago

zeozeozeo commented 8 months ago

This adds a cpal backend settings type which has a device field. If it is Some, then the specified output audio device will be used. Otherwise the default device is used (https://github.com/tesselode/kira/issues/63).

zeozeozeo commented 8 months ago

Wait, kira will change it to the default device if the device is different while playback, need to fix that

tesselode commented 8 months ago

Looks great, thank you!

zeozeozeo commented 7 months ago

doesn't seem to compile on wasm 😭