Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
8d26c193
Commit
8d26c193
authored
Mar 27, 2015
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avdevice: Apply a more consistent file naming scheme
parent
c201069f
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
27 additions
and
29 deletions
+27
-29
Makefile
libavdevice/Makefile
+9
-11
alsa.c
libavdevice/alsa.c
+1
-1
alsa.h
libavdevice/alsa.h
+3
-3
alsa_dec.c
libavdevice/alsa_dec.c
+1
-1
alsa_enc.c
libavdevice/alsa_enc.c
+1
-1
jack.c
libavdevice/jack.c
+0
-0
oss.c
libavdevice/oss.c
+1
-1
oss.h
libavdevice/oss.h
+3
-3
oss_dec.c
libavdevice/oss_dec.c
+1
-1
oss_enc.c
libavdevice/oss_enc.c
+1
-1
sndio.c
libavdevice/sndio.c
+1
-1
sndio.h
libavdevice/sndio.h
+3
-3
sndio_dec.c
libavdevice/sndio_dec.c
+1
-1
sndio_enc.c
libavdevice/sndio_enc.c
+1
-1
No files found.
libavdevice/Makefile
View file @
8d26c193
...
...
@@ -7,19 +7,17 @@ OBJS = alldevices.o \
avdevice.o
\
# input/output devices
OBJS-$(CONFIG_ALSA_INDEV)
+=
alsa-audio-common.o
\
alsa-audio-dec.o
OBJS-$(CONFIG_ALSA_OUTDEV)
+=
alsa-audio-common.o
\
alsa-audio-enc.o
OBJS-$(CONFIG_ALSA_INDEV)
+=
alsa_dec.o
alsa.o
OBJS-$(CONFIG_ALSA_OUTDEV)
+=
alsa_enc.o
alsa.o
OBJS-$(CONFIG_BKTR_INDEV)
+=
bktr.o
OBJS-$(CONFIG_DV1394_INDEV)
+=
dv1394.o
OBJS-$(CONFIG_FBDEV_INDEV)
+=
fbdev.o
OBJS-$(CONFIG_JACK_INDEV)
+=
jack
_audio
.o
timefilter.o
OBJS-$(CONFIG_OSS_INDEV)
+=
oss_
audio.o
oss_audio_dec
.o
OBJS-$(CONFIG_OSS_OUTDEV)
+=
oss_
audio.o
oss_audio_enc
.o
OBJS-$(CONFIG_JACK_INDEV)
+=
jack.o
timefilter.o
OBJS-$(CONFIG_OSS_INDEV)
+=
oss_
dec.o
oss
.o
OBJS-$(CONFIG_OSS_OUTDEV)
+=
oss_
enc.o
oss
.o
OBJS-$(CONFIG_PULSE_INDEV)
+=
pulse.o
OBJS-$(CONFIG_SNDIO_INDEV)
+=
sndio_
common.o
sndio_dec
.o
OBJS-$(CONFIG_SNDIO_OUTDEV)
+=
sndio_
common.o
sndio_enc
.o
OBJS-$(CONFIG_SNDIO_INDEV)
+=
sndio_
dec.o
sndio
.o
OBJS-$(CONFIG_SNDIO_OUTDEV)
+=
sndio_
enc.o
sndio
.o
OBJS-$(CONFIG_V4L2_INDEV)
+=
v4l2.o
OBJS-$(CONFIG_VFWCAP_INDEV)
+=
vfwcap.o
OBJS-$(CONFIG_X11GRAB_INDEV)
+=
x11grab.o
...
...
@@ -31,7 +29,7 @@ OBJS-$(CONFIG_LIBDC1394_INDEV) += libdc1394.o
OBJS-$(HAVE_LIBC_MSVCRT)
+=
file_open.o
SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)
+=
alsa
-audio
.h
SKIPHEADERS-$(HAVE_SNDIO_H)
+=
sndio
_common
.h
SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)
+=
alsa.h
SKIPHEADERS-$(HAVE_SNDIO_H)
+=
sndio.h
TESTPROGS
=
timefilter
libavdevice/alsa
-audio-common
.c
→
libavdevice/alsa.c
View file @
8d26c193
...
...
@@ -33,7 +33,7 @@
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "alsa
-audio
.h"
#include "alsa.h"
static
av_cold
snd_pcm_format_t
codec_id_to_pcm_format
(
int
codec_id
)
{
...
...
libavdevice/alsa
-audio
.h
→
libavdevice/alsa.h
View file @
8d26c193
...
...
@@ -27,8 +27,8 @@
* @author Benoit Fouet ( benoit fouet free fr )
*/
#ifndef AVDEVICE_ALSA_
AUDIO_
H
#define AVDEVICE_ALSA_
AUDIO_
H
#ifndef AVDEVICE_ALSA_H
#define AVDEVICE_ALSA_H
#include <alsa/asoundlib.h>
#include "config.h"
...
...
@@ -93,4 +93,4 @@ int ff_alsa_xrun_recover(AVFormatContext *s1, int err);
int
ff_alsa_extend_reorder_buf
(
AlsaData
*
s
,
int
size
);
#endif
/* AVDEVICE_ALSA_
AUDIO_
H */
#endif
/* AVDEVICE_ALSA_H */
libavdevice/alsa
-audio-
dec.c
→
libavdevice/alsa
_
dec.c
View file @
8d26c193
...
...
@@ -53,7 +53,7 @@
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "alsa
-audio
.h"
#include "alsa.h"
static
av_cold
int
audio_read_header
(
AVFormatContext
*
s1
)
{
...
...
libavdevice/alsa
-audio-
enc.c
→
libavdevice/alsa
_
enc.c
View file @
8d26c193
...
...
@@ -43,7 +43,7 @@
#include "libavformat/avformat.h"
#include "alsa
-audio
.h"
#include "alsa.h"
static
av_cold
int
audio_write_header
(
AVFormatContext
*
s1
)
{
...
...
libavdevice/jack
_audio
.c
→
libavdevice/jack.c
View file @
8d26c193
File moved
libavdevice/oss
_audio
.c
→
libavdevice/oss.c
View file @
8d26c193
...
...
@@ -39,7 +39,7 @@
#include "libavformat/avformat.h"
#include "oss
_audio
.h"
#include "oss.h"
int
ff_oss_audio_open
(
AVFormatContext
*
s1
,
int
is_output
,
const
char
*
audio_device
)
...
...
libavdevice/oss
_audio
.h
→
libavdevice/oss.h
View file @
8d26c193
...
...
@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVDEVICE_OSS_
AUDIO_
H
#define AVDEVICE_OSS_
AUDIO_
H
#ifndef AVDEVICE_OSS_H
#define AVDEVICE_OSS_H
#include "libavcodec/avcodec.h"
...
...
@@ -42,4 +42,4 @@ int ff_oss_audio_open(AVFormatContext *s1, int is_output,
int
ff_oss_audio_close
(
OSSAudioData
*
s
);
#endif
/* AVDEVICE_OSS_
AUDIO_
H */
#endif
/* AVDEVICE_OSS_H */
libavdevice/oss_
audio_
dec.c
→
libavdevice/oss_dec.c
View file @
8d26c193
...
...
@@ -42,7 +42,7 @@
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "oss
_audio
.h"
#include "oss.h"
static
int
audio_read_header
(
AVFormatContext
*
s1
)
{
...
...
libavdevice/oss_
audio_
enc.c
→
libavdevice/oss_enc.c
View file @
8d26c193
...
...
@@ -38,7 +38,7 @@
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "oss
_audio
.h"
#include "oss.h"
static
int
audio_write_header
(
AVFormatContext
*
s1
)
{
...
...
libavdevice/sndio
_common
.c
→
libavdevice/sndio.c
View file @
8d26c193
...
...
@@ -24,7 +24,7 @@
#include "libavformat/avformat.h"
#include "
sndio_common
.h"
#include "
libavdevice/sndio
.h"
static
inline
void
movecb
(
void
*
addr
,
int
delta
)
{
...
...
libavdevice/sndio
_common
.h
→
libavdevice/sndio.h
View file @
8d26c193
...
...
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVDEVICE_SNDIO_
COMMON_
H
#define AVDEVICE_SNDIO_
COMMON_
H
#ifndef AVDEVICE_SNDIO_H
#define AVDEVICE_SNDIO_H
#include <stdint.h>
#include <sndio.h>
...
...
@@ -45,4 +45,4 @@ typedef struct SndioData {
int
ff_sndio_open
(
AVFormatContext
*
s1
,
int
is_output
,
const
char
*
audio_device
);
int
ff_sndio_close
(
SndioData
*
s
);
#endif
/* AVDEVICE_SNDIO_
COMMON_
H */
#endif
/* AVDEVICE_SNDIO_H */
libavdevice/sndio_dec.c
View file @
8d26c193
...
...
@@ -29,7 +29,7 @@
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "
sndio_common
.h"
#include "
libavdevice/sndio
.h"
static
av_cold
int
audio_read_header
(
AVFormatContext
*
s1
)
{
...
...
libavdevice/sndio_enc.c
View file @
8d26c193
...
...
@@ -26,7 +26,7 @@
#include "libavformat/avformat.h"
#include "
sndio_common
.h"
#include "
libavdevice/sndio
.h"
static
av_cold
int
audio_write_header
(
AVFormatContext
*
s1
)
{
...
...
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