diff pcm/pcm_tx.c @ 28:fa341317c844

pcm: fix bug in play-stop command
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 20:38:58 +0000
parents 27ca01bb5b11
children
line wrap: on
line diff
--- a/pcm/pcm_tx.c	Mon Jun 24 20:31:29 2024 +0000
+++ b/pcm/pcm_tx.c	Mon Jun 24 20:38:58 2024 +0000
@@ -197,7 +197,7 @@
 
 void cmd_play_stop(int argc, char **argv)
 {
-	if (!record_file) {
+	if (!play_buffer) {
 		printf("error: no file play in progress\n");
 		return;
 	}