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

Function command_pause

src/blkdev_cdimage.cpp:902–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900
901
902static int command_pause (int unitnum, int paused)
903{
904 struct cdunit *cdu = unitisopen (unitnum);
905 if (!cdu)
906 return -1;
907 int old = cdu->cdda_paused;
908 if ((paused && cdu->cdda_play) || !paused)
909 cdu->cdda_paused = paused;
910 return old;
911}
912
913static int command_stop (int unitnum)
914{

Callers

nothing calls this directly

Calls 1

unitisopenFunction · 0.70

Tested by

no test coverage detected