Fix crash when opening non-cached audio

This commit is contained in:
Thomas Goyne 2013-06-12 14:13:35 -07:00
parent 3306ee126d
commit 0acec9c874

View file

@ -20,8 +20,8 @@
#include "audio_provider_lock.h" #include "audio_provider_lock.h"
LockAudioProvider::LockAudioProvider(std::unique_ptr<AudioProvider>&& source) LockAudioProvider::LockAudioProvider(std::unique_ptr<AudioProvider>&& src)
: source(std::move(source)) : source(std::move(src))
{ {
channels = source->GetChannels(); channels = source->GetChannels();
num_samples = source->GetNumSamples(); num_samples = source->GetNumSamples();