Costmetic changes
This commit is contained in:
parent
6e71fa30f1
commit
bb29ba0a00
@ -716,7 +716,8 @@ static inline void audio_dequeuebuffer(FAR struct audio_upperhalf_s *upper,
|
|||||||
msg.session = session;
|
msg.session = session;
|
||||||
#endif
|
#endif
|
||||||
apb->flags |= AUDIO_APB_DEQUEUED;
|
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;
|
msg.session = session;
|
||||||
#endif
|
#endif
|
||||||
mq_send(upper->usermq, &msg, sizeof(msg),
|
mq_send(upper->usermq, &msg, sizeof(msg),
|
||||||
CONFIG_AUDIO_BUFFER_DEQUEUE_PRIO);
|
CONFIG_AUDIO_BUFFER_DEQUEUE_PRIO);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1371,7 +1371,8 @@ static void wm8904_returnbuffers(FAR struct wm8904_dev_s *priv)
|
|||||||
apb = (FAR struct ap_buffer_s *)dq_remfirst(&priv->doneq);
|
apb = (FAR struct ap_buffer_s *)dq_remfirst(&priv->doneq);
|
||||||
irqrestore(flags);
|
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? */
|
/* 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;
|
struct audio_msg_s term_msg;
|
||||||
int ret = -EAGAIN;
|
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 */
|
/* Take a reference on the new audio buffer */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user