Rise
The Vieneo Province
Loading...
Searching...
No Matches
Overspeed Audio tests

Checks overspeed-clacker loading, looping and playback lifecycle.

Subsystem: Audio and physiological effects
Fixture/harness: overspeedaudiotests
Setup: The standalone OverspeedAudioTests harness owns the inputs, local helpers and assertion sink used by the case files below.

Build/entry point: Tests/OverspeedAudioTests.vcxproj; declared configurations: Debug|Win32, Release|Win32, Release|x64.

OverspeedAudioTests.cpp

Source: Tests/OverspeedAudioTests.cpp

Play Ex

Fixture: Overspeed Audio tests
Case symbol: PlayEx
Source: Tests/OverspeedAudioTests.cpp:26

Test
Play Ex: set loop flag; play without restarting loop.
Source check messages (including original failure wording)

  • set loop flag
  • play without restarting loop

Load

Fixture: Overspeed Audio tests
Case symbol: Load
Source: Tests/OverspeedAudioTests.cpp:34

Test
Load: free previous cockpit stream; load current clacker recording normally.
Source check messages (including original failure wording)

  • free previous cockpit stream
  • load current clacker recording normally

Entry-point checks

Fixture: Overspeed Audio tests
Case symbol: main
Source: Tests/OverspeedAudioTests.cpp:58

Test
Entry-point checks: E-10 with unset Vne must not clack at low indicated airspeed; ground, hover, cruise, ascent, coast, orbit and re-entry follow IAS and valid Vne; power loss stops both clacker channels despite unchanged overspeed inputs.
Source check messages (including original failure wording)

  • silent BASS device
  • E-10 with unset Vne must not clack at low indicated airspeed
  • ground, hover, cruise, ascent, coast, orbit and re-entry follow IAS and valid Vne
  • power loss stops both clacker channels despite unchanged overspeed inputs
  • audio reload cannot bypass the cockpit power cutoff
  • restored power re-arms a still-valid overspeed condition
  • complete vehicle shutdown silences the clacker
  • restored power does not replay a cleared overspeed condition
  • power restoration never enables the E-10 unset limit
  • subsequent valid overspeed still starts normally
  • seek into active recording
  • ongoing overspeed remains active
  • warning update does not rewind
  • invalid or absent limit stops both channels
  • valid limit re-arms warning
  • non-finite IAS stops both channels
  • inside another vehicle is silent
  • returning to own vehicle re-arms warning
  • uninitialized altitude is silent
  • valid altitude re-arms warning
  • cockpit or audio reload resumes current warning
  • switching to E-10 stops old warning
  • reloading E-10 does not revive old warning
  • clean audio shutdown