diff options
author | Chris Robinson <[email protected]> | 2012-01-17 16:38:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-01-17 16:38:58 -0800 |
commit | ae7b61b040059f7112ad6fb38340b8c25d3393b7 (patch) | |
tree | caaf30af822a2a3cebe3e77e7a6d1300c099ef57 /Alc/backends/portaudio.c | |
parent | 5a2a5342403ca99a4613a56f69c95ed5ce91f8b2 (diff) |
Avoid printing messages about device parameter changes in the backends
Diffstat (limited to 'Alc/backends/portaudio.c')
-rw-r--r-- | Alc/backends/portaudio.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Alc/backends/portaudio.c b/Alc/backends/portaudio.c index a24e2aaf..bb4f9d94 100644 --- a/Alc/backends/portaudio.c +++ b/Alc/backends/portaudio.c @@ -254,13 +254,7 @@ static ALCboolean pa_reset_playback(ALCdevice *device) PaError err; streamInfo = Pa_GetStreamInfo(data->stream); - if(device->Frequency != streamInfo->sampleRate) - { - if((device->Flags&DEVICE_FREQUENCY_REQUEST)) - ERR("PortAudio does not support changing sample rates (wanted %dhz, got %.1fhz)\n", device->Frequency, streamInfo->sampleRate); - device->Flags &= ~DEVICE_FREQUENCY_REQUEST; - device->Frequency = streamInfo->sampleRate; - } + device->Frequency = streamInfo->sampleRate; device->UpdateSize = data->update_size; err = Pa_StartStream(data->stream); |