Add two missing functions to audio_renderer.cpp to finally make it compile!

Originally committed to SVN as r3395.
This commit is contained in:
Niels Martin Hansen 2009-08-13 00:14:36 +00:00
parent 80364aaf01
commit 09e27f5df3
1 changed files with 22 additions and 0 deletions

View File

@ -349,3 +349,25 @@ void AudioRenderer::Render(wxDC &dc, wxPoint origin, int start, int length, bool
bitmaps_normal->Age(cache_maxsize);
}
void AudioRendererBitmapProvider::SetProvider(AudioProvider *_provider)
{
if (provider == _provider) return;
provider = _provider;
OnSetProvider();
}
void AudioRendererBitmapProvider::SetSamplesPerPixel(int _pixel_samples)
{
if (pixel_samples == _pixel_samples) return;
pixel_samples = _pixel_samples;
OnSetSamplesPerPixel();
}