diff options
author | Chris Robinson <[email protected]> | 2014-02-23 20:14:07 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-02-23 20:14:07 -0800 |
commit | 9f43de62ab62577a5159789eebcbb76768750418 (patch) | |
tree | c73d1d9b1948644226f5b8710157ce097c56ad7d /Alc/hrtf.c | |
parent | ef8002a83207730568d3cc7babe3351b4beee4e3 (diff) |
Add a return value to FindHrtfFormat
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r-- | Alc/hrtf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -908,7 +908,7 @@ const struct Hrtf *GetHrtf(ALCdevice *device) return NULL; } -void FindHrtfFormat(const ALCdevice *device, enum DevFmtChannels *chans, ALCuint *srate) +ALCboolean FindHrtfFormat(const ALCdevice *device, enum DevFmtChannels *chans, ALCuint *srate) { const struct Hrtf *hrtf = &DefaultHrtf; @@ -930,6 +930,7 @@ void FindHrtfFormat(const ALCdevice *device, enum DevFmtChannels *chans, ALCuint *chans = DevFmtStereo; *srate = hrtf->sampleRate; + return ALC_TRUE; } void FreeHrtfs(void) |