Feedback on gnome-devel-demos/3.14/guitar-tuner.js.page
- From: Jose Carlos Gonzalez <jocagovi gmail com>
- To: docs-feedback gnome org
- Subject: Feedback on gnome-devel-demos/3.14/guitar-tuner.js.page
- Date: Wed, 17 Dec 2014 22:16:42 -0800
Hello,
While running the sample code I ran in to the following error:
(gjs:12833): Gjs-WARNING **: JS ERROR: TypeError: Gst.ElementFactory.make is not a constructor
playSound /guitar-tuner.js:29
@./guitar-tuner.js:45
@./guitar-tuner.js:74
the offending lines
var source = new Gst.ElementFactory.make("audiotestsrc","source");
var sink = new Gst.ElementFactory.make("autoaudiosink","output");
the "new" keyword should not be used
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]