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
287be7c5
Commit
287be7c5
authored
Jul 03, 2017
by
Andrew Eikum
Committed by
Alexandre Julliard
Jul 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineandroid: Add an audio driver.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9027b927
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
4 deletions
+12
-4
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
main.c
dlls/mmdevapi/main.c
+1
-1
AndroidManifest.xml
dlls/wineandroid.drv/AndroidManifest.xml
+1
-0
Makefile.in
dlls/wineandroid.drv/Makefile.in
+2
-1
mmdevdrv.c
dlls/wineandroid.drv/mmdevdrv.c
+0
-0
wineandroid.drv.spec
dlls/wineandroid.drv/wineandroid.drv.spec
+6
-0
No files found.
configure
View file @
287be7c5
...
@@ -14464,7 +14464,7 @@ test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)
...
@@ -14464,7 +14464,7 @@ test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)
fi
fi
if
test
"x
$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv
"
=
x
nononono
-a
\
if
test
"x
$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv
$enable_wineandroid_drv
"
=
xno
nononono
-a
\
"x
$with_alsa$with_coreaudio$with_oss$with_pulse
"
!=
xnononono
"x
$with_alsa$with_coreaudio$with_oss$with_pulse
"
!=
xnononono
then
then
as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
...
...
configure.ac
View file @
287be7c5
...
@@ -1765,7 +1765,7 @@ then
...
@@ -1765,7 +1765,7 @@ then
fi
fi
dnl **** Check for any sound system ****
dnl **** Check for any sound system ****
if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv
" = x
nononono -a \
if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv
$enable_wineandroid_drv" = xno
nononono -a \
"x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
"x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
then
then
WINE_WARNING([No sound system was found. Windows applications will be silent.])
WINE_WARNING([No sound system was found. Windows applications will be silent.])
...
...
dlls/mmdevapi/main.c
View file @
287be7c5
...
@@ -114,7 +114,7 @@ static BOOL WINAPI init_driver(INIT_ONCE *once, void *param, void **context)
...
@@ -114,7 +114,7 @@ static BOOL WINAPI init_driver(INIT_ONCE *once, void *param, void **context)
static
const
WCHAR
drv_value
[]
=
{
'A'
,
'u'
,
'd'
,
'i'
,
'o'
,
0
};
static
const
WCHAR
drv_value
[]
=
{
'A'
,
'u'
,
'd'
,
'i'
,
'o'
,
0
};
static
WCHAR
default_list
[]
=
{
'p'
,
'u'
,
'l'
,
's'
,
'e'
,
','
,
'a'
,
'l'
,
's'
,
'a'
,
','
,
'o'
,
's'
,
's'
,
','
,
static
WCHAR
default_list
[]
=
{
'p'
,
'u'
,
'l'
,
's'
,
'e'
,
','
,
'a'
,
'l'
,
's'
,
'a'
,
','
,
'o'
,
's'
,
's'
,
','
,
'c'
,
'o'
,
'r'
,
'e'
,
'a'
,
'u'
,
'd'
,
'i'
,
'o'
,
0
};
'c'
,
'o'
,
'r'
,
'e'
,
'a'
,
'u'
,
'd'
,
'i'
,
'o'
,
','
,
'a'
,
'n'
,
'd'
,
'r'
,
'o'
,
'i'
,
'd'
,
0
};
DriverFuncs
driver
;
DriverFuncs
driver
;
HKEY
key
;
HKEY
key
;
...
...
dlls/wineandroid.drv/AndroidManifest.xml
View file @
287be7c5
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
package=
"org.winehq.wine"
>
package=
"org.winehq.wine"
>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
<uses-permission
android:name=
"android.permission.RECORD_AUDIO"
/>
<application
<application
android:icon=
"@drawable/wine"
android:icon=
"@drawable/wine"
android:label=
"Wine"
>
android:label=
"Wine"
>
...
...
dlls/wineandroid.drv/Makefile.in
View file @
287be7c5
MODULE
=
wineandroid.drv
MODULE
=
wineandroid.drv
IMPORTS
=
user32 gdi32 advapi32 ntoskrnl
IMPORTS
=
u
uid ole32 u
ser32 gdi32 advapi32 ntoskrnl
C_SRCS
=
\
C_SRCS
=
\
device.c
\
device.c
\
init.c
\
init.c
\
keyboard.c
\
keyboard.c
\
mmdevdrv.c
\
opengl.c
\
opengl.c
\
window.c
window.c
...
...
dlls/wineandroid.drv/mmdevdrv.c
0 → 100644
View file @
287be7c5
This diff is collapsed.
Click to expand it.
dlls/wineandroid.drv/wineandroid.drv.spec
View file @
287be7c5
...
@@ -29,3 +29,9 @@
...
@@ -29,3 +29,9 @@
# Desktop
# Desktop
@ cdecl wine_create_desktop(long long) ANDROID_create_desktop
@ cdecl wine_create_desktop(long long) ANDROID_create_desktop
# MMDevAPI driver functions
@ stdcall -private GetPriority() AUDDRV_GetPriority
@ stdcall -private GetEndpointIDs(long ptr ptr ptr ptr) AUDDRV_GetEndpointIDs
@ stdcall -private GetAudioEndpoint(ptr ptr ptr) AUDDRV_GetAudioEndpoint
@ stdcall -private GetAudioSessionManager(ptr ptr) AUDDRV_GetAudioSessionManager
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