]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_shared.c
Make CDAudio_Play_byName static.
[xonotic/darkplaces.git] / cd_shared.c
index eb78eaf1b9b9462a7041439d3102d511affe8de8..e86340654830d4340b26b226cf2901c098cfcb4a 100644 (file)
@@ -116,7 +116,10 @@ static int CDAudio_GetAudioDiskInfo (void)
        return -1;
 }
 
-void CDAudio_Play_byName (const char *trackname, qboolean looping, qboolean tryreal, float startposition)
+// Helper for CDAudio_Play, the "cd" command, and the music_playlist system.
+// Does _not_ act as NOP when a playlist is active, simply because this is used
+// _by_ playlist code. So beware when calling this.
+static void CDAudio_Play_byName (const char *trackname, qboolean looping, qboolean tryreal, float startposition)
 {
        unsigned int track;
        sfx_t* sfx;