summaryrefslogtreecommitdiffstats
path: root/dom/media/GraphDriver.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-11-02 11:59:57 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-11-02 23:02:54 -0400
commit22b35fa8e923d52a3fa785993c28c3e63cd1ee1e (patch)
treecd6504982a432efda7dcd0b5208efde4c04847b1 /dom/media/GraphDriver.cpp
parentd162ecbaffe845c9707da5d2f6cab11f343ef00e (diff)
downloadUXP-22b35fa8e923d52a3fa785993c28c3e63cd1ee1e.tar
UXP-22b35fa8e923d52a3fa785993c28c3e63cd1ee1e.tar.gz
UXP-22b35fa8e923d52a3fa785993c28c3e63cd1ee1e.tar.lz
UXP-22b35fa8e923d52a3fa785993c28c3e63cd1ee1e.tar.xz
UXP-22b35fa8e923d52a3fa785993c28c3e63cd1ee1e.zip
Issue #1267 - Part 2: fix libcubeb bindings in dom
Diffstat (limited to 'dom/media/GraphDriver.cpp')
-rw-r--r--dom/media/GraphDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/GraphDriver.cpp b/dom/media/GraphDriver.cpp
index 37c692a4b..aa75918f1 100644
--- a/dom/media/GraphDriver.cpp
+++ b/dom/media/GraphDriver.cpp
@@ -656,7 +656,7 @@ AudioCallbackDriver::Init()
if (latencyPref) {
latency_frames = latencyPref.value();
} else {
- if (cubeb_get_min_latency(cubebContext, output, &latency_frames) != CUBEB_OK) {
+ if (cubeb_get_min_latency(cubebContext, &output, &latency_frames) != CUBEB_OK) {
NS_WARNING("Could not get minimal latency from cubeb.");
}
}