From: Takashi Sakamoto Date: Wed, 22 Apr 2020 02:50:24 +0000 (+0900) Subject: seq: queue_tempo: use 'not a variable length array type' for skew argument X-Git-Tag: v0.1.0~155 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=021b41550bd453cb71798bcce715f69de4b3ad47;p=alsa-gobject.git seq: queue_tempo: use 'not a variable length array type' for skew argument The type of skew argument is fixed-sized array. Signed-off-by: Takashi Sakamoto --- diff --git a/src/seq/queue-tempo.c b/src/seq/queue-tempo.c index 6044360..0d251b9 100644 --- a/src/seq/queue-tempo.c +++ b/src/seq/queue-tempo.c @@ -119,7 +119,7 @@ ALSASeqQueueTempo *alsaseq_queue_tempo_new() * * Refer to numerator and denominator of skew. */ -void alsaseq_queue_tempo_get_skew(ALSASeqQueueTempo *self, const guint32 **skew) +void alsaseq_queue_tempo_get_skew(ALSASeqQueueTempo *self, const guint32 *skew[2]) { ALSASeqQueueTempoPrivate *priv; diff --git a/src/seq/queue-tempo.h b/src/seq/queue-tempo.h index c6fbf05..158e241 100644 --- a/src/seq/queue-tempo.h +++ b/src/seq/queue-tempo.h @@ -47,7 +47,7 @@ GType alsaseq_queue_tempo_get_type() G_GNUC_CONST; ALSASeqQueueTempo *alsaseq_queue_tempo_new(); -void alsaseq_queue_tempo_get_skew(ALSASeqQueueTempo *self, const guint32 **skew); +void alsaseq_queue_tempo_get_skew(ALSASeqQueueTempo *self, const guint32 *skew[2]); void alsaseq_queue_tempo_set_skew(ALSASeqQueueTempo *self, const guint32 skew[2]); G_END_DECLS