OK, this is somehow the code I'm using:

Code:
LoadSounds   'using CreateSoundBufFromFile() 
LoadGraphics  'Using CreateSurfFromFile() 

Game Loop
  If Certain_Condition Then
     Play 
  End If
Loop

StopSounds 'Buffer.Stop 
UnloadSounds 'Buffer=Nothing