[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5422] Make audio_pcm_opsstatic const
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [5422] Make audio_pcm_opsstatic const |
Date: |
Sun, 05 Oct 2008 10:01:06 +0000 |
Revision: 5422
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5422
Author: blueswir1
Date: 2008-10-05 10:01:05 +0000 (Sun, 05 Oct 2008)
Log Message:
-----------
Make audio_pcm_opsstatic const
Modified Paths:
--------------
trunk/audio/alsaaudio.c
trunk/audio/audio_int.h
trunk/audio/coreaudio.c
trunk/audio/dsoundaudio.c
trunk/audio/esdaudio.c
trunk/audio/fmodaudio.c
trunk/audio/noaudio.c
trunk/audio/ossaudio.c
trunk/audio/paaudio.c
trunk/audio/sdlaudio.c
trunk/audio/wavaudio.c
Modified: trunk/audio/alsaaudio.c
===================================================================
--- trunk/audio/alsaaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/alsaaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -917,7 +917,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-static struct audio_pcm_ops alsa_pcm_ops = {
+static const struct audio_pcm_ops alsa_pcm_ops = {
alsa_init_out,
alsa_fini_out,
alsa_run_out,
Modified: trunk/audio/audio_int.h
===================================================================
--- trunk/audio/audio_int.h 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/audio_int.h 2008-10-05 10:01:05 UTC (rev 5422)
@@ -81,7 +81,7 @@
int samples;
LIST_HEAD (sw_out_listhead, SWVoiceOut) sw_head;
LIST_HEAD (sw_cap_listhead, SWVoiceCap) cap_head;
- struct audio_pcm_ops *pcm_ops;
+ const struct audio_pcm_ops *pcm_ops;
LIST_ENTRY (HWVoiceOut) entries;
} HWVoiceOut;
@@ -99,7 +99,7 @@
int samples;
LIST_HEAD (sw_in_listhead, SWVoiceIn) sw_head;
- struct audio_pcm_ops *pcm_ops;
+ const struct audio_pcm_ops *pcm_ops;
LIST_ENTRY (HWVoiceIn) entries;
} HWVoiceIn;
@@ -140,7 +140,7 @@
struct audio_option *options;
void *(*init) (void);
void (*fini) (void *);
- struct audio_pcm_ops *pcm_ops;
+ const struct audio_pcm_ops *pcm_ops;
int can_be_default;
int max_voices_out;
int max_voices_in;
Modified: trunk/audio/coreaudio.c
===================================================================
--- trunk/audio/coreaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/coreaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -520,7 +520,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-static struct audio_pcm_ops coreaudio_pcm_ops = {
+static const struct audio_pcm_ops coreaudio_pcm_ops = {
coreaudio_init_out,
coreaudio_fini_out,
coreaudio_run_out,
Modified: trunk/audio/dsoundaudio.c
===================================================================
--- trunk/audio/dsoundaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/dsoundaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -1057,7 +1057,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-static struct audio_pcm_ops dsound_pcm_ops = {
+static const struct audio_pcm_ops dsound_pcm_ops = {
dsound_init_out,
dsound_fini_out,
dsound_run_out,
Modified: trunk/audio/esdaudio.c
===================================================================
--- trunk/audio/esdaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/esdaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -566,7 +566,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-struct audio_pcm_ops qesd_pcm_ops = {
+static const struct audio_pcm_ops qesd_pcm_ops = {
qesd_init_out,
qesd_fini_out,
qesd_run_out,
Modified: trunk/audio/fmodaudio.c
===================================================================
--- trunk/audio/fmodaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/fmodaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -657,7 +657,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-static struct audio_pcm_ops fmod_pcm_ops = {
+static const struct audio_pcm_ops fmod_pcm_ops = {
fmod_init_out,
fmod_fini_out,
fmod_run_out,
Modified: trunk/audio/noaudio.c
===================================================================
--- trunk/audio/noaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/noaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -145,7 +145,7 @@
(void) opaque;
}
-static struct audio_pcm_ops no_pcm_ops = {
+static const struct audio_pcm_ops no_pcm_ops = {
no_init_out,
no_fini_out,
no_run_out,
Modified: trunk/audio/ossaudio.c
===================================================================
--- trunk/audio/ossaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/ossaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -751,7 +751,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-static struct audio_pcm_ops oss_pcm_ops = {
+static const struct audio_pcm_ops oss_pcm_ops = {
oss_init_out,
oss_fini_out,
oss_run_out,
Modified: trunk/audio/paaudio.c
===================================================================
--- trunk/audio/paaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/paaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -487,7 +487,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-struct audio_pcm_ops qpa_pcm_ops = {
+static const struct audio_pcm_ops qpa_pcm_ops = {
qpa_init_out,
qpa_fini_out,
qpa_run_out,
Modified: trunk/audio/sdlaudio.c
===================================================================
--- trunk/audio/sdlaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/sdlaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -423,7 +423,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-static struct audio_pcm_ops sdl_pcm_ops = {
+static const struct audio_pcm_ops sdl_pcm_ops = {
sdl_init_out,
sdl_fini_out,
sdl_run_out,
Modified: trunk/audio/wavaudio.c
===================================================================
--- trunk/audio/wavaudio.c 2008-10-05 09:59:14 UTC (rev 5421)
+++ trunk/audio/wavaudio.c 2008-10-05 10:01:05 UTC (rev 5422)
@@ -218,7 +218,7 @@
ldebug ("wav_fini");
}
-struct audio_option wav_options[] = {
+static struct audio_option wav_options[] = {
{"FREQUENCY", AUD_OPT_INT, &conf.settings.freq,
"Frequency", NULL, 0},
@@ -233,7 +233,7 @@
{NULL, 0, NULL, NULL, NULL, 0}
};
-struct audio_pcm_ops wav_pcm_ops = {
+static const struct audio_pcm_ops wav_pcm_ops = {
wav_init_out,
wav_fini_out,
wav_run_out,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5422] Make audio_pcm_opsstatic const,
Blue Swirl <=