diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-08-14 14:29:04 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-08-14 14:29:04 +0200 |
| commit | db8bc5f9e386c76531dfe679df022dd05d3dd27a (patch) | |
| tree | 03ddd1ab050c79fa56e51a1f7c3d4c15bd1685b6 /Source/Sfx.c | |
| parent | f97f48ca7cefd3380edc9bdaaebf17c16c5c871b (diff) | |
| download | airport-db8bc5f9e386c76531dfe679df022dd05d3dd27a.tar.gz | |
+ Documentation about sound sources.
* Sine-like effect used for runways now moved to SystemCalculateSine().
* Bugfix: ptrPlayer->FlightDataPage is now decreased if there aren't enough active aircraft.
* On main menu, 2 players option is now disabled if pad 2 is disconnected.
* More work on FPS measurement (not working yet).
* Number of used SPU voices is now returned on SfxUploadSound().
Diffstat (limited to 'Source/Sfx.c')
| -rw-r--r-- | Source/Sfx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Sfx.c b/Source/Sfx.c index b6b46c6..c0033d0 100644 --- a/Source/Sfx.c +++ b/Source/Sfx.c @@ -47,7 +47,10 @@ bool SfxUploadSound(char* file_path, SsVag * vag) SsUploadVag(vag); vag->cur_voice = voiceIndex; + voiceIndex++; + + Serial_printf("SPU voices used = %d\n", voiceIndex); } else { |
