1
0
Fork 0
flightgear/src
Florent Rougon 60ff405efc FGSoundManager: fix path handling in playAudioSampleCommand()
- Use the complete path when performing the existence check (previously,
  only the directory part was used: bug in commit
  8853fded29).

- Use the resolved path (SGPath instance) obtained from
  FGGlobals::resolve_maybe_aircraft_path() when constructing the
  SGSoundSample instance; this makes it possible to use paths starting
  with the '[addon=...]' special prefix (handled by the
  AddonResourceProvider) with FGSoundManager::playAudioSampleCommand(),
  and therefore with the 'play-audio-sample' FGCommand.

This requires SimGear commit 8febf6b9f58e9a1919ff3 ("SGSoundSample
constructor changes").
2022-08-20 08:27:45 +02:00
..
Add-ons Typo in "Addon-config: don’t overwrite autosaved props" (ticket 2059) 2021-08-20 16:53:37 +02:00
AIModel AI Aircraft not taking off because TowerController signOff was not called. 2022-06-20 21:32:52 +02:00
Aircraft src/Aircraft/replay-internal.cxx: removed stray diagnostic in prev commit. 2022-02-19 12:41:21 +00:00
Airports Fix segfaults in AI code 2022-06-19 10:28:54 +02:00
ATC AI Aircraft not taking off because TowerController signOff was not called. 2022-06-20 21:32:52 +02:00
Autopilot FlightPlan: distuinguish routes from flight-plans 2022-01-15 22:23:38 +00:00
Canvas Fix Camera ownership for GUI-Manager 2022-03-11 12:50:08 +00:00
Cockpit Use helper method for OSGText alignment mapAlignment 2022-03-10 15:12:34 +01:00
EmbeddedResources CMake: make another object dependency explicit 2021-03-10 10:17:15 +00:00
Environment Use std::function for callbacks 2022-05-25 10:38:20 +01:00
FDM Ground-cache: throw on NaN inputs 2022-06-01 11:50:38 +01:00
GUI FGPUIMenuBar: small optimization (requires C++17) 2022-08-18 17:39:08 +02:00
Include GUI: XML to Nasal bridge, to keep PUI dialogs working 2022-03-09 16:52:19 +00:00
Input FGButton: Make init()'s "module" parameter const 2022-07-13 23:46:23 +01:00
Instrumentation Mach number added to mode-S XPDR properties, exposed to MP (for ATC). 2022-07-26 10:30:14 +01:00
Main Launcher and startup support for TACANs 2022-05-31 10:18:16 +01:00
Model Marker pins 2022-01-27 08:47:48 +00:00
MultiPlayer Mach number added to mode-S XPDR properties, exposed to MP (for ATC). 2022-07-26 10:30:14 +01:00
Navaids Launcher and startup support for TACANs 2022-05-31 10:18:16 +01:00
Network [swift] Pass struct to updatePlanes() instead of multiple vectors 2022-04-06 07:53:51 +01:00
Radio 'using' statement are for source files, not header files 2022-01-15 01:48:01 -06:00
Scenery WS30: Add property controlling splitting water mesh 2022-02-01 16:48:54 +00:00
Scripting Use std::function for callbacks 2022-05-25 10:38:20 +01:00
Sound FGSoundManager: fix path handling in playAudioSampleCommand() 2022-08-20 08:27:45 +02:00
Systems 'using' statement are for source files, not header files 2022-01-15 01:48:01 -06:00
Time Use std::function for callbacks 2022-05-25 10:38:20 +01:00
Traffic Remove Sentry XML error suppression 2021-07-28 13:45:23 +01:00
Viewer src/Viewer/splash: VR splash screen 2022-07-12 22:38:53 +01:00
CMakeLists.txt Switch to using OBJECT library for main build 2021-03-08 16:59:14 +00:00