From f3b86fe9d53f4be642b131222d560fa451064771 Mon Sep 17 00:00:00 2001 From: philburk Date: Thu, 21 Mar 2002 00:54:06 +0000 Subject: [PATCH] Initialize default device IDs. --- pa_mac_core/pa_mac_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pa_mac_core/pa_mac_core.c b/pa_mac_core/pa_mac_core.c index f384382..20eb070 100644 --- a/pa_mac_core/pa_mac_core.c +++ b/pa_mac_core/pa_mac_core.c @@ -202,7 +202,7 @@ static PaDeviceID Pa_QueryDefaultInputDevice( void ) UInt32 count; int i; AudioDeviceID tempDeviceID = kAudioDeviceUnknown; - PaDeviceID defaultDeviceID; + PaDeviceID defaultDeviceID = paNoDevice; // get the default output device for the HAL // it is required to pass the size of the data to be returned @@ -232,7 +232,7 @@ static PaDeviceID Pa_QueryDefaultOutputDevice( void ) UInt32 count; int i; AudioDeviceID tempDeviceID = kAudioDeviceUnknown; - PaDeviceID defaultDeviceID; + PaDeviceID defaultDeviceID = paNoDevice; // get the default output device for the HAL // it is required to pass the size of the data to be returned -- 2.43.0