diff options
author | Chris Robinson <[email protected]> | 2017-01-18 07:13:23 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-01-18 07:13:23 -0800 |
commit | d2e5aa79ddc79bccde67d375cffea8f9922ca611 (patch) | |
tree | f39b0892cbbb877cd2d0ebc6d7270159dfdf91fa /Alc/ALc.c | |
parent | ba0944af9ba8d851bc5b6ad99f314bbdac269716 (diff) |
Use ALsizei in more places
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1310,8 +1310,8 @@ const ALCchar *DevFmtChannelsString(enum DevFmtChannels chans) return "(unknown channels)"; } -extern inline ALuint FrameSizeFromDevFmt(enum DevFmtChannels chans, enum DevFmtType type); -ALuint BytesFromDevFmt(enum DevFmtType type) +extern inline ALsizei FrameSizeFromDevFmt(enum DevFmtChannels chans, enum DevFmtType type); +ALsizei BytesFromDevFmt(enum DevFmtType type) { switch(type) { @@ -1325,7 +1325,7 @@ ALuint BytesFromDevFmt(enum DevFmtType type) } return 0; } -ALuint ChannelsFromDevFmt(enum DevFmtChannels chans) +ALsizei ChannelsFromDevFmt(enum DevFmtChannels chans) { switch(chans) { @@ -2093,7 +2093,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) device->FOAOut.Buffer = device->Dry.Buffer; device->FOAOut.NumChannels = device->Dry.NumChannels; } - TRACE("Channel config, Dry: %u, FOA: %u, Real: %u\n", device->Dry.NumChannels, + TRACE("Channel config, Dry: %d, FOA: %d, Real: %d\n", device->Dry.NumChannels, device->FOAOut.NumChannels, device->RealOut.NumChannels); SetMixerFPUMode(&oldMode); |