MCPcopy Create free account
hub / github.com/crownengine/crown / ChannelsFromFmt

Function ChannelsFromFmt

3rdparty/openal/al/buffer.cpp:1361–1376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1359 return 0;
1360}
1361ALuint ChannelsFromFmt(FmtChannels chans)
1362{
1363 switch(chans)
1364 {
1365 case FmtMono: return 1;
1366 case FmtStereo: return 2;
1367 case FmtRear: return 2;
1368 case FmtQuad: return 4;
1369 case FmtX51: return 6;
1370 case FmtX61: return 7;
1371 case FmtX71: return 8;
1372 case FmtBFormat2D: return 3;
1373 case FmtBFormat3D: return 4;
1374 }
1375 return 0;
1376}
1377
1378
1379BufferSubList::~BufferSubList()

Callers 7

GetSourceOffsetFunction · 0.85
GetSampleOffsetFunction · 0.85
source.cppFile · 0.85
LoadDataFunction · 0.85
buffer.cppFile · 0.85
switchFunction · 0.85
FrameSizeFromFmtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected