Commit Graph

53 Commits

Author SHA1 Message Date
166e1f16ec Disable incompatibility reports. 2022-05-03 09:23:44 -05:00
7fc4f09c87 Update to Bevy 0.7. 2022-05-03 09:22:32 -05:00
763e1c361f Separate out device/context creation into separate system so it can be configured by other systems. 2022-04-26 09:31:51 -05:00
52709cba18 Release stopped sources to free up memory. 2022-04-12 09:47:15 -05:00
e053cfaa72 Make wave reading a bit clearer. 2022-02-01 14:22:41 -06:00
3dada2fd8d Refactor to derive_more and clean up imports. 2022-01-25 12:27:07 -06:00
7055c53b9a Make loader private. 2022-01-21 10:56:22 -06:00
78d36aa4d2 Add additional constraints for listener. 2022-01-19 16:36:04 -06:00
8c69401202 Add reflection support. 2022-01-10 14:07:27 -06:00
04edd60e9a Bump Bevy version. 2022-01-10 14:07:07 -06:00
56695c5994 Port to Bevy 0.6. 2021-12-15 10:55:42 -06:00
96a73f4c08 Bump edition. 2021-10-26 02:30:19 -05:00
7b2e26e3e6 Add check for swapped buffers, and reset source if needed. 2021-09-20 09:26:44 -05:00
612ac74a56 Separate property synchronization from state sync, allowing other actions to happen before a source starts/stops playing. 2021-09-20 09:00:57 -05:00
e12fc0fb10 Replace unwrap with ok.
There are odd issues where OpenAL sources get into broken states, though they should either be destroyed or fixed in the next frame, depending on the specifics.

Should probably replace this with better logging, but for now it seems to work and not introduce new issues.
2021-09-16 11:53:53 -05:00
387a100541 Switch to MIT + Apache license for Bevy compatibility. 2021-09-16 11:52:05 -05:00
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
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