2025-07-18 18:23 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002061Spring engineLuapublic2011-01-15 05:21
ReporterFLOZi 
Assigned TojK 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
Product Version0.82.3+git 
Target VersionFixed in Version 
Summary0002061: Spring.PlaySoundFile cannot set the sound channel used
DescriptionWhen 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.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0005383

FLOZi (reporter)

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?
+Notes

-Issue History
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
+Issue History