Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
bc503606
Commit
bc503606
authored
Aug 19, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DirectSound: be more restrictive and fix warning
parent
3f489ac9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/audio_output/directx.c
modules/audio_output/directx.c
+4
-4
No files found.
modules/audio_output/directx.c
View file @
bc503606
/*****************************************************************************
* directx.c: Windows DirectX audio output method
*****************************************************************************
* Copyright (C) 2001 the VideoLAN team
* Copyright (C) 2001
-2009
the VideoLAN team
* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
...
...
@@ -210,7 +210,7 @@ static void Play ( aout_instance_t * );
static
void
Probe
(
aout_instance_t
*
);
static
int
InitDirectSound
(
aout_instance_t
*
);
static
int
CreateDSBuffer
(
aout_instance_t
*
,
int
,
int
,
int
,
int
,
int
,
bool
);
static
int
CreateDSBufferPCM
(
aout_instance_t
*
,
in
t
*
,
int
,
int
,
int
,
bool
);
static
int
CreateDSBufferPCM
(
aout_instance_t
*
,
vlc_fourcc_
t
*
,
int
,
int
,
int
,
bool
);
static
void
DestroyDSBuffer
(
aout_instance_t
*
);
static
void
*
DirectSoundThread
(
vlc_object_t
*
);
static
int
FillBuffer
(
aout_instance_t
*
,
int
,
aout_buffer_t
*
);
...
...
@@ -448,7 +448,7 @@ static int OpenAudio( vlc_object_t *p_this )
static
void
Probe
(
aout_instance_t
*
p_aout
)
{
vlc_value_t
val
,
text
;
in
t
i_format
;
vlc_fourcc_
t
i_format
;
unsigned
int
i_physical_channels
;
DWORD
ui_speaker_config
;
bool
is_default_output_set
=
false
;
...
...
@@ -984,7 +984,7 @@ static int CreateDSBuffer( aout_instance_t *p_aout, int i_format,
* We first try to create a WAVE_FORMAT_IEEE_FLOAT buffer if supported by
* the hardware, otherwise we create a WAVE_FORMAT_PCM buffer.
****************************************************************************/
static
int
CreateDSBufferPCM
(
aout_instance_t
*
p_aout
,
in
t
*
i_format
,
static
int
CreateDSBufferPCM
(
aout_instance_t
*
p_aout
,
vlc_fourcc_
t
*
i_format
,
int
i_channels
,
int
i_nb_channels
,
int
i_rate
,
bool
b_probe
)
{
...
...
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