1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-11 09:29:29 +00:00

Make ao_info_t structs const.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28858 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-03-06 19:43:12 +00:00
parent 77e48c6635
commit d6bf2e318e
23 changed files with 23 additions and 23 deletions

View File

@ -57,7 +57,7 @@
#include "audio_out_internal.h"
#include "libaf/af_format.h"
static ao_info_t info =
static const ao_info_t info =
{
"ALSA-0.9.x-1.x audio output",
"alsa",

View File

@ -32,7 +32,7 @@
#include "mp_msg.h"
#include "help_mp.h"
static ao_info_t info =
static const ao_info_t info =
{
"ALSA-0.5.x audio output",
"alsa5",

View File

@ -38,7 +38,7 @@
static arts_stream_t stream;
static ao_info_t info =
static const ao_info_t info =
{
"aRts audio output",
"arts",

View File

@ -39,7 +39,7 @@
#include "libvo/fastmemcpy.h"
#include "subopt-helper.h"
static ao_info_t info = {
static const ao_info_t info = {
"DART audio output",
"dart",
"KO Myung-Hun <komh@chollian.net>",

View File

@ -42,7 +42,7 @@
#include "subopt-helper.h"
static ao_info_t info =
static const ao_info_t info =
{
"Windows DirectSound audio output",
"dsound",

View File

@ -36,7 +36,7 @@
#include "libmpdemux/mpeg_packetizer.h"
static ao_info_t info =
static const ao_info_t info =
{
"DXR2 audio output",
"dxr2",

View File

@ -67,7 +67,7 @@
#define ESD_CLIENT_NAME "MPlayer"
#define ESD_MAX_DELAY (1.0f) /* max amount of data buffered in esd (#sec) */
static ao_info_t info =
static const ao_info_t info =
{
"EsounD audio output",
"esd",

View File

@ -41,7 +41,7 @@
static int freq = 0;
static ao_info_t info =
static const ao_info_t info =
{
"IVTV MPEG Audio Decoder output",
"ivtv",

View File

@ -40,7 +40,7 @@
#include <jack/jack.h>
static ao_info_t info =
static const ao_info_t info =
{
"JACK audio output",
"jack",

View File

@ -53,7 +53,7 @@
#include "libaf/af_format.h"
#include "osdep/timer.h"
static ao_info_t info =
static const ao_info_t info =
{
"Darwin/Mac OS X native audio output",
"macosx",

View File

@ -63,7 +63,7 @@ int vo_mpegpes_fd2 = -1;
#include <errno.h>
static ao_info_t info =
static const ao_info_t info =
{
#ifdef CONFIG_DVB
"DVB audio output",

View File

@ -119,7 +119,7 @@ static const char* nas_state(unsigned int state) {
return nas_states[state];
}
static ao_info_t info =
static const ao_info_t info =
{
"NAS audio output",
"nas",

View File

@ -27,7 +27,7 @@
#include "audio_out.h"
#include "audio_out_internal.h"
static ao_info_t info =
static const ao_info_t info =
{
"Null audio output",
"null",

View File

@ -42,7 +42,7 @@
#include "osdep/timer.h"
#include "subopt-helper.h"
static ao_info_t info =
static const ao_info_t info =
{
"OpenAL audio output",
"openal",

View File

@ -48,7 +48,7 @@
#include "audio_out.h"
#include "audio_out_internal.h"
static ao_info_t info =
static const ao_info_t info =
{
"OSS/ioctl audio output",
"oss",

View File

@ -35,7 +35,7 @@
#include "help_mp.h"
static ao_info_t info =
static const ao_info_t info =
{
"RAW PCM/WAVE file writer audio output",
"pcm",

View File

@ -33,7 +33,7 @@
#define PULSE_CLIENT_NAME "MPlayer"
/** General driver info */
static ao_info_t info = {
static const ao_info_t info = {
"PulseAudio audio output",
"pulse",
"Lennart Poettering",

View File

@ -38,7 +38,7 @@
#include "libvo/fastmemcpy.h"
static ao_info_t info =
static const ao_info_t info =
{
"SDLlib audio output",
"sdl",

View File

@ -32,7 +32,7 @@
#include "help_mp.h"
#include "libaf/af_format.h"
static ao_info_t info =
static const ao_info_t info =
{
"sgi audio output",
"sgi",

View File

@ -49,7 +49,7 @@
#include "mp_msg.h"
#include "help_mp.h"
static ao_info_t info =
static const ao_info_t info =
{
"Sun audio output",
"sun",

View File

@ -38,7 +38,7 @@
static int freq = 0;
static ao_info_t info =
static const ao_info_t info =
{
"V4L2 MPEG Audio Decoder output",
"v4l2",

View File

@ -90,7 +90,7 @@ static unsigned int buf_write=0;
static volatile int buf_read=0;
static ao_info_t info =
static const ao_info_t info =
{
"Windows waveOut audio output",
"win32",

View File

@ -34,7 +34,7 @@ typedef struct ao_info_s
/* interface towards mplayer and */
typedef struct ao_functions_s
{
ao_info_t *info;
const ao_info_t *info;
int (*control)(int cmd,void *arg);
int (*init)(int rate,int channels,int format,int flags);
void (*uninit)(int immed);