mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
bug 962719 remove unnecessary OneIteration() parameters aFrom/aTo r=padenot
--HG-- extra : rebase_source : 7ad313275ef00a0306c8b3b4775f0088f07c9031
This commit is contained in:
parent
c2379131a8
commit
c5e3e52551
@ -301,9 +301,7 @@ ThreadedDriver::RunThread()
|
||||
|
||||
mGraphImpl->mFlushSourcesNow = mGraphImpl->mFlushSourcesOnNextIteration;
|
||||
mGraphImpl->mFlushSourcesOnNextIteration = false;
|
||||
stillProcessing = mGraphImpl->OneIteration(mIterationStart,
|
||||
mIterationEnd,
|
||||
nextStateComputedTime);
|
||||
stillProcessing = mGraphImpl->OneIteration(nextStateComputedTime);
|
||||
|
||||
if (mNextDriver && stillProcessing) {
|
||||
STREAM_LOG(LogLevel::Debug, ("Switching to AudioCallbackDriver"));
|
||||
@ -846,9 +844,7 @@ AudioCallbackDriver::DataCallback(AudioDataValue* aBuffer, long aFrames)
|
||||
mIterationEnd = stateComputedTime;
|
||||
}
|
||||
|
||||
stillProcessing = mGraphImpl->OneIteration(mIterationStart,
|
||||
mIterationEnd,
|
||||
nextStateComputedTime);
|
||||
stillProcessing = mGraphImpl->OneIteration(nextStateComputedTime);
|
||||
} else {
|
||||
NS_WARNING("DataCallback buffer filled entirely from scratch buffer, skipping iteration.");
|
||||
stillProcessing = true;
|
||||
|
@ -1470,8 +1470,7 @@ MediaStreamGraphImpl::Process(GraphTime aFrom, GraphTime aTo)
|
||||
}
|
||||
|
||||
bool
|
||||
MediaStreamGraphImpl::OneIteration(GraphTime aFrom, GraphTime aTo,
|
||||
GraphTime aStateEnd)
|
||||
MediaStreamGraphImpl::OneIteration(GraphTime aStateEnd)
|
||||
{
|
||||
{
|
||||
MonitorAutoLock lock(mMemoryReportMonitor);
|
||||
|
@ -173,8 +173,7 @@ public:
|
||||
*/
|
||||
void DoIteration();
|
||||
|
||||
bool OneIteration(GraphTime aFrom, GraphTime aTo,
|
||||
GraphTime aStateEnd);
|
||||
bool OneIteration(GraphTime aStateEnd);
|
||||
|
||||
bool Running() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user