зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1345517 - Add new AudioNodes to the Web Audio devtools. r=jsantell
MozReview-Commit-ID: KmTShPEXkBe --HG-- extra : rebase_source : 08c4558bf5bb9b2ed101b08459e6ac0ff0a5de37
This commit is contained in:
Родитель
901fb0e12f
Коммит
7cb8574d6c
|
@ -109,5 +109,13 @@
|
|||
"properties": {
|
||||
"pan": { "param": true }
|
||||
}
|
||||
},
|
||||
"ConstantSourceNode": {
|
||||
"source": true,
|
||||
"properties": {
|
||||
"offset": { "param": true }
|
||||
}
|
||||
},
|
||||
"IIRFilterNode": {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,9 +14,10 @@ const {
|
|||
exports.NODE_CREATION_METHODS = [
|
||||
"createBufferSource", "createMediaElementSource", "createMediaStreamSource",
|
||||
"createMediaStreamDestination", "createScriptProcessor", "createAnalyser",
|
||||
"createGain", "createDelay", "createBiquadFilter", "createWaveShaper",
|
||||
"createPanner", "createConvolver", "createChannelSplitter", "createChannelMerger",
|
||||
"createDynamicsCompressor", "createOscillator", "createStereoPanner"
|
||||
"createGain", "createDelay", "createBiquadFilter", "createIIRFilter",
|
||||
"createWaveShaper", "createPanner", "createConvolver", "createChannelSplitter",
|
||||
"createChannelMerger", "createDynamicsCompressor", "createOscillator",
|
||||
"createStereoPanner", "createConstantSource"
|
||||
];
|
||||
|
||||
exports.AUTOMATION_METHODS = [
|
||||
|
|
|
@ -54,6 +54,7 @@ void CubebLogCallback(const char* aFmt, ...)
|
|||
va_list arglist;
|
||||
va_start(arglist, aFmt);
|
||||
VsprintfLiteral (buffer, aFmt, arglist);
|
||||
printf("%s\n", buffer);
|
||||
MOZ_LOG(gCubebLog, LogLevel::Error, ("%s", buffer));
|
||||
va_end(arglist);
|
||||
}
|
||||
|
@ -333,8 +334,10 @@ cubeb* GetCubebContextUnlocked()
|
|||
sCubebState = (rv == CUBEB_OK) ? CubebState::Initialized : CubebState::Uninitialized;
|
||||
|
||||
if (MOZ_LOG_TEST(gCubebLog, LogLevel::Verbose)) {
|
||||
printf("Setting callback, verbose\n");
|
||||
cubeb_set_log_callback(CUBEB_LOG_VERBOSE, CubebLogCallback);
|
||||
} else if (MOZ_LOG_TEST(gCubebLog, LogLevel::Error)) {
|
||||
printf("Setting callback, error\n");
|
||||
cubeb_set_log_callback(CUBEB_LOG_NORMAL, CubebLogCallback);
|
||||
}
|
||||
|
||||
|
|
|
@ -282,6 +282,8 @@ public:
|
|||
detail::LogFile* newFile = OpenFile(false, 0);
|
||||
detail::LogFile* oldFile = mOutFile.exchange(newFile);
|
||||
|
||||
printf("old: %p, new %p\n", newFile, oldFile);
|
||||
|
||||
// Since we don't allow changing the logfile if MOZ_LOG_FILE is already set,
|
||||
// and we don't allow log rotation when setting it at runtime, mToReleaseFile
|
||||
// will be null, so we're not leaking.
|
||||
|
|
Загрузка…
Ссылка в новой задаче