changeset 2117:03304d350339

Set force-mute when CD drive is in the pause state
author Michael Pavone <pavone@retrodev.com>
date Sun, 06 Mar 2022 22:30:47 -0800
parents cd057d6fe030
children c5d0edf1d7e7
files cdd_mcu.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cdd_mcu.c	Sun Mar 06 22:03:52 2022 -0800
+++ b/cdd_mcu.c	Sun Mar 06 22:30:47 2022 -0800
@@ -151,10 +151,7 @@
 			}
 		}
 		if (context->head_pba >= LEADIN_SECTORS) {
-			uint8_t track = context->media->seek(context->media, context->head_pba - LEADIN_SECTORS);
-			if (!context->seeking && context->media->tracks[track].type == TRACK_AUDIO) {
-				gate_array[GAO_CDD_CTRL] &= ~BIT_MUTE;
-			}
+			context->media->seek(context->media, context->head_pba - LEADIN_SECTORS);
 		}
 		break;
 	case DS_TOC_READ: