MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / cSound_AudioCallback

Function cSound_AudioCallback

Source/Amiga/Sound_Amiga.cpp:50–58  ·  view source on GitHub ↗

Call back from Audio Device to fill audio output buffer

Source from the content-addressed store, hash-verified

48
49// Call back from Audio Device to fill audio output buffer
50void cSound_AudioCallback(void *userdata, Uint8 *stream, int len) {
51 cSound_Amiga *sound = (cSound_Amiga*) userdata;
52
53 try {
54 sound->audioBufferFill((short*)stream, len);
55 } catch (...) {
56
57 }
58}
59
60cSound_Amiga::cSound_Amiga() {
61

Callers

nothing calls this directly

Calls 1

audioBufferFillMethod · 0.80

Tested by

no test coverage detected