Created
May 27, 2012 20:21
-
-
Save jmccrohan/2815752 to your computer and use it in GitHub Desktop.
Wine 1.3.25+ 5.1 Surround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/dlls/winealsa.drv/mmdevdrv.c | |
+++ b/dlls/winealsa.drv/mmdevdrv.c | |
@@ -1372,7 +1372,7 @@ static HRESULT WINAPI AudioClient_IsForm | |
goto exit; | |
} | |
if(max > 8) | |
- max = 2; | |
+ max = 6; | |
if(fmt->nChannels > max){ | |
hr = S_FALSE; | |
closest->nChannels = max; | |
@@ -1477,8 +1477,8 @@ static HRESULT WINAPI AudioClient_GetMix | |
goto exit; | |
} | |
- if(max_channels > 2) | |
- fmt->Format.nChannels = 2; | |
+ if(max_channels > 6) | |
+ fmt->Format.nChannels = 6; | |
else | |
fmt->Format.nChannels = max_channels; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I notice the second part of this patch is yet to be implemented in wine 1.7.x (comparing to git).
Does this mean wine still needs to be manually patched for surround sound?