From 6ae845fd9ebb45237aab4b5478689926856c48ce Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 13 Aug 2009 17:13:37 -0700 Subject: Don't let the device frequency change when PortAudio gets a new context --- Alc/portaudio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Alc/portaudio.c') diff --git a/Alc/portaudio.c b/Alc/portaudio.c index ccc8647c..0b84d0b1 100644 --- a/Alc/portaudio.c +++ b/Alc/portaudio.c @@ -163,9 +163,8 @@ static void pa_close_playback(ALCdevice *device) static ALCboolean pa_start_context(ALCdevice *device, ALCcontext *context) { + device->Frequency = context->Frequency; return ALC_TRUE; - (void)device; - (void)context; } static void pa_stop_context(ALCdevice *device, ALCcontext *context) -- cgit v1.2.3