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

Function DevFmtTypeString

3rdparty/openal/alc/alc.cpp:1250–1263  ·  view source on GitHub ↗

* Device format information ************************************************/

Source from the content-addressed store, hash-verified

1248 * Device format information
1249 ************************************************/
1250const ALCchar *DevFmtTypeString(DevFmtType type) noexcept
1251{
1252 switch(type)
1253 {
1254 case DevFmtByte: return "Signed Byte";
1255 case DevFmtUByte: return "Unsigned Byte";
1256 case DevFmtShort: return "Signed Short";
1257 case DevFmtUShort: return "Unsigned Short";
1258 case DevFmtInt: return "Signed Int";
1259 case DevFmtUInt: return "Unsigned Int";
1260 case DevFmtFloat: return "Float";
1261 }
1262 return "(unknown type)";
1263}
1264const ALCchar *DevFmtChannelsString(DevFmtChannels chans) noexcept
1265{
1266 switch(chans)

Callers 12

UpdateDeviceParamsFunction · 0.85
openMethod · 0.85
openMethod · 0.85
resetMethod · 0.85
WasapiCaptureClass · 0.85
DSoundCaptureClass · 0.85
openMethod · 0.85
openMethod · 0.85
WinMMCaptureClass · 0.85
resetMethod · 0.85
openMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected