spectrum = gst_element_factory_make ("spectrum", "spectrum");
g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80,
- "message", TRUE, "interval", 500 * GST_MSECOND, NULL);
+ "post-messages", TRUE, "interval", 500 * GST_MSECOND, NULL);
audioconvert = gst_element_factory_make ("audioconvert", "audioconvert");
spectrum = gst_element_factory_make ("spectrum", "spectrum");
g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80,
- "message", TRUE, NULL);
+ "post-messages", TRUE, NULL);
audioconvert = gst_element_factory_make ("audioconvert", "audioconvert");
spectrum = gst_element_factory_make ("spectrum", "spectrum");
g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80,
- "message", TRUE, NULL);
+ "post-messages", TRUE, NULL);
sink = gst_element_factory_make ("fakesink", "sink");