Commit Graph

33 Commits

Author SHA1 Message Date
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
ca7492583a Yikes, make example compile again. 2021-05-21 12:02:07 -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
69dc601029 Add license. 2021-04-10 04:18:48 -05:00
37bc104be1 Expose private resource until we have multi-stage asset-loading. 2021-04-09 13:19:48 -05:00
d102012712 Use Bevy 0.5. 2021-04-08 13:24:22 -05:00
9af9c0bc59 Don't require default Bevy features. 2021-04-05 13:32:34 -05:00
28e5e1f4ae Update to Bevy main. 2021-03-06 09:13:27 -06: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
aec72c3e57 Remove lockfile. 2020-12-19 13:36:07 -06:00
e3d9059a3f Switch to Bevy 0.4. 2020-12-19 13:34:11 -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