MCPcopy Create free account
hub / github.com/doldecomp/mkdd / newStream_

Method newStream_

libs/JSystem/JAudio/Interface/JAIStreamMgr.cpp:113–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113JAIStream *JAIStreamMgr::newStream_()
114{
115 if (streamAramMgr_ == NULL)
116 {
117#line 229
118 JUT_WARNING_F2("%s", "JAIStreamAramMgr must be set.\n");
119 return NULL;
120 }
121
122 JAIStream *stream = new JAIStream(this, strategyMgr_);
123 if (stream == NULL)
124 {
125#line 235
126 JUT_WARNING_F2("%s", "JASPoolAllocObject::<JAIStream>::operator new failed .\n")
127 return NULL;
128 }
129 mStreamList.append(stream);
130
131 return stream;
132}
133
134#ifdef DEBUG
135CW_FORCE_STRINGS(JAIStreamMgr_cpp, "category >= 0"); // string from JAIStreamMgr::stopCategory(int)

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected