tesselode / kira

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

Add a setting to change the cpal output device #64

Closed zeozeozeo closed 1 year ago

zeozeozeo commented 1 year 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 1 year ago

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

tesselode commented 1 year ago

Looks great, thank you!

zeozeozeo commented 1 year ago

doesn't seem to compile on wasm 😭