diff options
author | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-03 22:48:44 +0000 |
---|---|---|
committer | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-03 22:48:44 +0000 |
commit | 1ea879e5580f63414693655fcf0328559cdce138 (patch) | |
tree | 45f2e4d57a73fd269004d1a32aeb450ad4881c13 /audio/coreaudio.c | |
parent | 8b0de438d4c814fc2d7d1330a146a2e1cb8877b2 (diff) |
Make audio violate POSIX less
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/coreaudio.c')
-rw-r--r-- | audio/coreaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/coreaudio.c b/audio/coreaudio.c index 516bb3fad6..96714297e5 100644 --- a/audio/coreaudio.c +++ b/audio/coreaudio.c @@ -233,7 +233,7 @@ static OSStatus audioDeviceIOProc( HWVoiceOut *hw = hwptr; coreaudioVoiceOut *core = (coreaudioVoiceOut *) hwptr; int rpos, live; - st_sample_t *src; + struct st_sample *src; #ifndef FLOAT_MIXENG #ifdef RECIPROCAL const float scale = 1.f / UINT_MAX; @@ -289,7 +289,7 @@ static int coreaudio_write (SWVoiceOut *sw, void *buf, int len) return audio_pcm_sw_write (sw, buf, len); } -static int coreaudio_init_out (HWVoiceOut *hw, audsettings_t *as) +static int coreaudio_init_out (HWVoiceOut *hw, struct audsettings *as) { OSStatus status; coreaudioVoiceOut *core = (coreaudioVoiceOut *) hw; |