Ticket #1223 (closed enhancement: fixed)
[PATCH] Redesign Sound System
| Reported by: | k776 | Owned by: | stwf |
|---|---|---|---|
| Priority: | Must Have | Milestone: | Alpha 11 |
| Component: | Core engine | Keywords: | patch |
| Cc: |
Attachments
Change History
comment:6 Changed 14 months ago by stwf
OK, this version builds on mac and linux
Fully supports the SoundGroup?.xml as well as allowing for control of the Sound item from Javascript.
The missing feature is for position. It seems like the implementation of this merits some discussions on the forums.
Bugs carried over from the previous code include the playing of sounds that aren't on the screen and special intensity levels which also probably needs some discussion.
comment:7 Changed 14 months ago by stwf
- Status changed from assigned to closed
- Resolution set to fixed
comment:8 Changed 14 months ago by stwf
- Keywords patch review added
- Status changed from closed to reopened
- Resolution fixed deleted
comment:9 Changed 14 months ago by stwf
- Keywords music, added; music removed
- Status changed from reopened to closed
- Resolution set to fixed
- Summary changed from New Sound System to New Sound System [PATCH]
comment:10 Changed 14 months ago by stwf
- Status changed from closed to reopened
- Resolution fixed deleted
comment:11 Changed 14 months ago by k776
- Keywords sound added; sound, music, removed
- Summary changed from New Sound System [PATCH] to [PATCH] New Sound System
comment:12 Changed 13 months ago by k776
- Description modified (diff)
- Summary changed from [PATCH] New Sound System to [PATCH] Redesign Sound System
comment:13 Changed 13 months ago by stwf
This patch contains the first pass of functionality for the new sound manager. All fields of the SoundGroup? xml should be supported and directionality for on screen sounds includeed.
[PATCH REQUEST]
comment:14 follow-up: ↓ 15 Changed 12 months ago by stwf
OK, new path. This fixes the issues with acknowledgements and some situations where the screen coordinates were not being correctly calculated. Also confirmed that sond gains are being applied correctly.
comment:15 in reply to: ↑ 14 Changed 12 months ago by historic_bruno
Replying to stwf:
OK, new path. This fixes the issues with acknowledgements and some situations where the screen coordinates were not being correctly calculated. Also confirmed that sond gains are being applied correctly.
After applying the patch and resolving a few conflicts, I ran into these build errors:
10>..\..\..\source\soundmanager\CSoundManager.cpp(24): fatal error C1083: Cannot open include file: 'soundmanager/js/JSoundPlayer.h': No such file or directory 18>..\..\..\source\main.cpp(42): fatal error C1083: Cannot open include file: 'lib/res/sound/snd_mgr.h': No such file or directory
comment:16 Changed 11 months ago by stwf
THis version fixes some compiler warnings and guards against a segfault due to a missing resource, and now logs it. Loud music startup also addressed.
comment:17 Changed 10 months ago by ben
In 12428:
comment:18 Changed 10 months ago by k776
- Keywords review sound removed
- Status changed from reopened to closed
- Resolution set to fixed
comment:19 Changed 10 months ago by ben
In 12444:
comment:20 Changed 10 months ago by ben
In 12459:
