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
49b39a88
Commit
49b39a88
authored
Nov 24, 2009
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openal32: Add alBufferDataStatic.
parent
1da30597
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
openal.c
dlls/openal32/openal.c
+8
-0
No files found.
dlls/openal32/openal.c
View file @
49b39a88
...
...
@@ -44,6 +44,7 @@ typedef struct wine_ALCcontext {
ALboolean
been_current
;
ALvoid
(
AL_APIENTRY
*
alBufferDataStatic
)(
const
ALuint
bid
,
ALenum
format
,
const
ALvoid
*
data
,
ALsizei
size
,
ALsizei
freq
);
ALvoid
(
AL_APIENTRY
*
alGenFilters
)(
ALsizei
n
,
ALuint
*
filters
);
ALvoid
(
AL_APIENTRY
*
alDeleteFilters
)(
ALsizei
n
,
const
ALuint
*
filters
);
ALboolean
(
AL_APIENTRY
*
alIsFilter
)(
ALuint
fid
);
...
...
@@ -190,6 +191,7 @@ ALCboolean CDECL wine_alcMakeContextCurrent(ALCcontext *context)
CurrentCtx
->
been_current
=
AL_TRUE
;
#define LOADFUNC(x) CurrentCtx->x = alGetProcAddress(#x)
LOADFUNC
(
alBufferDataStatic
);
LOADFUNC
(
alGenFilters
);
LOADFUNC
(
alDeleteFilters
);
LOADFUNC
(
alIsFilter
);
...
...
@@ -620,6 +622,11 @@ ALvoid CDECL wine_alBufferData(ALuint bid, ALenum format, const ALvoid* data, AL
alBufferData
(
bid
,
format
,
data
,
size
,
freq
);
}
ALvoid
CDECL
wine_alBufferDataStatic
(
const
ALuint
bid
,
ALenum
format
,
const
ALvoid
*
data
,
ALsizei
size
,
ALsizei
freq
)
{
CurrentCtx
->
alBufferDataStatic
(
bid
,
format
,
data
,
size
,
freq
);
}
ALvoid
CDECL
wine_alGetBufferf
(
ALuint
bid
,
ALenum
param
,
ALfloat
*
value
)
{
alGetBufferf
(
bid
,
param
,
value
);
...
...
@@ -1008,6 +1015,7 @@ static const struct FuncList ALFuncs[] = {
{
"alDeleteBuffers"
,
wine_alDeleteBuffers
},
{
"alIsBuffer"
,
wine_alIsBuffer
},
{
"alBufferData"
,
wine_alBufferData
},
{
"alBufferDataStatic"
,
wine_alBufferDataStatic
},
{
"alBufferf"
,
wine_alBufferf
},
{
"alBuffer3f"
,
wine_alBuffer3f
},
{
"alBufferfv"
,
wine_alBufferfv
},
...
...
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