MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / cdrom_command_stop

Function cdrom_command_stop

src/akiko.cpp:990–1003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

988}
989
990static 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 */
1006static int cdrom_command_pause (void)

Callers 1

cdrom_run_command_runFunction · 0.85

Calls 3

checkerrFunction · 0.85
write_logFunction · 0.70
cdaudiostopFunction · 0.70

Tested by

no test coverage detected