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
9d85032d
Commit
9d85032d
authored
Aug 04, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move and split dummy audio output
parent
91d41ce2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
12 deletions
+20
-12
modules/LIST
modules/LIST
+1
-0
modules/audio_output/Modules.am
modules/audio_output/Modules.am
+6
-0
modules/audio_output/adummy.c
modules/audio_output/adummy.c
+12
-4
modules/misc/dummy/Modules.am
modules/misc/dummy/Modules.am
+0
-1
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.c
+0
-4
modules/misc/dummy/dummy.h
modules/misc/dummy/dummy.h
+0
-2
po/POTFILES.in
po/POTFILES.in
+1
-1
No files found.
modules/LIST
View file @
9d85032d
...
@@ -37,6 +37,7 @@ $Id$
...
@@ -37,6 +37,7 @@ $Id$
* access_vdr: VDR access module
* access_vdr: VDR access module
* adjust: Contrast/Hue/saturation/Brightness adjust module
* adjust: Contrast/Hue/saturation/Brightness adjust module
* adpcm: ADPCM audio decoder
* adpcm: ADPCM audio decoder
* adummy: dummy audio output
* aes3: aes3 decoder/packetizer
* aes3: aes3 decoder/packetizer
* aiff: AIFF demuxer
* aiff: AIFF demuxer
* alphamask: Alpha layer mask video filter
* alphamask: Alpha layer mask video filter
...
...
modules/audio_output/Modules.am
View file @
9d85032d
...
@@ -7,12 +7,18 @@ SOURCES_jack = jack.c
...
@@ -7,12 +7,18 @@ SOURCES_jack = jack.c
SOURCES_audioqueue = audioqueue.c
SOURCES_audioqueue = audioqueue.c
SOURCES_opensles_android = opensles_android.c
SOURCES_opensles_android = opensles_android.c
libadummy_plugin_la_SOURCES = adummy.c
libadummy_plugin_la_CFLAGS = $(AM_CFLAGS)
libadummy_plugin_la_LIBADD = $(AM_LIBADD)
libadummy_plugin_la_DEPENDENCIES =
libamem_plugin_la_SOURCES = amem.c
libamem_plugin_la_SOURCES = amem.c
libamem_plugin_la_CFLAGS = $(AM_CFLAGS)
libamem_plugin_la_CFLAGS = $(AM_CFLAGS)
libamem_plugin_la_LIBADD = $(AM_LIBADD)
libamem_plugin_la_LIBADD = $(AM_LIBADD)
libamem_plugin_la_DEPENDENCIES =
libamem_plugin_la_DEPENDENCIES =
libvlc_LTLIBRARIES += \
libvlc_LTLIBRARIES += \
libadummy_plugin.la \
libamem_plugin.la \
libamem_plugin.la \
libaout_file_plugin.la
libaout_file_plugin.la
...
...
modules/
misc/dummy/aout
.c
→
modules/
audio_output/adummy
.c
View file @
9d85032d
/*****************************************************************************
/*****************************************************************************
* a
out
.c : dummy audio output plugin
* a
dummy
.c : dummy audio output plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 the VideoLAN team
* Copyright (C) 2002 the VideoLAN team
* $Id$
* $Id$
...
@@ -30,10 +30,19 @@
...
@@ -30,10 +30,19 @@
#endif
#endif
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>
#include <vlc_aout.h>
#include <vlc_cpu.h>
#include <vlc_cpu.h>
#include "dummy.h"
static
int
Open
(
vlc_object_t
*
p_this
);
vlc_module_begin
()
set_shortname
(
N_
(
"Dummy"
)
)
set_description
(
N_
(
"Dummy audio output"
)
)
set_capability
(
"audio output"
,
1
)
set_callbacks
(
Open
,
NULL
)
add_shortcut
(
"dummy"
)
vlc_module_end
()
#define FRAME_SIZE 2048
#define FRAME_SIZE 2048
#define A52_FRAME_NB 1536
#define A52_FRAME_NB 1536
...
@@ -46,7 +55,7 @@ static void Play( audio_output_t *, block_t * );
...
@@ -46,7 +55,7 @@ static void Play( audio_output_t *, block_t * );
/*****************************************************************************
/*****************************************************************************
* OpenAudio: open a dummy audio device
* OpenAudio: open a dummy audio device
*****************************************************************************/
*****************************************************************************/
int
OpenAudio
(
vlc_object_t
*
p_this
)
static
int
Open
(
vlc_object_t
*
p_this
)
{
{
audio_output_t
*
p_aout
=
(
audio_output_t
*
)
p_this
;
audio_output_t
*
p_aout
=
(
audio_output_t
*
)
p_this
;
...
@@ -80,4 +89,3 @@ static void Play( audio_output_t *aout, block_t *block )
...
@@ -80,4 +89,3 @@ static void Play( audio_output_t *aout, block_t *block )
block_Release
(
block
);
block_Release
(
block
);
(
void
)
aout
;
(
void
)
aout
;
}
}
modules/misc/dummy/Modules.am
View file @
9d85032d
SOURCES_dummy = \
SOURCES_dummy = \
dummy.c \
dummy.c \
dummy.h \
dummy.h \
aout.c \
vout.c \
vout.c \
interface.c \
interface.c \
input.c \
input.c \
...
...
modules/misc/dummy/dummy.c
View file @
9d85032d
...
@@ -92,10 +92,6 @@ vlc_module_begin ()
...
@@ -92,10 +92,6 @@ vlc_module_begin ()
set_description
(
N_
(
"Dummy encoder function"
)
)
set_description
(
N_
(
"Dummy encoder function"
)
)
set_capability
(
"encoder"
,
0
)
set_capability
(
"encoder"
,
0
)
set_callbacks
(
OpenEncoder
,
CloseEncoder
)
set_callbacks
(
OpenEncoder
,
CloseEncoder
)
add_submodule
()
set_description
(
N_
(
"Dummy audio output function"
)
)
set_capability
(
"audio output"
,
1
)
set_callbacks
(
OpenAudio
,
NULL
)
add_submodule
()
add_submodule
()
set_description
(
N_
(
"Dummy video output function"
)
)
set_description
(
N_
(
"Dummy video output function"
)
)
set_section
(
N_
(
"Dummy Video output"
),
NULL
)
set_section
(
N_
(
"Dummy Video output"
),
NULL
)
...
...
modules/misc/dummy/dummy.h
View file @
9d85032d
...
@@ -36,8 +36,6 @@ void CloseDecoder ( vlc_object_t * );
...
@@ -36,8 +36,6 @@ void CloseDecoder ( vlc_object_t * );
int
OpenEncoder
(
vlc_object_t
*
);
int
OpenEncoder
(
vlc_object_t
*
);
void
CloseEncoder
(
vlc_object_t
*
);
void
CloseEncoder
(
vlc_object_t
*
);
int
OpenAudio
(
vlc_object_t
*
);
int
OpenVideo
(
vlc_object_t
*
);
int
OpenVideo
(
vlc_object_t
*
);
int
OpenVideoStat
(
vlc_object_t
*
);
int
OpenVideoStat
(
vlc_object_t
*
);
void
CloseVideo
(
vlc_object_t
*
);
void
CloseVideo
(
vlc_object_t
*
);
...
...
po/POTFILES.in
View file @
9d85032d
...
@@ -314,6 +314,7 @@ modules/audio_filter/spatializer/tuning.h
...
@@ -314,6 +314,7 @@ modules/audio_filter/spatializer/tuning.h
modules/audio_mixer/fixed32.c
modules/audio_mixer/fixed32.c
modules/audio_mixer/float32.c
modules/audio_mixer/float32.c
modules/audio_mixer/trivial.c
modules/audio_mixer/trivial.c
modules/audio_output/adummy.c
modules/audio_output/alsa.c
modules/audio_output/alsa.c
modules/audio_output/amem.c
modules/audio_output/amem.c
modules/audio_output/audioqueue.c
modules/audio_output/audioqueue.c
...
@@ -906,7 +907,6 @@ modules/meta_engine/folder.c
...
@@ -906,7 +907,6 @@ modules/meta_engine/folder.c
modules/meta_engine/taglib.cpp
modules/meta_engine/taglib.cpp
modules/misc/audioscrobbler.c
modules/misc/audioscrobbler.c
modules/misc/dhparams.h
modules/misc/dhparams.h
modules/misc/dummy/aout.c
modules/misc/dummy/decoder.c
modules/misc/dummy/decoder.c
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.h
modules/misc/dummy/dummy.h
...
...
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