diff --git a/src/osdep/cda_play.cpp b/src/osdep/cda_play.cpp index fb1796b7..4045c0c4 100644 --- a/src/osdep/cda_play.cpp +++ b/src/osdep/cda_play.cpp @@ -341,7 +341,7 @@ static bool cdda_play2(struct cda_play* ciw, int* outpos) return restart; } -void ciw_cdda_play(void* v) +int ciw_cdda_play(void* v) { struct cda_play* ciw = (struct cda_play*)v; int outpos = -1; @@ -360,6 +360,7 @@ void ciw_cdda_play(void* v) ciw->cdda_play = 1; } ciw->cdda_play = 0; + return 0; } void ciw_cdda_stop(struct cda_play* ciw) diff --git a/src/osdep/cda_play.h b/src/osdep/cda_play.h index ac4b9435..f8d4e073 100644 --- a/src/osdep/cda_play.h +++ b/src/osdep/cda_play.h @@ -53,6 +53,6 @@ struct cda_play cda_play_read_block read_block; }; -void ciw_cdda_play(void* ciw); +int ciw_cdda_play(void* ciw); void ciw_cdda_stop(struct cda_play* ciw); int ciw_cdda_setstate(struct cda_play* ciw, int state, int playpos); \ No newline at end of file