From b565ab5bddd84c2fee2d95bb6a5bff31226f1ba8 Mon Sep 17 00:00:00 2001 From: dmitrykos Date: Thu, 20 May 2010 17:28:23 +0000 Subject: [PATCH] fixed compile for DirectSound implementation under MSYS, missing DSSPEAKER_7POINT1_SURROUND define --- src/hostapi/dsound/pa_win_ds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hostapi/dsound/pa_win_ds.c b/src/hostapi/dsound/pa_win_ds.c index 5625810..d491a1f 100644 --- a/src/hostapi/dsound/pa_win_ds.c +++ b/src/hostapi/dsound/pa_win_ds.c @@ -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 -- 2.43.0