bug 1230406 remove invalid assertion of equality between float and int32_t r=padenot

This commit is contained in:
Karl Tomlinson 2016-01-06 20:05:41 +13:00
parent 8ed0558f76
commit f5aac8c79a

View File

@ -74,7 +74,6 @@ AudioNodeStream::Create(AudioContext* aCtx, AudioNodeEngine* aEngine,
// MediaRecorders use an AudioNodeStream, but no AudioNode
AudioNode* node = aEngine->NodeMainThread();
MediaStreamGraph* graph = aGraph ? aGraph : aCtx->Graph();
MOZ_ASSERT(graph->GraphRate() == aCtx->SampleRate());
RefPtr<AudioNodeStream> stream =
new AudioNodeStream(aEngine, aFlags, graph->GraphRate());