Add SAF frontend

This commit is contained in:
Miloslav Ciz 2025-05-19 18:40:36 +02:00
parent bf2cd38337
commit c2bcf2d325
8 changed files with 131 additions and 40 deletions

View file

@ -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;