(param)
| 1181 | } |
| 1182 | |
| 1183 | switch (param) { |
| 1184 | case 0x202 /* AL_SOURCE_RELATIVE */: |
| 1185 | if (value === {{{ cDefs.AL_TRUE }}}) { |
| 1186 | src.relative = true; |
| 1187 | AL.updateSourceSpace(src); |
| 1188 | } else if (value === {{{ cDefs.AL_FALSE }}}) { |
| 1189 | src.relative = false; |
| 1190 | AL.updateSourceSpace(src); |
| 1191 | } else { |
| 1192 | #if OPENAL_DEBUG |
| 1193 | dbg(`${funcname}() param AL_SOURCE_RELATIVE value ${value} is out of range`); |
| 1194 | #endif |
| 1195 | AL.currentCtx.err = {{{ cDefs.AL_INVALID_VALUE }}}; |
| 1196 | return; |
| 1197 | } |
| 1198 | break; |
nothing calls this directly
no test coverage detected