Conversation
|
Outstanding items:
|
|
It looks like your PR is a breaking change, but you didn't provide a migration guide. Please review the instructions for writing migration guides, then expand or revise the content in the migration guides directory to reflect your changes. |
|
Symphonia released 0.5.5 last week, and bevy_audio picks it up by default after cargo update. However, the combination of rodio 0.20 and symphonia 0.5.5 causes a panic when decoding MPEG-4 streams. This bug can be verified by running this rodio example directly I suggest either merging this PR or pinning the symphonia dependency to version 0.5.4 in Cargo.toml. |
|
@nyfair this PR is quite broken so I wouldn't merge it yet. We could do the version pinning as a stopgap and leave a comment on said change to fix it later. I might have some time to update this PR in a couple of days so I'll try my best to finalize it soon. @alice-i-cecile in the meantime, would you be able to help me figuring out the 3rd, 4th and 5th items that I left in my comment? |
7111175 to
51b8311
Compare
| /// which iterates over samples of type [`rodio::Sample`]. | ||
| /// Must be a [`rodio::Source`] so that it can provide information on the audio it is iterating over. | ||
| type Decoder: rodio::Source + Send + Iterator<Item = Self::DecoderItem>; | ||
| type Decoder: rodio::Source + Send + Iterator<Item = rodio::Sample>; |
There was a problem hiding this comment.
rodio::Source has Iterator<Item = rodio::Sample> as a bound as far as I can see, should we drop this redundant bound or should we keep it?
b85a940 to
6248b2e
Compare
alice-i-cecile
left a comment
There was a problem hiding this comment.
We shouldn't be exposing minimp3 at all, per #20183
6248b2e to
9ef8982
Compare
|
You added a new feature but didn't update the readme. Please run |
|
Can you please resolve merge conflicts and get CI passing? |
Hey @alice-i-cecile, I can fix the conflicts but I don't think I can fix the CI, we'd need a new version of |
|
Can you track down the |
1eb562d to
1282031
Compare
1282031 to
306b9aa
Compare
|
Were you able to test this on Android? The On my end, in a simulator, I have working audio in that example with Bevy 0.18.1, but not with this PR. I'm not seeing any useful debug logging, just not hearing the music. It seems that adding |
|
Scratch that. Resorted to clean build / cargo update / etc, and it seems to work fine for me now. It's possible that the emulator didn't like me switching audio devices or something. |
I only tested this on Windows, Linux and Mac so thanks for testing it on Android. 🙏🏻 |
Co-authored-by: Rob Parrett <robparrett@gmail.com>
Objective
Solution
cpalandrodioto their latest versions.rodio's breaking changes.symphoniawill only be the default backend for formats with no alternative fallback.audio-all-formatsfeature collection to easily enable all the available audio formats using their default backends.aarch64-apple-ios-simtarget witharm64-apple-ios-simulator.Testing