Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
450
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
59b36919
Commit
59b36919
authored
13 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
Remove useless trivial audio mixer
parent
7c7f4ce0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
modules/LIST
+0
-1
0 additions, 1 deletion
modules/LIST
modules/audio_mixer/Modules.am
+1
-3
1 addition, 3 deletions
modules/audio_mixer/Modules.am
modules/audio_mixer/trivial.c
+0
-71
0 additions, 71 deletions
modules/audio_mixer/trivial.c
po/POTFILES.in
+0
-1
0 additions, 1 deletion
po/POTFILES.in
with
1 addition
and
76 deletions
modules/LIST
+
0
−
1
View file @
59b36919
...
...
@@ -335,7 +335,6 @@ $Id$
* transform: filter for horizontal and vertical image flips and 90° rotations
* tremor: a vorbis audio decoder using the libvorbisidec (aka tremor) library
* trivial_channel_mixer: Simple channel mixer plugin
* trivial_mixer: Trivial audio mixer plugin
* ts: MPEG-TS demuxer
* tta: Lossless True Audio parser
* twolame: a mp1 mp2 audio encoder based on twolame
...
...
This diff is collapsed.
Click to expand it.
modules/audio_mixer/Modules.am
+
1
−
3
View file @
59b36919
SOURCES_trivial_mixer = trivial.c
SOURCES_float32_mixer = float32.c
SOURCES_fixed32_mixer = fixed32.c
libvlc_LTLIBRARIES += \
libfloat32_mixer_plugin.la \
libfixed32_mixer_plugin.la \
libtrivial_mixer_plugin.la
libfixed32_mixer_plugin.la
This diff is collapsed.
Click to expand it.
modules/audio_mixer/trivial.c
deleted
100644 → 0
+
0
−
71
View file @
7c7f4ce0
/*****************************************************************************
* trivial.c : trivial mixer plug-in (1 input, no downmixing)
*****************************************************************************
* Copyright (C) 2002 the VideoLAN team
* $Id$
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
* 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include
<vlc_common.h>
#include
<vlc_plugin.h>
#include
<vlc_aout.h>
#include
<vlc_aout_mixer.h>
/*****************************************************************************
* Local prototypes
*****************************************************************************/
static
int
Create
(
vlc_object_t
*
);
static
void
DoNothing
(
audio_mixer_t
*
,
aout_buffer_t
*
p_buffer
,
float
);
/*****************************************************************************
* Module descriptor
*****************************************************************************/
vlc_module_begin
()
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_description
(
N_
(
"Dummy audio mixer"
)
)
set_capability
(
"audio mixer"
,
1
)
set_callbacks
(
Create
,
NULL
)
vlc_module_end
()
/*****************************************************************************
* Create: allocate trivial mixer
*****************************************************************************/
static
int
Create
(
vlc_object_t
*
p_this
)
{
audio_mixer_t
*
p_mixer
=
(
audio_mixer_t
*
)
p_this
;
p_mixer
->
mix
=
DoNothing
;
return
0
;
}
static
void
DoNothing
(
audio_mixer_t
*
p_mixer
,
aout_buffer_t
*
p_buffer
,
float
multiplier
)
{
(
void
)
p_mixer
;
(
void
)
p_buffer
;
(
void
)
multiplier
;
}
This diff is collapsed.
Click to expand it.
po/POTFILES.in
+
0
−
1
View file @
59b36919
...
...
@@ -314,7 +314,6 @@ modules/audio_filter/spatializer/spatializer.cpp
modules/audio_filter/spatializer/tuning.h
modules/audio_mixer/fixed32.c
modules/audio_mixer/float32.c
modules/audio_mixer/trivial.c
modules/audio_output/adummy.c
modules/audio_output/alsa.c
modules/audio_output/amem.c
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment