Commit Graph

30 Commits

Author SHA1 Message Date
b85fbe3257 Add MP3 support. 2021-08-12 13:18:45 -05:00
6e8cc4c5ea Move sync after transforms are synced to ensure values are accurate. 2021-08-04 15:52:28 -05:00
7df8ba4e3c The default radius should be 0, needed to reset to a point source. 2021-07-20 06:37:55 -05:00
537f99a598 Add support for source radii. 2021-07-19 15:04:26 -05:00
0a65d16d44 More aggressively clean up sounds when possible. 2021-07-13 10:40:50 -05:00
76c7701e92 Convert some unwrap calls to errors. 2021-05-25 14:19:17 -05:00
9018f3cf15 Sound is now clonable. 2021-05-25 09:12:21 -05:00
de94dd5322 Revert "Move source_update after transform propagation."
This didn't fix the bug I hoped it would, and introduced new regressions.

This reverts commit 097fb6100d.
2021-05-23 12:53:56 -05:00
097fb6100d Move source_update after transform propagation. 2021-05-23 11:49:34 -05:00
88fd87227e Refactor source management to be clearer and make more sense. 2021-05-21 12:02:45 -05:00
eaa2807741 Expose soft_hrtf configuration. 2021-05-13 18:25:40 -05:00
e9f7f2b9ff Partial fix for pausing/resuming sources. 2021-05-10 17:23:54 -05:00
ba375532b6 Expose max_distance. 2021-04-29 11:15:34 -05:00
0ee2df3490 Sources can bypass global effects. 2021-04-28 10:51:58 -05:00
8a07a26fb5 Add support for reference distance and rolloff factor. 2021-04-25 08:28:13 -05:00
5982c63416 Use locals, rather than matrices, to compute forward/up vectors. 2021-04-12 13:09:03 -05:00
37bc104be1 Expose private resource until we have multi-stage asset-loading. 2021-04-09 13:19:48 -05:00
0d6a9a0269 Bump to Bevy main. 2021-03-01 11:20:33 -06:00
255bdff10b Set source position before playing. 2021-02-03 04:18:37 -06:00
fd18185e07 Add FLAC support. 2021-01-09 14:25:19 -06:00
a8b6102f31 Remove println calls and convert transforms more efficiently. 2021-01-08 18:58:42 -06:00
2ca07730ab The listener should query the global transform first. 2021-01-08 14:06:13 -06:00
c33a28efce Switch to using hierarchies for sound playback, and restore play`stop/pause methods for forcing immediate source changes. 2021-01-08 12:56:08 -06:00
ea24e966ef Restore missing derives. 2021-01-07 16:28:22 -06:00
2410d00b8c Use data-based API for controlling play state, and aggressively clean up stopped sources. 2021-01-07 16:18:26 -06:00
acc004b2ef Add helpers to play, pause, and stop sound sources. 2020-12-23 19:25:30 -06:00
2a8f003387 Update for latest Bevy changes. 2020-12-16 03:15:20 -06:00
43b8c2c793 Add support for global effects. 2020-12-12 10:26:37 -06:00
ab0e8e60c8 Add support for changing source pitch. 2020-12-12 08:53:20 -06:00
2c75e46f1b Initial commit. 2020-12-12 08:21:55 -06:00