From 49d2fe6e097c2bf80abafad455795d1ca8c786a7 Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Fri, 12 Jun 2015 22:05:10 -0700 Subject: [PATCH] Refactor : excise deadc0de --- src/audio/ds-shim.h | 30 ------------------------------ src/audio/soundcore-openal.h | 16 ---------------- 2 files changed, 46 deletions(-) diff --git a/src/audio/ds-shim.h b/src/audio/ds-shim.h index 3af78604..7e6dac8e 100644 --- a/src/audio/ds-shim.h +++ b/src/audio/ds-shim.h @@ -166,36 +166,6 @@ typedef struct DSBUFFERDESC { LPWAVEFORMATEX lpwfxFormat; } DSBUFFERDESC; -typedef unsigned long DSCAPS_MASK; -typedef struct _DSCAPS -{ - unsigned long dwSize; - DSCAPS_MASK dwFlags; - unsigned long dwMinSecondarySampleRate; - unsigned long dwMaxSecondarySampleRate; - unsigned long dwPrimaryBuffers; - unsigned long dwMaxHwMixingAllBuffers; - unsigned long dwMaxHwMixingStaticBuffers; - unsigned long dwMaxHwMixingStreamingBuffers; - unsigned long dwFreeHwMixingAllBuffers; - unsigned long dwFreeHwMixingStaticBuffers; - unsigned long dwFreeHwMixingStreamingBuffers; - unsigned long dwMaxHw3DAllBuffers; - unsigned long dwMaxHw3DStaticBuffers; - unsigned long dwMaxHw3DStreamingBuffers; - unsigned long dwFreeHw3DAllBuffers; - unsigned long dwFreeHw3DStaticBuffers; - unsigned long dwFreeHw3DStreamingBuffers; - unsigned long dwTotalHwMemBytes; - unsigned long dwFreeHwMemBytes; - unsigned long dwMaxContigFreeHwMemBytes; - unsigned long dwUnlockTransferRateHwBuffers; - unsigned long dwPlayCpuOverheadSwBuffers; - unsigned long dwReserved1; - unsigned long dwReserved2; -} DSCAPS, *LPDSCAPS; -typedef DSCAPS *LPCDSCAPS; - typedef struct IDirectSound { void *implementation_specific; diff --git a/src/audio/soundcore-openal.h b/src/audio/soundcore-openal.h index ceb077ac..6842399b 100644 --- a/src/audio/soundcore-openal.h +++ b/src/audio/soundcore-openal.h @@ -32,22 +32,6 @@ typedef struct IDirectSoundBuffer ALSoundBufferStruct; typedef struct DSBUFFERDESC ALBufferParamsStruct; -/* - unsigned long dwSize; - unsigned long dwFlags; - unsigned long dwBufferBytes; - unsigned long dwReserved; - LPWAVEFORMATEX lpwfxFormat - { - uint16_t wFormatTag; - uint16_t nChannels; - unsigned long nSamplesPerSec; - unsigned long nAvgBytesPerSec; - uint16_t nBlockAlign; - uint16_t wBitsPerSample; - uint16_t cbSize; - } -*/ struct ALPlayBuf; typedef struct ALPlayBuf {