Fix parameter name mispatches
This commit is contained in:
@@ -65,7 +65,7 @@ static void gst_fastspectrum_set_property (GObject * object, guint prop_id, cons
|
||||
static void gst_fastspectrum_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec);
|
||||
static gboolean gst_fastspectrum_start (GstBaseTransform * trans);
|
||||
static gboolean gst_fastspectrum_stop (GstBaseTransform * trans);
|
||||
static GstFlowReturn gst_fastspectrum_transform_ip (GstBaseTransform * trans, GstBuffer * in);
|
||||
static GstFlowReturn gst_fastspectrum_transform_ip (GstBaseTransform *trans, GstBuffer *buffer);
|
||||
static gboolean gst_fastspectrum_setup (GstAudioFilter * base, const GstAudioInfo * info);
|
||||
|
||||
static void gst_fastspectrum_class_init (GstFastSpectrumClass * klass) {
|
||||
@@ -390,7 +390,7 @@ static void gst_fastspectrum_run_fft (GstFastSpectrum * spectrum, guint input_po
|
||||
|
||||
}
|
||||
|
||||
static GstFlowReturn gst_fastspectrum_transform_ip (GstBaseTransform * trans, GstBuffer * buffer) {
|
||||
static GstFlowReturn gst_fastspectrum_transform_ip (GstBaseTransform *trans, GstBuffer *buffer) {
|
||||
|
||||
GstFastSpectrum *spectrum = GST_FASTSPECTRUM (trans);
|
||||
guint rate = GST_AUDIO_FILTER_RATE (spectrum);
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
|
||||
namespace _detail {
|
||||
|
||||
ClosureBase::ClosureBase(ObjectHelper *helper)
|
||||
: helper_(helper) {
|
||||
}
|
||||
ClosureBase::ClosureBase(ObjectHelper *helper) : helper_(helper) {}
|
||||
|
||||
ClosureBase::~ClosureBase() {}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ class ClosureBase {
|
||||
class ObjectHelper : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ObjectHelper(QObject *parent, const char *signal, ClosureBase *closure);
|
||||
ObjectHelper(QObject *sender, const char *signal, ClosureBase *closure);
|
||||
~ObjectHelper();
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -82,6 +82,6 @@ extern const char *kDefaultLogLevels;
|
||||
|
||||
} // namespace logging
|
||||
|
||||
QDebug operator<<(QDebug debug, std::chrono::seconds secs);
|
||||
QDebug operator<<(QDebug dbg, std::chrono::seconds secs);
|
||||
|
||||
#endif // LOGGING_H
|
||||
|
||||
Reference in New Issue
Block a user