Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
0f64e733
Commit
0f64e733
authored
May 05, 2013
by
Denis Charmet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove 10 years old limitation of float32 to 2 channels or less in directsound
parent
77521f36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
modules/audio_output/directx.c
modules/audio_output/directx.c
+0
-2
No files found.
modules/audio_output/directx.c
View file @
0f64e733
...
@@ -619,9 +619,7 @@ static int CreateDSBufferPCM( audio_output_t *p_aout, vlc_fourcc_t *i_format,
...
@@ -619,9 +619,7 @@ static int CreateDSBufferPCM( audio_output_t *p_aout, vlc_fourcc_t *i_format,
{
{
unsigned
i_nb_channels
=
popcount
(
i_channels
);
unsigned
i_nb_channels
=
popcount
(
i_channels
);
/* Float32 audio samples are not supported for 5.1 output on the emu101k */
if
(
!
var_GetBool
(
p_aout
,
"directx-audio-float32"
)
||
if
(
!
var_GetBool
(
p_aout
,
"directx-audio-float32"
)
||
i_nb_channels
>
2
||
CreateDSBuffer
(
p_aout
,
VLC_CODEC_FL32
,
CreateDSBuffer
(
p_aout
,
VLC_CODEC_FL32
,
i_channels
,
i_nb_channels
,
i_rate
,
b_probe
)
i_channels
,
i_nb_channels
,
i_rate
,
b_probe
)
!=
VLC_SUCCESS
)
!=
VLC_SUCCESS
)
...
...
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