SolarLiner / bevy-kira-components

Experimental Bevy <-> Kira integration crate
https://solarliner.dev/bevy-kira-components/bevy_kira_components/
MIT License
9 stars 6 forks source link

Remove `Result<(), E>` from the API #16

Closed SolarLiner closed 4 months ago

SolarLiner commented 4 months ago

Closes #11.

Description

Upgrading Kira to 0.9 meant that most of the fallible methods disappeared, which in turn automatically solved the issue.

Breaking changes

AudioFileHandle methods no longer return Results, error handling is therefore not required anymore.

SolarLiner commented 4 months ago

Yeah I wanted to add the flake in another PR but ended up needing it for my laptop, so it's here. I'll merge it with it, but I also don't know the NixOS stuff, so I'm sure it's not optimal 😆