aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/portaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-08-13 17:13:37 -0700
committerChris Robinson <[email protected]>2009-08-13 17:13:37 -0700
commit6ae845fd9ebb45237aab4b5478689926856c48ce (patch)
treecbbe8ced1b55684fb6a599c78b6ca2172936386b /Alc/portaudio.c
parenta78fd58dcabb9c9460cc677e75f31501a369d95e (diff)
Don't let the device frequency change when PortAudio gets a new context
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r--Alc/portaudio.c3
1 files changed, 1 insertions, 2 deletions
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)