Add two missing functions to audio_renderer.cpp to finally make it compile!
Originally committed to SVN as r3395.
This commit is contained in:
parent
80364aaf01
commit
09e27f5df3
1 changed files with 22 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue