]> Repos - portaudio/commitdiff
fixed compile for DirectSound implementation under MSYS, missing DSSPEAKER_7POINT1_SU...
authordmitrykos <dmitrykos@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 20 May 2010 17:28:23 +0000 (17:28 +0000)
committerdmitrykos <dmitrykos@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 20 May 2010 17:28:23 +0000 (17:28 +0000)
src/hostapi/dsound/pa_win_ds.c

index 5625810ad17cb18d2970f00c49651a48088da7e3..d491a1f9072f96e9513a10ec007febb60a68ffa9 100644 (file)
@@ -759,6 +759,9 @@ static PaError AddOutputDeviceInfoFromDirectSound(
                             case DSSPEAKER_SURROUND:         count = 4; break;
                             case DSSPEAKER_5POINT1:          count = 6; break;
                             case DSSPEAKER_7POINT1:          count = 8; break;
+#ifndef DSSPEAKER_7POINT1_SURROUND
+#define DSSPEAKER_7POINT1_SURROUND 0x00000008
+#endif                            
                             case DSSPEAKER_7POINT1_SURROUND: count = 8; break;
 #ifndef DSSPEAKER_5POINT1_SURROUND
 #define DSSPEAKER_5POINT1_SURROUND 0x00000009