MCPcopy Create free account
hub / github.com/assaultcube/AC / onsourcereassign

Method onsourcereassign

source/src/oggstream.cpp:139–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void oggstream::onsourcereassign(source *s)
140{
141 // should NEVER happen because streams do have the highest priority, see constructor
142 ASSERT(0);
143 if(src && src==s)
144 {
145 reset();
146 src = NULL;
147 }
148}
149
150bool oggstream::stream(ALuint bufid)
151{

Callers 1

onreassignMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected