changeset 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 2742dbea95f1
children 1dda11905e85
files pcm/pcm_tx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 	}