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
11860310
Commit
11860310
authored
Apr 24, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "audio resampler" capability to resamplers
parent
1d8de367
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
modules/audio_filter/resampler/bandlimited.c
modules/audio_filter/resampler/bandlimited.c
+4
-0
modules/audio_filter/resampler/speex.c
modules/audio_filter/resampler/speex.c
+4
-0
modules/audio_filter/resampler/src.c
modules/audio_filter/resampler/src.c
+4
-0
modules/audio_filter/resampler/ugly.c
modules/audio_filter/resampler/ugly.c
+4
-0
No files found.
modules/audio_filter/resampler/bandlimited.c
View file @
11860310
...
...
@@ -89,6 +89,10 @@ vlc_module_begin ()
set_description
(
N_
(
"Audio filter for band-limited interpolation resampling"
)
)
set_capability
(
"audio filter"
,
20
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
add_submodule
()
set_capability
(
"audio resampler"
,
20
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
vlc_module_end
()
/*****************************************************************************
...
...
modules/audio_filter/resampler/speex.c
View file @
11860310
...
...
@@ -46,6 +46,10 @@ vlc_module_begin ()
change_integer_range
(
0
,
10
)
set_capability
(
"audio filter"
,
60
)
set_callbacks
(
Open
,
Close
)
add_submodule
()
set_capability
(
"audio resampler"
,
60
)
set_callbacks
(
Open
,
Close
)
vlc_module_end
()
static
block_t
*
Resample
(
filter_t
*
,
block_t
*
);
...
...
modules/audio_filter/resampler/src.c
View file @
11860310
...
...
@@ -55,6 +55,10 @@ vlc_module_begin ()
change_integer_list
(
conv_type_values
,
conv_type_texts
)
set_capability
(
"audio filter"
,
50
)
set_callbacks
(
Open
,
Close
)
add_submodule
()
set_capability
(
"audio resampler"
,
50
)
set_callbacks
(
Open
,
Close
)
vlc_module_end
()
static
block_t
*
Resample
(
filter_t
*
,
block_t
*
);
...
...
modules/audio_filter/resampler/ugly.c
View file @
11860310
...
...
@@ -50,6 +50,10 @@ vlc_module_begin ()
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_callbacks
(
Create
,
NULL
)
add_submodule
()
set_capability
(
"audio resampler"
,
2
)
set_callbacks
(
Create
,
NULL
)
vlc_module_end
()
/*****************************************************************************
...
...
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