Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
67e53fc9
Commit
67e53fc9
authored
Mar 25, 2022
by
Huw Davies
Committed by
Alexandre Julliard
Mar 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Build with msvcrt.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a6211e59
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
22 deletions
+6
-22
Makefile.in
dlls/winealsa.drv/Makefile.in
+0
-2
midi.c
dlls/winealsa.drv/midi.c
+0
-9
mmdevdrv.c
dlls/winealsa.drv/mmdevdrv.c
+6
-11
No files found.
dlls/winealsa.drv/Makefile.in
View file @
67e53fc9
...
...
@@ -5,8 +5,6 @@ IMPORTS = uuid ole32 advapi32
DELAYIMPORTS
=
winmm
EXTRALIBS
=
$(ALSA_LIBS)
$(PTHREAD_LIBS)
EXTRADLLFLAGS
=
-mcygwin
C_SRCS
=
\
alsa.c
\
alsamidi.c
\
...
...
dlls/winealsa.drv/midi.c
View file @
67e53fc9
...
...
@@ -22,17 +22,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
...
...
dlls/winealsa.drv/mmdevdrv.c
View file @
67e53fc9
...
...
@@ -18,23 +18,15 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define NONAMELESSUNION
#define COBJMACROS
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <math.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winreg.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/list.h"
#include "wine/unixlib.h"
#include "winternl.h"
#include "propsys.h"
#include "initguid.h"
#include "ole2.h"
...
...
@@ -44,11 +36,14 @@
#include "mmsystem.h"
#include "dsound.h"
#include "initguid.h"
#include "endpointvolume.h"
#include "audioclient.h"
#include "audiopolicy.h"
#include "wine/debug.h"
#include "wine/list.h"
#include "wine/unixlib.h"
#include "unixlib.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
alsa
);
...
...
@@ -371,7 +366,7 @@ HRESULT WINAPI AUDDRV_GetEndpointIDs(EDataFlow flow, WCHAR ***ids_out, GUID **gu
}
for
(
i
=
0
;
i
<
params
.
num
;
i
++
){
unsigned
int
size
=
(
strlenW
(
params
.
endpoints
[
i
].
name
)
+
1
)
*
sizeof
(
WCHAR
);
unsigned
int
size
=
(
wcslen
(
params
.
endpoints
[
i
].
name
)
+
1
)
*
sizeof
(
WCHAR
);
ids
[
i
]
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
if
(
!
ids
[
i
]){
params
.
result
=
E_OUTOFMEMORY
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment