mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1002340: Allow gUM fake audio timers to skip if we overrun r=bsmedberg
This commit is contained in:
parent
446c9509db
commit
36c54b60cc
@ -425,10 +425,10 @@ MediaEngineDefaultAudioSource::Start(SourceMediaStream* aStream, TrackID aID)
|
||||
#if defined(MOZ_WIDGET_GONK) && defined(DEBUG)
|
||||
// B2G emulator debug is very, very slow and has problems dealing with realtime audio inputs
|
||||
mTimer->InitWithCallback(this, MediaEngine::DEFAULT_AUDIO_TIMER_MS*10,
|
||||
nsITimer::TYPE_REPEATING_PRECISE);
|
||||
nsITimer::TYPE_REPEATING_PRECISE_CAN_SKIP);
|
||||
#else
|
||||
mTimer->InitWithCallback(this, MediaEngine::DEFAULT_AUDIO_TIMER_MS,
|
||||
nsITimer::TYPE_REPEATING_PRECISE);
|
||||
nsITimer::TYPE_REPEATING_PRECISE_CAN_SKIP);
|
||||
#endif
|
||||
mState = kStarted;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user