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

Method close

interfaces/Soundfile.cpp:144–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 /* int status = */ sf_command(sndfile, SFC_UPDATE_HEADER_NOW, 0, 0);
143 }
144 int Soundfile::close()
145 {
146 int status = 0;
147 if (sndfile) {
148 status = sf_close(sndfile);
149 if (status) {
150 std::cerr << sf_error_number(status) << std::endl;
151 }
152 }
153 initialize();
154 return status;
155 }
156 void Soundfile::error() const
157 {
158 std::cerr << sf_strerror(sndfile) << std::endl;

Callers 15

terminateInstanceMethod · 0.80
onPlayStateChangeMethod · 0.80
terminateInstanceMethod · 0.80
safelyClosePortsFunction · 0.80
terminateInstanceMethod · 0.80
terminateInstanceMethod · 0.80
stopMethod · 0.80
closeAndDeleteContextFunction · 0.80
createTempFileMethod · 0.80
writeTemplateFileMethod · 0.80
copyAssetMethod · 0.80
parseWebLayoutMethod · 0.80

Calls 1

initializeFunction · 0.50

Tested by 2

runTestFunction · 0.64
runTestFunction · 0.64