diff --git a/audio/audio.c b/audio/audio.c index aae2b4c210..c198f089d5 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -716,7 +716,8 @@ static inline void audio_dequeuebuffer(FAR struct audio_upperhalf_s *upper, msg.session = session; #endif apb->flags |= AUDIO_APB_DEQUEUED; - mq_send(upper->usermq, &msg, sizeof(msg), CONFIG_AUDIO_BUFFER_DEQUEUE_PRIO); + mq_send(upper->usermq, &msg, sizeof(msg), + CONFIG_AUDIO_BUFFER_DEQUEUE_PRIO); } } @@ -754,7 +755,7 @@ static inline void audio_complete(FAR struct audio_upperhalf_s *upper, msg.session = session; #endif mq_send(upper->usermq, &msg, sizeof(msg), - CONFIG_AUDIO_BUFFER_DEQUEUE_PRIO); + CONFIG_AUDIO_BUFFER_DEQUEUE_PRIO); } } diff --git a/drivers/audio/wm8904.c b/drivers/audio/wm8904.c index c74a9d6419..0d7a79c87f 100644 --- a/drivers/audio/wm8904.c +++ b/drivers/audio/wm8904.c @@ -1371,7 +1371,8 @@ static void wm8904_returnbuffers(FAR struct wm8904_dev_s *priv) apb = (FAR struct ap_buffer_s *)dq_remfirst(&priv->doneq); irqrestore(flags); - audvdbg("Returning apb=%p flags=%04x\n", apb, apb->flags); + audvdbg("Returning: apb=%p curbyte=%d nbytes=%d flags=%04x\n", + apb, apb->curbyte, apb->nbytes, apb->flags); /* Are we returning the final buffer in the stream? */ @@ -1679,7 +1680,8 @@ static int wm8904_enqueuebuffer(FAR struct audio_lowerhalf_s *dev, struct audio_msg_s term_msg; int ret = -EAGAIN; - audvdbg("apb=%p\n", apb); + audvdbg("Enqueueing: apb=%p curbyte=%d nbytes=%d flags=%04x\n", + apb, apb->curbyte, apb->nbytes, apb->flags); /* Take a reference on the new audio buffer */