| 886 | } |
| 887 | |
| 888 | static void cdda_stop (struct cdunit *cdu) |
| 889 | { |
| 890 | if (cdu->cdda_play != 0) { |
| 891 | cdu->cdda_play = -1; |
| 892 | while (cdu->cdda_play && cdu->thread_active) { |
| 893 | sleep_millis(10); |
| 894 | } |
| 895 | cdu->cdda_play = 0; |
| 896 | } |
| 897 | cdu->cdda_paused = 0; |
| 898 | cdu->cdda_play_state = 0; |
| 899 | } |
| 900 | |
| 901 | |
| 902 | static int command_pause (int unitnum, int paused) |
no test coverage detected