Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4f32f8e1
Commit
4f32f8e1
authored
Dec 14, 2012
by
Andrew Eikum
Committed by
Alexandre Julliard
Dec 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa.drv: Be less strict about wValidBitsPerSample.
parent
9f9ff552
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
mmdevdrv.c
dlls/winealsa.drv/mmdevdrv.c
+1
-3
No files found.
dlls/winealsa.drv/mmdevdrv.c
View file @
4f32f8e1
...
...
@@ -976,10 +976,8 @@ static snd_pcm_format_t alsa_format(const WAVEFORMATEX *fmt)
fmt
->
wBitsPerSample
!=
fmtex
->
Samples
.
wValidBitsPerSample
){
if
(
fmtex
->
Samples
.
wValidBitsPerSample
==
20
&&
fmt
->
wBitsPerSample
==
24
)
format
=
SND_PCM_FORMAT_S20_3LE
;
else
{
else
WARN
(
"Unsupported ValidBits: %u
\n
"
,
fmtex
->
Samples
.
wValidBitsPerSample
);
format
=
SND_PCM_FORMAT_UNKNOWN
;
}
}
}
else
if
(
fmt
->
wFormatTag
==
WAVE_FORMAT_IEEE_FLOAT
||
(
fmt
->
wFormatTag
==
WAVE_FORMAT_EXTENSIBLE
&&
...
...
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