Files
breeze/tests/background_audio_stub.zi
waozi be56541465 Bring the tests up to date with today's app
Astral Projection runs 40 minutes, habits store their coin level, package
modules are generated under their package prefix, and the Elist link test
names the modules the cells now use. Tests that load apps without Radio's
playback get silent stand-ins.
2026-10-19 20:22:15 -03:00

37 lines
836 B
Ziran

// Radio's background playback for tests that load node apps without
// app/background_audio.zi: nothing plays.
#program_export "BackgroundAudioStart"
StubBackgroundAudioStart :: (owner: s32, url: string) -> bool {
unused owner
unused url
return false
}
#program_export "BackgroundAudioStop"
StubBackgroundAudioStop :: (owner: s32) {
unused owner
}
#program_export "BackgroundAudioVolume"
StubBackgroundAudioVolume :: (owner: s32, percent: s32) -> bool {
unused owner
unused percent
return false
}
#program_export "BackgroundAudioState"
StubBackgroundAudioState :: (owner: s32) -> s32 {
unused owner
return 0
}
#program_export "BackgroundAudioActive"
StubBackgroundAudioActive :: () -> bool {
return false
}
#program_export "BackgroundAudioInterrupt"
StubBackgroundAudioInterrupt :: () {
}