diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-05 10:01:05 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-05 10:01:05 +0000 |
commit | 8869defe624e939a35309deee24f82cf2283d3e8 (patch) | |
tree | 731ec79e469eb76896ef168c2fd71193d9e10e64 /audio/audio_int.h | |
parent | d4a9eb1fc6fff9346963ef67629d1b232f01789c (diff) | |
download | qemu-8869defe624e939a35309deee24f82cf2283d3e8.zip qemu-8869defe624e939a35309deee24f82cf2283d3e8.tar.gz qemu-8869defe624e939a35309deee24f82cf2283d3e8.tar.bz2 |
Make audio_pcm_opsstatic const
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5422 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/audio_int.h')
-rw-r--r-- | audio/audio_int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/audio_int.h b/audio/audio_int.h index d4cefb3..d197499 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; - struct audio_pcm_ops *pcm_ops; + const 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; - struct audio_pcm_ops *pcm_ops; + const 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 *); - 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; |