View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002061 | Spring engine | Lua | public | 2010-08-27 01:01 | 2011-01-15 05:21 |
| Reporter | FLOZi | Assigned To | jK | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Product Version | 0.82.3+git | ||||
| Summary | 0002061: Spring.PlaySoundFile cannot set the sound channel used | ||||
| Description | When using get PLAY_SOUND in cob, Channels::UnitReply is used, and there is a LOS param. The LOS control can be reproduced in lua, but Spring.PlaySoundFile always uses Channels::General. This means when using PSF for unit response / ambient or weapon fx sounds, those sounds are not controlled by the users volume settings for each channel. In short; It'd be nice to have a parameter to set the channel used in Spring.PlaySoundFile. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
http://github.com/FLOZi/spring/commit/b93e3488b3b959ab8920280aa8fda7445639ab4d Addresses the issue but isn't really ideal, e.g. userInterface sounds are unlikely to have a position and velocity. Any thoughts on a better implementation? |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-08-27 01:01 | FLOZi | New Issue | |
| 2010-08-29 04:38 | FLOZi | Note Added: 0005383 | |
| 2011-01-15 05:19 | jK | Status | new => closed |
| 2011-01-15 05:19 | jK | Resolution | open => fixed |
| 2011-01-15 05:21 | jK | Status | closed => new |
| 2011-01-15 05:21 | jK | Resolution | fixed => reopened |
| 2011-01-15 05:21 | jK | Status | new => resolved |
| 2011-01-15 05:21 | jK | Resolution | reopened => fixed |
| 2011-01-15 05:21 | jK | Assigned To | => jK |