diff options
author | Chris Robinson <[email protected]> | 2009-08-13 17:13:37 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-08-13 17:13:37 -0700 |
commit | 6ae845fd9ebb45237aab4b5478689926856c48ce (patch) | |
tree | cbbe8ced1b55684fb6a599c78b6ca2172936386b /Alc/portaudio.c | |
parent | a78fd58dcabb9c9460cc677e75f31501a369d95e (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.c | 3 |
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) |