MCPcopy Create free account
hub / github.com/csound/csound / ErrorCheck

Function ErrorCheck

InOut/HaikuAudio.cpp:582–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580
581
582static void ErrorCheck(status_t err, const char* msg)
583{
584 if (err)
585 {
586 fprintf(stderr, "* FATAL ERROR (%s): %s\n", strerror(err), msg);
587 exit(1);
588 }
589}
590
591
592Generator::Generator(float sampleRate, int nchans, size_t bufferSize,

Callers 1

RunAudioMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected