// handleAudio is a custom message handler for the audio channel.
handleAudio is a custom message handler for the audio channel.
// handleAudio is a custom message handler for the audio channel .
func (emu *EmulatorMock) handleAudio(handler func(sample []int16)) {
	for frame := range emu.audioInCh {
		handler(frame)
	}
}
func ( emu * EmulatorMock ) handleAudio ( handler func ( sample [ ] int16 ) ) { for frame := range emu . audioInCh { handler ( frame ) } }
handleAudio is a custom message handler for the audio channel.
handleAudio is a custom message handler for the audio channel .