aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-06 18:08:30 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-06 18:08:30 +0000
commit35f4b58c7a6e0a9708405cf96d505f1729b30c82 (patch)
tree0962428d8fcca48973e3aecbf7cd6809920f2a1f
parentIntroduce v3 of savevm protocol (diff)
downloadqemu-kvm-35f4b58c7a6e0a9708405cf96d505f1729b30c82.tar.gz
qemu-kvm-35f4b58c7a6e0a9708405cf96d505f1729b30c82.tar.bz2
qemu-kvm-35f4b58c7a6e0a9708405cf96d505f1729b30c82.zip
Prepare for changing audio_pcm_ops dynamically (partially revert r5422)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5435 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--audio/alsaaudio.c2
-rw-r--r--audio/audio_int.h6
-rw-r--r--audio/coreaudio.c2
-rw-r--r--audio/dsoundaudio.c2
-rw-r--r--audio/esdaudio.c2
-rw-r--r--audio/fmodaudio.c2
-rw-r--r--audio/noaudio.c2
-rw-r--r--audio/ossaudio.c2
-rw-r--r--audio/paaudio.c2
-rw-r--r--audio/sdlaudio.c2
-rw-r--r--audio/wavaudio.c2
11 files changed, 13 insertions, 13 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index e8322e584..a79cc403c 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -917,7 +917,7 @@ static struct audio_option alsa_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops alsa_pcm_ops = {
+static struct audio_pcm_ops alsa_pcm_ops = {
alsa_init_out,
alsa_fini_out,
alsa_run_out,
diff --git a/audio/audio_int.h b/audio/audio_int.h
index d197499e1..d4cefb34a 100644
--- a/audio/audio_int.h
+++ b/audio/audio_int.h
@@ -81,7 +81,7 @@ typedef struct HWVoiceOut {
int samples;
LIST_HEAD (sw_out_listhead, SWVoiceOut) sw_head;
LIST_HEAD (sw_cap_listhead, SWVoiceCap) cap_head;
- const struct audio_pcm_ops *pcm_ops;
+ struct audio_pcm_ops *pcm_ops;
LIST_ENTRY (HWVoiceOut) entries;
} HWVoiceOut;
@@ -99,7 +99,7 @@ typedef struct HWVoiceIn {
int samples;
LIST_HEAD (sw_in_listhead, SWVoiceIn) sw_head;
- const struct audio_pcm_ops *pcm_ops;
+ struct audio_pcm_ops *pcm_ops;
LIST_ENTRY (HWVoiceIn) entries;
} HWVoiceIn;
@@ -140,7 +140,7 @@ struct audio_driver {
struct audio_option *options;
void *(*init) (void);
void (*fini) (void *);
- const struct audio_pcm_ops *pcm_ops;
+ struct audio_pcm_ops *pcm_ops;
int can_be_default;
int max_voices_out;
int max_voices_in;
diff --git a/audio/coreaudio.c b/audio/coreaudio.c
index 72fcc66f0..516bb3fad 100644
--- a/audio/coreaudio.c
+++ b/audio/coreaudio.c
@@ -520,7 +520,7 @@ static struct audio_option coreaudio_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops coreaudio_pcm_ops = {
+static struct audio_pcm_ops coreaudio_pcm_ops = {
coreaudio_init_out,
coreaudio_fini_out,
coreaudio_run_out,
diff --git a/audio/dsoundaudio.c b/audio/dsoundaudio.c
index c8762d050..cba8c8003 100644
--- a/audio/dsoundaudio.c
+++ b/audio/dsoundaudio.c
@@ -1057,7 +1057,7 @@ static struct audio_option dsound_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops dsound_pcm_ops = {
+static struct audio_pcm_ops dsound_pcm_ops = {
dsound_init_out,
dsound_fini_out,
dsound_run_out,
diff --git a/audio/esdaudio.c b/audio/esdaudio.c
index 6339ddadb..f5dc1be1d 100644
--- a/audio/esdaudio.c
+++ b/audio/esdaudio.c
@@ -566,7 +566,7 @@ struct audio_option qesd_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops qesd_pcm_ops = {
+static struct audio_pcm_ops qesd_pcm_ops = {
qesd_init_out,
qesd_fini_out,
qesd_run_out,
diff --git a/audio/fmodaudio.c b/audio/fmodaudio.c
index 962a25f2d..04f4e40b3 100644
--- a/audio/fmodaudio.c
+++ b/audio/fmodaudio.c
@@ -657,7 +657,7 @@ static struct audio_option fmod_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops fmod_pcm_ops = {
+static struct audio_pcm_ops fmod_pcm_ops = {
fmod_init_out,
fmod_fini_out,
fmod_run_out,
diff --git a/audio/noaudio.c b/audio/noaudio.c
index c907aad94..64695e6af 100644
--- a/audio/noaudio.c
+++ b/audio/noaudio.c
@@ -145,7 +145,7 @@ static void no_audio_fini (void *opaque)
(void) opaque;
}
-static const struct audio_pcm_ops no_pcm_ops = {
+static struct audio_pcm_ops no_pcm_ops = {
no_init_out,
no_fini_out,
no_run_out,
diff --git a/audio/ossaudio.c b/audio/ossaudio.c
index a821ccb5f..613e189db 100644
--- a/audio/ossaudio.c
+++ b/audio/ossaudio.c
@@ -751,7 +751,7 @@ static struct audio_option oss_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops oss_pcm_ops = {
+static struct audio_pcm_ops oss_pcm_ops = {
oss_init_out,
oss_fini_out,
oss_run_out,
diff --git a/audio/paaudio.c b/audio/paaudio.c
index be9ebaec3..8190cde92 100644
--- a/audio/paaudio.c
+++ b/audio/paaudio.c
@@ -487,7 +487,7 @@ struct audio_option qpa_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops qpa_pcm_ops = {
+static struct audio_pcm_ops qpa_pcm_ops = {
qpa_init_out,
qpa_fini_out,
qpa_run_out,
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c
index 5df173616..b6cfad18f 100644
--- a/audio/sdlaudio.c
+++ b/audio/sdlaudio.c
@@ -423,7 +423,7 @@ static struct audio_option sdl_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops sdl_pcm_ops = {
+static struct audio_pcm_ops sdl_pcm_ops = {
sdl_init_out,
sdl_fini_out,
sdl_run_out,
diff --git a/audio/wavaudio.c b/audio/wavaudio.c
index 85575bd37..b7a36f2c7 100644
--- a/audio/wavaudio.c
+++ b/audio/wavaudio.c
@@ -233,7 +233,7 @@ static struct audio_option wav_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-static const struct audio_pcm_ops wav_pcm_ops = {
+static struct audio_pcm_ops wav_pcm_ops = {
wav_init_out,
wav_fini_out,
wav_run_out,