diff options
author | Chris Robinson <[email protected]> | 2013-10-29 15:07:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-29 15:07:13 -0700 |
commit | 9f0e49917d808b93e0c47ce4fa2cbf7050cfe65a (patch) | |
tree | f31632c945aba429146c4d0b1cb175c9619d9e5f /Alc/backends/base.c | |
parent | 779eb4b82b8c50174ae8bb464bc4938cff07d231 (diff) |
Add default handlers for reset, captureSamples, and availableSamples
Diffstat (limited to 'Alc/backends/base.c')
-rw-r--r-- | Alc/backends/base.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Alc/backends/base.c b/Alc/backends/base.c index cb999f87..2f3ff924 100644 --- a/Alc/backends/base.c +++ b/Alc/backends/base.c @@ -20,6 +20,21 @@ void ALCbackend_Destruct(ALCbackend *self) DeleteCriticalSection(&self->mMutex); } +ALCboolean ALCbackend_reset(ALCbackend* UNUSED(self)) +{ + return ALC_FALSE; +} + +ALCenum ALCbackend_captureSamples(ALCbackend* UNUSED(self), void* UNUSED(buffer), ALCuint UNUSED(samples)) +{ + return ALC_INVALID_DEVICE; +} + +ALCuint ALCbackend_availableSamples(ALCbackend* UNUSED(self)) +{ + return 0; +} + ALint64 ALCbackend_getLatency(ALCbackend* UNUSED(self)) { return 0; |