Bug 1477200 - Temporarily bump audio input and output latency on OSX as a stop-gap measure, on macbook pros. r?pehrsons
MozReview-Commit-ID: 3kD3ZRT2fDf
--- a/dom/media/GraphDriver.cpp
+++ b/dom/media/GraphDriver.cpp
@@ -592,17 +592,19 @@ bool IsMacbookOrMacbookAir()
char* substring = strstr(model.get(), "MacBook");
if (substring) {
const size_t offset = strlen("MacBook");
if (!strncmp(model.get() + offset, "Air", 3) ||
isdigit(model[offset + 1])) {
return true;
}
}
- return false;
+ // Bug 1477200, we're temporarily capping the latency to 512 here to help
+ // with audio quality.
+ return true;
}
#endif
return false;
}
bool
AudioCallbackDriver::Init()
{