summaryrefslogtreecommitdiff
path: root/modules/audiounit
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-04-11 20:25:15 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-04-11 20:25:15 +0200
commit6efbd5192816428b9a19c60b9dbb83c770485c5a (patch)
tree1d7031e93f1d5f06ce4b1fcdfde573e51540b6c3 /modules/audiounit
parent6a36916be69246fe8061133581b3fce3510375c5 (diff)
audiounit: fix warning
Diffstat (limited to 'modules/audiounit')
-rw-r--r--modules/audiounit/recorder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/audiounit/recorder.c b/modules/audiounit/recorder.c
index 50d7d0f..8146ab9 100644
--- a/modules/audiounit/recorder.c
+++ b/modules/audiounit/recorder.c
@@ -108,8 +108,7 @@ int audiounit_recorder_alloc(struct ausrc_st **stp, const struct ausrc *as,
struct ausrc_st *st;
UInt32 enable = 1;
#if ! TARGET_OS_IPHONE
- UInt32 ausize;
- ausize = sizeof(AudioDeviceID);
+ UInt32 ausize = sizeof(AudioDeviceID);
AudioDeviceID inputDevice;
AudioObjectPropertyAddress auAddress = {
kAudioHardwarePropertyDefaultInputDevice,