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 /audio/audio_int.h
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
Diffstat (limited to 'audio/audio_int.h')
-rw-r--r--audio/audio_int.h6
1 files changed, 3 insertions, 3 deletions
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;