You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "jerpelea (via GitHub)" <gi...@apache.org> on 2023/07/31 07:35:18 UTC
[GitHub] [nuttx-apps] jerpelea commented on a diff in pull request #1873: audioutils/fmsynth: Add create instance for static
jerpelea commented on code in PR #1873:
URL: https://github.com/apache/nuttx-apps/pull/1873#discussion_r1278896569
##########
audioutils/fmsynth/fmsynth.c:
##########
@@ -164,6 +181,21 @@ void fmsynthsnd_set_soundfreq(FAR fmsynth_sound_t *snd, float freq)
}
}
+/****************************************************************************
+ * name: fmsynthsnd_stop
+ ****************************************************************************/
+
+void fmsynthsnd_stop(FAR fmsynth_sound_t *snd)
+{
+ FAR fmsynth_op_t *op;
+
+ for (op = snd->operators; op != NULL; op = op->parallelop)
+ {
+ fmsynthop_stop(op);
+ }
+}
+
+
Review Comment:
please remove the extra blank lines
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org