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
2aa61dc5
Commit
2aa61dc5
authored
Nov 05, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename audio filter2 capability back to audio filter
parent
694b6814
Changes
28
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
33 additions
and
34 deletions
+33
-34
NEWS
NEWS
+0
-1
modules/audio_filter/channel_mixer/dolby.c
modules/audio_filter/channel_mixer/dolby.c
+1
-1
modules/audio_filter/channel_mixer/headphone.c
modules/audio_filter/channel_mixer/headphone.c
+1
-1
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/mono.c
+1
-1
modules/audio_filter/channel_mixer/simple.c
modules/audio_filter/channel_mixer/simple.c
+1
-1
modules/audio_filter/channel_mixer/trivial.c
modules/audio_filter/channel_mixer/trivial.c
+1
-1
modules/audio_filter/chorus_flanger.c
modules/audio_filter/chorus_flanger.c
+1
-1
modules/audio_filter/converter/a52tofloat32.c
modules/audio_filter/converter/a52tofloat32.c
+1
-1
modules/audio_filter/converter/a52tospdif.c
modules/audio_filter/converter/a52tospdif.c
+1
-1
modules/audio_filter/converter/dtstofloat32.c
modules/audio_filter/converter/dtstofloat32.c
+1
-1
modules/audio_filter/converter/dtstospdif.c
modules/audio_filter/converter/dtstospdif.c
+1
-1
modules/audio_filter/converter/fixed.c
modules/audio_filter/converter/fixed.c
+3
-3
modules/audio_filter/converter/float.c
modules/audio_filter/converter/float.c
+1
-1
modules/audio_filter/converter/format.c
modules/audio_filter/converter/format.c
+1
-1
modules/audio_filter/converter/mpgatofixed32.c
modules/audio_filter/converter/mpgatofixed32.c
+1
-1
modules/audio_filter/converter/neon.c
modules/audio_filter/converter/neon.c
+1
-1
modules/audio_filter/equalizer.c
modules/audio_filter/equalizer.c
+1
-1
modules/audio_filter/normvol.c
modules/audio_filter/normvol.c
+1
-1
modules/audio_filter/param_eq.c
modules/audio_filter/param_eq.c
+1
-1
modules/audio_filter/resampler/bandlimited.c
modules/audio_filter/resampler/bandlimited.c
+2
-2
modules/audio_filter/resampler/linear.c
modules/audio_filter/resampler/linear.c
+1
-1
modules/audio_filter/resampler/trivial.c
modules/audio_filter/resampler/trivial.c
+1
-1
modules/audio_filter/resampler/ugly.c
modules/audio_filter/resampler/ugly.c
+1
-1
modules/audio_filter/scaletempo.c
modules/audio_filter/scaletempo.c
+1
-1
modules/audio_filter/spatializer/spatializer.cpp
modules/audio_filter/spatializer/spatializer.cpp
+1
-1
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+3
-3
src/audio_output/filters.c
src/audio_output/filters.c
+1
-1
src/audio_output/input.c
src/audio_output/input.c
+2
-2
No files found.
NEWS
View file @
2aa61dc5
...
@@ -31,7 +31,6 @@ Audio filters:
...
@@ -31,7 +31,6 @@ Audio filters:
* 3F1R to stereo downmix filter
* 3F1R to stereo downmix filter
* Dolby mixer, parameterized equalizer, trivial mixer, scaletempo, bandlimited resampler,
* Dolby mixer, parameterized equalizer, trivial mixer, scaletempo, bandlimited resampler,
linear resampler, ugly resampler, converter_float, converter_fixed, DTS to SPDIF and
linear resampler, ugly resampler, converter_float, converter_fixed, DTS to SPDIF and
A/52 to SPDIF filters have been upgraded to the "audio filter2" API
* NEON assembly audio converter module
* NEON assembly audio converter module
Encoders:
Encoders:
...
...
modules/audio_filter/channel_mixer/dolby.c
View file @
2aa61dc5
...
@@ -50,7 +50,7 @@ vlc_module_begin ()
...
@@ -50,7 +50,7 @@ vlc_module_begin ()
set_shortname
(
N_
(
"Dolby Surround decoder"
)
)
set_shortname
(
N_
(
"Dolby Surround decoder"
)
)
set_category
(
CAT_INPUT
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
set_capability
(
"audio filter
2
"
,
5
)
set_capability
(
"audio filter"
,
5
)
set_callbacks
(
Create
,
Destroy
)
set_callbacks
(
Create
,
Destroy
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/channel_mixer/headphone.c
View file @
2aa61dc5
...
@@ -85,7 +85,7 @@ vlc_module_begin ()
...
@@ -85,7 +85,7 @@ vlc_module_begin ()
add_bool
(
"headphone-dolby"
,
false
,
NULL
,
HEADPHONE_DOLBY_TEXT
,
add_bool
(
"headphone-dolby"
,
false
,
NULL
,
HEADPHONE_DOLBY_TEXT
,
HEADPHONE_DOLBY_LONGTEXT
,
true
)
HEADPHONE_DOLBY_LONGTEXT
,
true
)
set_capability
(
"audio filter
2
"
,
0
)
set_capability
(
"audio filter"
,
0
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
add_shortcut
(
"headphone"
)
add_shortcut
(
"headphone"
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/channel_mixer/mono.c
View file @
2aa61dc5
...
@@ -106,7 +106,7 @@ static const uint32_t pi_channels_out[] =
...
@@ -106,7 +106,7 @@ static const uint32_t pi_channels_out[] =
*****************************************************************************/
*****************************************************************************/
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Audio filter for stereo to mono conversion"
)
)
set_description
(
N_
(
"Audio filter for stereo to mono conversion"
)
)
set_capability
(
"audio filter
2
"
,
2
)
set_capability
(
"audio filter"
,
2
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
...
...
modules/audio_filter/channel_mixer/simple.c
View file @
2aa61dc5
...
@@ -44,7 +44,7 @@ vlc_module_begin ()
...
@@ -44,7 +44,7 @@ vlc_module_begin ()
set_description
(
N_
(
"Audio filter for simple channel mixing"
)
)
set_description
(
N_
(
"Audio filter for simple channel mixing"
)
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_capability
(
"audio filter
2
"
,
10
)
set_capability
(
"audio filter"
,
10
)
set_callbacks
(
OpenFilter
,
NULL
)
set_callbacks
(
OpenFilter
,
NULL
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/channel_mixer/trivial.c
View file @
2aa61dc5
...
@@ -46,7 +46,7 @@ static block_t *DoWork( filter_t *, block_t * );
...
@@ -46,7 +46,7 @@ static block_t *DoWork( filter_t *, block_t * );
*****************************************************************************/
*****************************************************************************/
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Audio filter for trivial channel mixing"
)
)
set_description
(
N_
(
"Audio filter for trivial channel mixing"
)
)
set_capability
(
"audio filter
2
"
,
1
)
set_capability
(
"audio filter"
,
1
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_callbacks
(
Create
,
NULL
)
set_callbacks
(
Create
,
NULL
)
...
...
modules/audio_filter/chorus_flanger.c
View file @
2aa61dc5
...
@@ -93,7 +93,7 @@ vlc_module_begin ()
...
@@ -93,7 +93,7 @@ vlc_module_begin ()
N_
(
"Wet mix"
),
N_
(
"Level of delayed signal"
),
true
)
N_
(
"Wet mix"
),
N_
(
"Level of delayed signal"
),
true
)
add_float_with_range
(
"dry-mix"
,
0
.
4
,
-
0
.
999
,
0
.
999
,
NULL
,
add_float_with_range
(
"dry-mix"
,
0
.
4
,
-
0
.
999
,
0
.
999
,
NULL
,
N_
(
"Dry Mix"
),
N_
(
"Level of input signal"
),
true
)
N_
(
"Dry Mix"
),
N_
(
"Level of input signal"
),
true
)
set_capability
(
"audio filter
2
"
,
0
)
set_capability
(
"audio filter"
,
0
)
set_callbacks
(
Open
,
Close
)
set_callbacks
(
Open
,
Close
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/converter/a52tofloat32.c
View file @
2aa61dc5
...
@@ -97,7 +97,7 @@ vlc_module_begin ()
...
@@ -97,7 +97,7 @@ vlc_module_begin ()
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
add_bool
(
"a52-dynrng"
,
true
,
NULL
,
DYNRNG_TEXT
,
DYNRNG_LONGTEXT
,
false
)
add_bool
(
"a52-dynrng"
,
true
,
NULL
,
DYNRNG_TEXT
,
DYNRNG_LONGTEXT
,
false
)
add_bool
(
"a52-upmix"
,
false
,
NULL
,
UPMIX_TEXT
,
UPMIX_LONGTEXT
,
true
)
add_bool
(
"a52-upmix"
,
false
,
NULL
,
UPMIX_TEXT
,
UPMIX_LONGTEXT
,
true
)
set_capability
(
"audio filter
2
"
,
100
)
set_capability
(
"audio filter"
,
100
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/converter/a52tospdif.c
View file @
2aa61dc5
...
@@ -49,7 +49,7 @@ vlc_module_begin ()
...
@@ -49,7 +49,7 @@ vlc_module_begin ()
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_description
(
N_
(
"Audio filter for A/52->S/PDIF encapsulation"
)
)
set_description
(
N_
(
"Audio filter for A/52->S/PDIF encapsulation"
)
)
set_capability
(
"audio filter
2
"
,
10
)
set_capability
(
"audio filter"
,
10
)
set_callbacks
(
Create
,
NULL
)
set_callbacks
(
Create
,
NULL
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/converter/dtstofloat32.c
View file @
2aa61dc5
...
@@ -86,7 +86,7 @@ vlc_module_begin ()
...
@@ -86,7 +86,7 @@ vlc_module_begin ()
set_shortname
(
"DCA"
)
set_shortname
(
"DCA"
)
set_description
(
N_
(
"DTS Coherent Acoustics audio decoder"
)
)
set_description
(
N_
(
"DTS Coherent Acoustics audio decoder"
)
)
add_bool
(
"dts-dynrng"
,
true
,
NULL
,
DYNRNG_TEXT
,
DYNRNG_LONGTEXT
,
false
)
add_bool
(
"dts-dynrng"
,
true
,
NULL
,
DYNRNG_TEXT
,
DYNRNG_LONGTEXT
,
false
)
set_capability
(
"audio filter
2
"
,
100
)
set_capability
(
"audio filter"
,
100
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/converter/dtstospdif.c
View file @
2aa61dc5
...
@@ -63,7 +63,7 @@ vlc_module_begin ()
...
@@ -63,7 +63,7 @@ vlc_module_begin ()
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_description
(
N_
(
"Audio filter for DTS->S/PDIF encapsulation"
)
)
set_description
(
N_
(
"Audio filter for DTS->S/PDIF encapsulation"
)
)
set_capability
(
"audio filter
2
"
,
10
)
set_capability
(
"audio filter"
,
10
)
set_callbacks
(
Create
,
Close
)
set_callbacks
(
Create
,
Close
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/converter/fixed.c
View file @
2aa61dc5
...
@@ -55,13 +55,13 @@ vlc_module_begin ()
...
@@ -55,13 +55,13 @@ vlc_module_begin ()
set_description
(
N_
(
"Fixed point audio format conversions"
)
)
set_description
(
N_
(
"Fixed point audio format conversions"
)
)
add_submodule
()
add_submodule
()
set_callbacks
(
Create_F32ToS16
,
NULL
)
set_callbacks
(
Create_F32ToS16
,
NULL
)
set_capability
(
"audio filter
2
"
,
10
)
set_capability
(
"audio filter"
,
10
)
add_submodule
()
add_submodule
()
set_callbacks
(
Create_S16ToF32
,
NULL
)
set_callbacks
(
Create_S16ToF32
,
NULL
)
set_capability
(
"audio filter
2
"
,
15
)
set_capability
(
"audio filter"
,
15
)
add_submodule
()
add_submodule
()
set_callbacks
(
Create_U8ToF32
,
NULL
)
set_callbacks
(
Create_U8ToF32
,
NULL
)
set_capability
(
"audio filter
2
"
,
1
)
set_capability
(
"audio filter"
,
1
)
vlc_module_end
()
vlc_module_end
()
/*****************************************************************************
/*****************************************************************************
...
...
modules/audio_filter/converter/float.c
View file @
2aa61dc5
...
@@ -51,7 +51,7 @@ static block_t *Do_FL32ToF32 ( filter_t *, block_t * );
...
@@ -51,7 +51,7 @@ static block_t *Do_FL32ToF32 ( filter_t *, block_t * );
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Floating-point audio format conversions"
)
)
set_description
(
N_
(
"Floating-point audio format conversions"
)
)
add_submodule
()
add_submodule
()
set_capability
(
"audio filter
2
"
,
10
)
set_capability
(
"audio filter"
,
10
)
set_callbacks
(
Create_F32ToFL32
,
NULL
)
set_callbacks
(
Create_F32ToFL32
,
NULL
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/converter/format.c
View file @
2aa61dc5
...
@@ -194,7 +194,7 @@ vlc_module_begin ()
...
@@ -194,7 +194,7 @@ vlc_module_begin ()
set_description
(
N_
(
"Audio filter for PCM format conversion"
)
)
set_description
(
N_
(
"Audio filter for PCM format conversion"
)
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_capability
(
"audio filter
2
"
,
1
)
set_capability
(
"audio filter"
,
1
)
set_callbacks
(
Open
,
NULL
)
set_callbacks
(
Open
,
NULL
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/converter/mpgatofixed32.c
View file @
2aa61dc5
...
@@ -66,7 +66,7 @@ vlc_module_begin ()
...
@@ -66,7 +66,7 @@ vlc_module_begin ()
set_category
(
CAT_INPUT
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
set_description
(
N_
(
"MPEG audio decoder"
)
)
set_description
(
N_
(
"MPEG audio decoder"
)
)
set_capability
(
"audio filter
2
"
,
100
)
set_capability
(
"audio filter"
,
100
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/converter/neon.c
View file @
2aa61dc5
...
@@ -34,7 +34,7 @@ static int Open (vlc_object_t *);
...
@@ -34,7 +34,7 @@ static int Open (vlc_object_t *);
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"ARM NEON audio format conversions"
)
)
set_description
(
N_
(
"ARM NEON audio format conversions"
)
)
set_capability
(
"audio filter
2
"
,
20
)
set_capability
(
"audio filter"
,
20
)
set_callbacks
(
Open
,
NULL
)
set_callbacks
(
Open
,
NULL
)
add_requirement
(
NEON
)
add_requirement
(
NEON
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/equalizer.c
View file @
2aa61dc5
...
@@ -74,7 +74,7 @@ static void Close( vlc_object_t * );
...
@@ -74,7 +74,7 @@ static void Close( vlc_object_t * );
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Equalizer with 10 bands"
)
)
set_description
(
N_
(
"Equalizer with 10 bands"
)
)
set_shortname
(
N_
(
"Equalizer"
)
)
set_shortname
(
N_
(
"Equalizer"
)
)
set_capability
(
"audio filter
2
"
,
0
)
set_capability
(
"audio filter"
,
0
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
...
...
modules/audio_filter/normvol.c
View file @
2aa61dc5
...
@@ -89,7 +89,7 @@ vlc_module_begin ()
...
@@ -89,7 +89,7 @@ vlc_module_begin ()
true
)
true
)
add_float
(
"norm-max-level"
,
2
.
0
,
NULL
,
LEVEL_TEXT
,
add_float
(
"norm-max-level"
,
2
.
0
,
NULL
,
LEVEL_TEXT
,
LEVEL_LONGTEXT
,
true
)
LEVEL_LONGTEXT
,
true
)
set_capability
(
"audio filter
2
"
,
0
)
set_capability
(
"audio filter"
,
0
)
set_callbacks
(
Open
,
Close
)
set_callbacks
(
Open
,
Close
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/param_eq.c
View file @
2aa61dc5
...
@@ -51,7 +51,7 @@ static block_t *DoWork( filter_t *, block_t * );
...
@@ -51,7 +51,7 @@ static block_t *DoWork( filter_t *, block_t * );
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Parametric Equalizer"
)
)
set_description
(
N_
(
"Parametric Equalizer"
)
)
set_shortname
(
N_
(
"Parametric Equalizer"
)
)
set_shortname
(
N_
(
"Parametric Equalizer"
)
)
set_capability
(
"audio filter
2
"
,
0
)
set_capability
(
"audio filter"
,
0
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
...
...
modules/audio_filter/resampler/bandlimited.c
View file @
2aa61dc5
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
* Local prototypes
* Local prototypes
*****************************************************************************/
*****************************************************************************/
/* audio filter
2
*/
/* audio filter */
static
int
OpenFilter
(
vlc_object_t
*
);
static
int
OpenFilter
(
vlc_object_t
*
);
static
void
CloseFilter
(
vlc_object_t
*
);
static
void
CloseFilter
(
vlc_object_t
*
);
static
block_t
*
Resample
(
filter_t
*
,
block_t
*
);
static
block_t
*
Resample
(
filter_t
*
,
block_t
*
);
...
@@ -89,7 +89,7 @@ vlc_module_begin ()
...
@@ -89,7 +89,7 @@ vlc_module_begin ()
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_description
(
N_
(
"Audio filter for band-limited interpolation resampling"
)
)
set_description
(
N_
(
"Audio filter for band-limited interpolation resampling"
)
)
set_capability
(
"audio filter
2
"
,
20
)
set_capability
(
"audio filter"
,
20
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/resampler/linear.c
View file @
2aa61dc5
...
@@ -71,7 +71,7 @@ vlc_module_begin ()
...
@@ -71,7 +71,7 @@ vlc_module_begin ()
set_description
(
N_
(
"Audio filter for linear interpolation resampling"
)
)
set_description
(
N_
(
"Audio filter for linear interpolation resampling"
)
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_capability
(
"audio filter
2
"
,
5
)
set_capability
(
"audio filter"
,
5
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/audio_filter/resampler/trivial.c
View file @
2aa61dc5
...
@@ -46,7 +46,7 @@ static block_t *DoWork( filter_t *, block_t * );
...
@@ -46,7 +46,7 @@ static block_t *DoWork( filter_t *, block_t * );
*****************************************************************************/
*****************************************************************************/
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Audio filter for trivial resampling"
)
)
set_description
(
N_
(
"Audio filter for trivial resampling"
)
)
set_capability
(
"audio filter
2
"
,
1
)
set_capability
(
"audio filter"
,
1
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_callbacks
(
Create
,
NULL
)
set_callbacks
(
Create
,
NULL
)
...
...
modules/audio_filter/resampler/ugly.c
View file @
2aa61dc5
...
@@ -46,7 +46,7 @@ static block_t *DoWork( filter_t *, block_t * );
...
@@ -46,7 +46,7 @@ static block_t *DoWork( filter_t *, block_t * );
*****************************************************************************/
*****************************************************************************/
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Audio filter for ugly resampling"
)
)
set_description
(
N_
(
"Audio filter for ugly resampling"
)
)
set_capability
(
"audio filter
2
"
,
2
)
set_capability
(
"audio filter"
,
2
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_callbacks
(
Create
,
NULL
)
set_callbacks
(
Create
,
NULL
)
...
...
modules/audio_filter/scaletempo.c
View file @
2aa61dc5
...
@@ -46,7 +46,7 @@ static block_t *DoWork( filter_t *, block_t * );
...
@@ -46,7 +46,7 @@ static block_t *DoWork( filter_t *, block_t * );
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Audio tempo scaler synched with rate"
)
)
set_description
(
N_
(
"Audio tempo scaler synched with rate"
)
)
set_shortname
(
N_
(
"Scaletempo"
)
)
set_shortname
(
N_
(
"Scaletempo"
)
)
set_capability
(
"audio filter
2
"
,
0
)
set_capability
(
"audio filter"
,
0
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
...
...
modules/audio_filter/spatializer/spatializer.cpp
View file @
2aa61dc5
...
@@ -70,7 +70,7 @@ static void Close( vlc_object_t * );
...
@@ -70,7 +70,7 @@ static void Close( vlc_object_t * );
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"Audio Spatializer"
)
)
set_description
(
N_
(
"Audio Spatializer"
)
)
set_shortname
(
N_
(
"Spatializer"
)
)
set_shortname
(
N_
(
"Spatializer"
)
)
set_capability
(
"audio filter
2
"
,
0
)
set_capability
(
"audio filter"
,
0
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
set_subcategory
(
SUBCAT_AUDIO_AFILTER
)
...
...
modules/stream_out/transcode.c
View file @
2aa61dc5
...
@@ -215,7 +215,7 @@ vlc_module_begin ()
...
@@ -215,7 +215,7 @@ vlc_module_begin ()
ARATE_LONGTEXT
,
true
)
ARATE_LONGTEXT
,
true
)
add_bool
(
SOUT_CFG_PREFIX
"audio-sync"
,
false
,
NULL
,
ASYNC_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"audio-sync"
,
false
,
NULL
,
ASYNC_TEXT
,
ASYNC_LONGTEXT
,
false
)
ASYNC_LONGTEXT
,
false
)
add_module_list
(
SOUT_CFG_PREFIX
"afilter"
,
"audio filter
2
"
,
add_module_list
(
SOUT_CFG_PREFIX
"afilter"
,
"audio filter"
,
NULL
,
NULL
,
NULL
,
NULL
,
AFILTER_TEXT
,
AFILTER_LONGTEXT
,
false
)
AFILTER_TEXT
,
AFILTER_LONGTEXT
,
false
)
...
@@ -1239,7 +1239,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
...
@@ -1239,7 +1239,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
}
}
fmt_last
=
fmt_fl32
;
fmt_last
=
fmt_fl32
;
id
->
p_uf_chain
=
filter_chain_New
(
p_stream
,
"audio filter
2
"
,
false
,
id
->
p_uf_chain
=
filter_chain_New
(
p_stream
,
"audio filter"
,
false
,
transcode_audio_filter_allocation_init
,
NULL
,
NULL
);
transcode_audio_filter_allocation_init
,
NULL
,
NULL
);
filter_chain_Reset
(
id
->
p_uf_chain
,
&
fmt_last
,
&
fmt_fl32
);
filter_chain_Reset
(
id
->
p_uf_chain
,
&
fmt_last
,
&
fmt_fl32
);
if
(
filter_chain_AppendFromString
(
id
->
p_uf_chain
,
p_sys
->
psz_af2
)
>
0
)
if
(
filter_chain_AppendFromString
(
id
->
p_uf_chain
,
p_sys
->
psz_af2
)
>
0
)
...
@@ -1247,7 +1247,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
...
@@ -1247,7 +1247,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
}
}
/* Load conversion filters */
/* Load conversion filters */
id
->
p_f_chain
=
filter_chain_New
(
p_stream
,
"audio filter
2
"
,
true
,
id
->
p_f_chain
=
filter_chain_New
(
p_stream
,
"audio filter"
,
true
,
transcode_audio_filter_allocation_init
,
NULL
,
NULL
);
transcode_audio_filter_allocation_init
,
NULL
,
NULL
);
filter_chain_Reset
(
id
->
p_f_chain
,
&
fmt_last
,
&
id
->
p_encoder
->
fmt_in
);
filter_chain_Reset
(
id
->
p_f_chain
,
&
fmt_last
,
&
id
->
p_encoder
->
fmt_in
);
...
...
src/audio_output/filters.c
View file @
2aa61dc5
...
@@ -68,7 +68,7 @@ static filter_t * FindFilter( aout_instance_t * p_aout,
...
@@ -68,7 +68,7 @@ static filter_t * FindFilter( aout_instance_t * p_aout,
p_filter
->
fmt_out
.
i_codec
=
p_output_format
->
i_format
;
p_filter
->
fmt_out
.
i_codec
=
p_output_format
->
i_format
;
p_filter
->
pf_audio_buffer_new
=
aout_FilterBufferNew
;
p_filter
->
pf_audio_buffer_new
=
aout_FilterBufferNew
;
p_filter
->
p_module
=
module_need
(
p_filter
,
"audio filter
2
"
,
NULL
,
false
);
p_filter
->
p_module
=
module_need
(
p_filter
,
"audio filter"
,
NULL
,
false
);
if
(
p_filter
->
p_module
==
NULL
)
if
(
p_filter
->
p_module
==
NULL
)
{
{
vlc_object_detach
(
p_filter
);
vlc_object_detach
(
p_filter
);
...
...
src/audio_output/input.c
View file @
2aa61dc5
...
@@ -305,7 +305,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input, const aout_
...
@@ -305,7 +305,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input, const aout_
}
}
else
/* this can be a audio filter module as well as a visualization module */
else
/* this can be a audio filter module as well as a visualization module */
{
{
p_filter
->
p_module
=
module_need
(
p_filter
,
"audio filter
2
"
,
p_filter
->
p_module
=
module_need
(
p_filter
,
"audio filter"
,
psz_parser
,
true
);
psz_parser
,
true
);
if
(
p_filter
->
p_module
==
NULL
)
if
(
p_filter
->
p_module
==
NULL
)
...
@@ -319,7 +319,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input, const aout_
...
@@ -319,7 +319,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input, const aout_
aout_FormatPrepare
(
&
p_filter
->
fmt_in
.
audio
);
aout_FormatPrepare
(
&
p_filter
->
fmt_in
.
audio
);
aout_FormatPrepare
(
&
p_filter
->
fmt_out
.
audio
);
aout_FormatPrepare
(
&
p_filter
->
fmt_out
.
audio
);
p_filter
->
p_module
=
module_need
(
p_filter
,
p_filter
->
p_module
=
module_need
(
p_filter
,
"audio filter
2
"
,
"audio filter"
,
psz_parser
,
true
);
psz_parser
,
true
);
}
}
/* try visual filters */
/* try visual filters */
...
...
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