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
051b64b6
Commit
051b64b6
authored
May 08, 2011
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss.drv: Use AFMT_S24_LE instead of AFMT_S24_PACKED.
parent
1bb985fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mmdevdrv.c
dlls/wineoss.drv/mmdevdrv.c
+2
-2
No files found.
dlls/wineoss.drv/mmdevdrv.c
View file @
051b64b6
...
...
@@ -525,7 +525,7 @@ static int get_oss_format(const WAVEFORMATEX *fmt)
case
16
:
return
AFMT_S16_LE
;
case
24
:
return
AFMT_S24_
PACKED
;
return
AFMT_S24_
LE
;
case
32
:
return
AFMT_S32_LE
;
}
...
...
@@ -1026,7 +1026,7 @@ static HRESULT WINAPI AudioClient_GetMixFormat(IAudioClient *iface,
}
else
if
(
formats
&
AFMT_S32_LE
){
fmt
->
Format
.
wBitsPerSample
=
32
;
fmt
->
SubFormat
=
KSDATAFORMAT_SUBTYPE_PCM
;
}
else
if
(
formats
&
AFMT_S24_
PACKED
){
}
else
if
(
formats
&
AFMT_S24_
LE
){
fmt
->
Format
.
wBitsPerSample
=
24
;
fmt
->
SubFormat
=
KSDATAFORMAT_SUBTYPE_PCM
;
}
else
{
...
...
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