aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-19 00:23:26 -0700
committerChris Robinson <[email protected]>2011-08-19 00:30:05 -0700
commit6ba5128f722293a48b58c42385a5e1ff09f26e94 (patch)
treedf52b083b722d5d66ed894807ae155686eb226ae /Alc/dsound.c
parentc96a6c2b1bb90317fd95dfddbec4f492c17fef50 (diff)
Use separate lists for playback and capture backends
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c48
1 files changed, 6 insertions, 42 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index aac9abad..d34e5409 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -556,53 +556,17 @@ static void DSoundStopPlayback(ALCdevice *device)
}
-static ALCboolean DSoundOpenCapture(ALCdevice *pDevice, const ALCchar *deviceName)
-{
- (void)pDevice;
- (void)deviceName;
- return ALC_FALSE;
-}
-
-static void DSoundCloseCapture(ALCdevice *pDevice)
-{
- (void)pDevice;
-}
-
-static void DSoundStartCapture(ALCdevice *pDevice)
-{
- (void)pDevice;
-}
-
-static void DSoundStopCapture(ALCdevice *pDevice)
-{
- (void)pDevice;
-}
-
-static void DSoundCaptureSamples(ALCdevice *pDevice, ALCvoid *pBuffer, ALCuint lSamples)
-{
- (void)pDevice;
- (void)pBuffer;
- (void)lSamples;
-}
-
-static ALCuint DSoundAvailableSamples(ALCdevice *pDevice)
-{
- (void)pDevice;
- return 0;
-}
-
-
static const BackendFuncs DSoundFuncs = {
DSoundOpenPlayback,
DSoundClosePlayback,
DSoundResetPlayback,
DSoundStopPlayback,
- DSoundOpenCapture,
- DSoundCloseCapture,
- DSoundStartCapture,
- DSoundStopCapture,
- DSoundCaptureSamples,
- DSoundAvailableSamples
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
};