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
74d8fc71
Commit
74d8fc71
authored
Aug 20, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Waveout: fix type warning and update copyright
parent
bcf320ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+6
-4
No files found.
modules/audio_output/waveout.c
View file @
74d8fc71
/*****************************************************************************
/*****************************************************************************
* waveout.c : Windows waveOut plugin for vlc
* waveout.c : Windows waveOut plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 the VideoLAN team
* Copyright (C) 2001
-2009
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Gildas Bazin <gbazin@videolan.org>
* Authors: Gildas Bazin <gbazin@videolan.org>
* André Weber
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
...
@@ -125,7 +126,7 @@ static void Probe ( aout_instance_t * );
...
@@ -125,7 +126,7 @@ static void Probe ( aout_instance_t * );
static
int
OpenWaveOut
(
aout_instance_t
*
,
uint32_t
,
static
int
OpenWaveOut
(
aout_instance_t
*
,
uint32_t
,
int
,
int
,
int
,
int
,
bool
);
int
,
int
,
int
,
int
,
bool
);
static
int
OpenWaveOutPCM
(
aout_instance_t
*
,
uint32_t
,
static
int
OpenWaveOutPCM
(
aout_instance_t
*
,
uint32_t
,
in
t
*
,
int
,
int
,
int
,
bool
);
vlc_fourcc_
t
*
,
int
,
int
,
int
,
bool
);
static
int
PlayWaveOut
(
aout_instance_t
*
,
HWAVEOUT
,
WAVEHDR
*
,
static
int
PlayWaveOut
(
aout_instance_t
*
,
HWAVEOUT
,
WAVEHDR
*
,
aout_buffer_t
*
,
bool
);
aout_buffer_t
*
,
bool
);
...
@@ -453,7 +454,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -453,7 +454,7 @@ static int Open( vlc_object_t *p_this )
static
void
Probe
(
aout_instance_t
*
p_aout
)
static
void
Probe
(
aout_instance_t
*
p_aout
)
{
{
vlc_value_t
val
,
text
;
vlc_value_t
val
,
text
;
in
t
i_format
;
vlc_fourcc_
t
i_format
;
unsigned
int
i_physical_channels
;
unsigned
int
i_physical_channels
;
var_Create
(
p_aout
,
"audio-device"
,
VLC_VAR_INTEGER
|
VLC_VAR_HASCHOICE
);
var_Create
(
p_aout
,
"audio-device"
,
VLC_VAR_INTEGER
|
VLC_VAR_HASCHOICE
);
...
@@ -801,7 +802,8 @@ static int OpenWaveOut( aout_instance_t *p_aout, uint32_t i_device_id, int i_for
...
@@ -801,7 +802,8 @@ static int OpenWaveOut( aout_instance_t *p_aout, uint32_t i_device_id, int i_for
/*****************************************************************************
/*****************************************************************************
* OpenWaveOutPCM: open a PCM waveout sound device
* OpenWaveOutPCM: open a PCM waveout sound device
****************************************************************************/
****************************************************************************/
static
int
OpenWaveOutPCM
(
aout_instance_t
*
p_aout
,
uint32_t
i_device_id
,
int
*
i_format
,
static
int
OpenWaveOutPCM
(
aout_instance_t
*
p_aout
,
uint32_t
i_device_id
,
vlc_fourcc_t
*
i_format
,
int
i_channels
,
int
i_nb_channels
,
int
i_rate
,
int
i_channels
,
int
i_nb_channels
,
int
i_rate
,
bool
b_probe
)
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