| 988 | } |
| 989 | |
| 990 | static int cdrom_command_stop (void) |
| 991 | { |
| 992 | #if AKIKO_DEBUG_IO_CMD |
| 993 | if (log_cd32 > 0) |
| 994 | write_log(_T("CD32: STOP: %d\n"), cdrom_playing); |
| 995 | #endif |
| 996 | cdrom_audiotimeout = 0; |
| 997 | cdrom_result_buffer[0] = cdrom_command; |
| 998 | if (checkerr ()) |
| 999 | return 2; |
| 1000 | cdrom_result_buffer[1] = 0; |
| 1001 | cdaudiostop (); |
| 1002 | return 2; |
| 1003 | } |
| 1004 | |
| 1005 | /* pause CD audio */ |
| 1006 | static int cdrom_command_pause (void) |
no test coverage detected