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
ad351712
Commit
ad351712
authored
Jul 29, 2013
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New 3D OpenGL audio spectrum visualization.
parent
0117fb1d
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
570 additions
and
1 deletion
+570
-1
NEWS
NEWS
+3
-0
configure.ac
configure.ac
+10
-0
modules/LIST
modules/LIST
+1
-0
modules/visualization/Modules.am
modules/visualization/Modules.am
+2
-0
modules/visualization/glspectrum.c
modules/visualization/glspectrum.c
+545
-0
src/audio_output/filters.c
src/audio_output/filters.c
+2
-1
src/audio_output/output.c
src/audio_output/output.c
+7
-0
No files found.
NEWS
View file @
ad351712
...
...
@@ -19,6 +19,9 @@ Video Filter:
libVLC:
* add equalizer API libvlc_audio_equalizer_* functions
Visualizations:
* Add a 3D OpenGL spectrum visualization.
Removed modules:
* ios video output: use ios2
...
...
configure.ac
View file @
ad351712
...
...
@@ -3942,6 +3942,16 @@ AS_IF([test "${enable_atmo}" != no], [
])
])
dnl
dnl glSpectrum
dnl
AC_ARG_ENABLE(glspectrum,
[ --enable-glspectrum 3D OpenGL spectrum visualization (default auto)])
if test "${enable_glspectrum}" != "no" && test "${have_gl}" = "yes"
then
VLC_ADD_PLUGIN([glspectrum])
VLC_ADD_LIBS([glspectrum],[$GL_LIBS])
fi
EXTEND_HELP_STRING([Service Discovery plugins:])
dnl
...
...
modules/LIST
View file @
ad351712
...
...
@@ -141,6 +141,7 @@ $Id$
* gles1: OpenGL ES video output using the generic OpenGL provider
* gles2: OpenGL ES2 video output using the generic OpenGL provider
* globalhotkeys: module to catch hotkeys when application doesn't have the focus
* glspectrum: 3D OpenGL spectrum visualization
* glwin32: a opengl provider using DirectX OpenGL
* glx: GLX extension for OpenGL
* gme: old console games music playback using Game Music Emu
...
...
modules/visualization/Modules.am
View file @
ad351712
...
...
@@ -13,3 +13,5 @@ endif
libvlc_LTLIBRARIES += libvisual_plugin.la
SOURCES_vsxu = vsxu.cpp cyclic_buffer.h
SOURCES_glspectrum = glspectrum.c visual/fft.c visual/fft.h
modules/visualization/glspectrum.c
0 → 100644
View file @
ad351712
This diff is collapsed.
Click to expand it.
src/audio_output/filters.c
View file @
ad351712
...
...
@@ -296,7 +296,8 @@ static int VisualizationCallback (vlc_object_t *obj, const char *var,
* separate "visual" (external) and "audio-visual" (internal) variables...
* The visual plugin should have one submodule per effect instead. */
if
(
strcasecmp
(
mode
,
"none"
)
&&
strcasecmp
(
mode
,
"goom"
)
&&
strcasecmp
(
mode
,
"projectm"
)
&&
strcasecmp
(
mode
,
"vsxu"
))
&&
strcasecmp
(
mode
,
"projectm"
)
&&
strcasecmp
(
mode
,
"vsxu"
)
&&
strcasecmp
(
mode
,
"glspectrum"
))
{
var_Create
(
obj
,
"effect-list"
,
VLC_VAR_STRING
);
var_SetString
(
obj
,
"effect-list"
,
mode
);
...
...
src/audio_output/output.c
View file @
ad351712
...
...
@@ -252,6 +252,13 @@ audio_output_t *aout_New (vlc_object_t *parent)
text
.
psz_string
=
(
char
*
)
"Vovoid VSXu"
;
var_Change
(
aout
,
"visual"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
}
/* Look for glspectrum plugin */
if
(
module_exists
(
"glspectrum"
))
{
val
.
psz_string
=
(
char
*
)
"glspectrum"
;
text
.
psz_string
=
(
char
*
)
"3D spectrum"
;
var_Change
(
aout
,
"visual"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
}
str
=
var_GetNonEmptyString
(
aout
,
"effect-list"
);
if
(
str
!=
NULL
)
{
...
...
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