OpenAudio()
OpenAudio()
and CloseAudio() manually. Apart from that particular situation,
there is no need to call these functions at all.
OpenAudio() OpenMusic(1, "Turrican2_Remix.mod") PlayMusic(1) WaitLeftMouse StopMusic(1) CloseAudio()The code above plays "Turrican2_Remix.mod" and then closes the audio hardware, making it possible for other programs on AmigaOS aiming for exclusive audio hardware access to reserve it.