MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xSndPlayInternal

Function xSndPlayInternal

dwarf/SB/Core/x/xSnd.cpp:1403–1418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1401*/
1402// Range: 0x2097E0 -> 0x209D40
1403unsigned int xSndPlayInternal(unsigned int id /* r22 */, float vol /* r29+0xB0 */, float pitch /* r23 */, unsigned int priority /* r21 */, unsigned int flags /* r20 */, unsigned int parentID /* r19 */, class xEnt * parentEnt /* r18 */, class xVec3 * pos /* r17 */, float innerRadius /* r22 */, float outerRadius /* r20 */, enum sound_category category /* r16 */, float delay /* r29+0xB0 */) {
1404 // Blocks
1405 /* anonymous block */ {
1406 // Range: 0x2097E0 -> 0x209D40
1407 float temp; // r29+0xB0
1408 unsigned int i; // r4
1409 unsigned int i; // r4
1410 unsigned int i; // r4
1411 unsigned int voice; // r2
1412 unsigned int sample_rate; // r30
1413 signed int internalID; // r23
1414 class iSndFileInfo * ip; // r2
1415 class iSndFileInfo * ip; // r2
1416 class xSndVoiceInfo * vp; // r19
1417 }
1418}
1419
1420/*
1421 Compile unit: C:\SB\Core\x\xSnd.cpp

Callers 2

xSndPlayFunction · 0.85
xSndPlay3DFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected