Add SAF frontend
This commit is contained in:
parent
bf2cd38337
commit
c2bcf2d325
8 changed files with 131 additions and 40 deletions
4
audio.h
4
audio.h
|
@ -66,6 +66,10 @@ void LCR_audioSetEngineIntensity(uint8_t value)
|
|||
*/
|
||||
void LCR_audioPlaySound(uint8_t sound)
|
||||
{
|
||||
#ifdef LCR_PLAY_SOUND_CALLBACK
|
||||
LCR_PLAY_SOUND_CALLBACK(sound)
|
||||
#endif
|
||||
|
||||
LCR_LOG2("playing sound");
|
||||
LCR_audio.soundPlayed = sound;
|
||||
LCR_audio.soundPlayedFrame = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue