Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
09d375d4
Commit
09d375d4
authored
Aug 13, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused aout_VolumeInfos.
parent
5cb2537a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
56 deletions
+0
-56
include/vlc_aout.h
include/vlc_aout.h
+0
-3
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+0
-8
src/audio_output/intf.c
src/audio_output/intf.c
+0
-44
src/libvlccore.sym
src/libvlccore.sym
+0
-1
No files found.
include/vlc_aout.h
View file @
09d375d4
...
...
@@ -326,7 +326,6 @@ typedef struct aout_output_t
void
(
*
pf_play
)(
aout_instance_t
*
);
int
(
*
pf_volume_get
)(
aout_instance_t
*
,
audio_volume_t
*
);
int
(
*
pf_volume_set
)(
aout_instance_t
*
,
audio_volume_t
);
int
(
*
pf_volume_infos
)(
aout_instance_t
*
,
audio_volume_t
*
);
int
i_nb_samples
;
/* Current volume for the output - it's just a placeholder, the plug-in
...
...
@@ -445,8 +444,6 @@ VLC_EXPORT( void, aout_VolumeNoneInit, ( aout_instance_t * ) );
VLC_EXPORT
(
int
,
__aout_VolumeGet
,
(
vlc_object_t
*
,
audio_volume_t
*
)
);
#define aout_VolumeSet(a, b) __aout_VolumeSet(VLC_OBJECT(a), b)
VLC_EXPORT
(
int
,
__aout_VolumeSet
,
(
vlc_object_t
*
,
audio_volume_t
)
);
#define aout_VolumeInfos(a, b) __aout_VolumeInfos(VLC_OBJECT(a), b)
VLC_EXPORT
(
int
,
__aout_VolumeInfos
,
(
vlc_object_t
*
,
audio_volume_t
*
)
);
#define aout_VolumeUp(a, b, c) __aout_VolumeUp(VLC_OBJECT(a), b, c)
VLC_EXPORT
(
int
,
__aout_VolumeUp
,
(
vlc_object_t
*
,
int
,
audio_volume_t
*
)
);
#define aout_VolumeDown(a, b, c) __aout_VolumeDown(VLC_OBJECT(a), b, c)
...
...
modules/audio_output/waveout.c
View file @
09d375d4
...
...
@@ -132,7 +132,6 @@ static int PlayWaveOut ( aout_instance_t *, HWAVEOUT, WAVEHDR *,
static
void
CALLBACK
WaveOutCallback
(
HWAVEOUT
,
UINT
,
DWORD
,
DWORD
,
DWORD
);
static
void
*
WaveOutThread
(
vlc_object_t
*
);
static
int
VolumeInfos
(
aout_instance_t
*
,
audio_volume_t
*
);
static
int
VolumeGet
(
aout_instance_t
*
,
audio_volume_t
*
);
static
int
VolumeSet
(
aout_instance_t
*
,
audio_volume_t
);
...
...
@@ -392,7 +391,6 @@ static int Open( vlc_object_t *p_this )
if
(
waveOutGetVolume
(
p_aout
->
output
.
p_sys
->
h_waveout
,
&
i_dummy
)
==
MMSYSERR_NOERROR
)
{
p_aout
->
output
.
pf_volume_infos
=
VolumeInfos
;
p_aout
->
output
.
pf_volume_get
=
VolumeGet
;
p_aout
->
output
.
pf_volume_set
=
VolumeSet
;
}
...
...
@@ -1110,12 +1108,6 @@ static void* WaveOutThread( vlc_object_t *p_this )
return
NULL
;
}
static
int
VolumeInfos
(
aout_instance_t
*
p_aout
,
audio_volume_t
*
pi_soft
)
{
*
pi_soft
=
AOUT_VOLUME_MAX
/
2
;
return
0
;
}
static
int
VolumeGet
(
aout_instance_t
*
p_aout
,
audio_volume_t
*
pi_volume
)
{
DWORD
i_waveout_vol
;
...
...
src/audio_output/intf.c
View file @
09d375d4
...
...
@@ -122,33 +122,6 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
return
i_result
;
}
/*****************************************************************************
* aout_VolumeInfos : get the boundary pi_soft
*****************************************************************************/
int
__aout_VolumeInfos
(
vlc_object_t
*
p_object
,
audio_volume_t
*
pi_soft
)
{
aout_instance_t
*
p_aout
=
vlc_object_find
(
p_object
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
int
i_result
;
if
(
p_aout
==
NULL
)
return
0
;
aout_lock_mixer
(
p_aout
);
if
(
p_aout
->
mixer
.
b_error
)
{
/* The output module is destroyed. */
i_result
=
-
1
;
}
else
{
i_result
=
p_aout
->
output
.
pf_volume_infos
(
p_aout
,
pi_soft
);
}
aout_unlock_mixer
(
p_aout
);
vlc_object_release
(
p_aout
);
return
i_result
;
}
/*****************************************************************************
* aout_VolumeUp : raise the output volume
*****************************************************************************
...
...
@@ -228,7 +201,6 @@ void aout_VolumeSoftInit( aout_instance_t * p_aout )
{
int
i_volume
;
p_aout
->
output
.
pf_volume_infos
=
aout_VolumeSoftInfos
;
p_aout
->
output
.
pf_volume_get
=
aout_VolumeSoftGet
;
p_aout
->
output
.
pf_volume_set
=
aout_VolumeSoftSet
;
...
...
@@ -245,14 +217,6 @@ void aout_VolumeSoftInit( aout_instance_t * p_aout )
aout_VolumeSoftSet
(
p_aout
,
(
audio_volume_t
)
i_volume
);
}
/* Placeholder for pf_volume_infos(). */
int
aout_VolumeSoftInfos
(
aout_instance_t
*
p_aout
,
audio_volume_t
*
pi_soft
)
{
(
void
)
p_aout
;
*
pi_soft
=
0
;
return
0
;
}
/* Placeholder for pf_volume_get(). */
int
aout_VolumeSoftGet
(
aout_instance_t
*
p_aout
,
audio_volume_t
*
pi_volume
)
{
...
...
@@ -277,18 +241,10 @@ int aout_VolumeSoftSet( aout_instance_t * p_aout, audio_volume_t i_volume )
/* Meant to be called by the output plug-in's Open(). */
void
aout_VolumeNoneInit
(
aout_instance_t
*
p_aout
)
{
p_aout
->
output
.
pf_volume_infos
=
aout_VolumeNoneInfos
;
p_aout
->
output
.
pf_volume_get
=
aout_VolumeNoneGet
;
p_aout
->
output
.
pf_volume_set
=
aout_VolumeNoneSet
;
}
/* Placeholder for pf_volume_infos(). */
int
aout_VolumeNoneInfos
(
aout_instance_t
*
p_aout
,
audio_volume_t
*
pi_soft
)
{
(
void
)
p_aout
;
(
void
)
pi_soft
;
return
-
1
;
}
/* Placeholder for pf_volume_get(). */
int
aout_VolumeNoneGet
(
aout_instance_t
*
p_aout
,
audio_volume_t
*
pi_volume
)
{
...
...
src/libvlccore.sym
View file @
09d375d4
...
...
@@ -28,7 +28,6 @@ aout_FormatPrintChannels
aout_OutputNextBuffer
__aout_VolumeDown
__aout_VolumeGet
__aout_VolumeInfos
__aout_ToggleMute
aout_VolumeNoneInit
__aout_VolumeSet
...
...
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