Status of CDROM_AUDIO_INVALID seems to mean the disk is stopped.

This commit is contained in:
Huw D M Davies 2000-12-15 20:55:39 +00:00 committed by Alexandre Julliard
parent 844625cbc5
commit ebb3a68cbc
1 changed files with 3 additions and 2 deletions

View File

@ -360,8 +360,9 @@ BOOL CDROM_Audio_GetCDStatus(WINE_CDAUDIO* wcda, int parentdev)
#else
case CD_AS_AUDIO_INVALID:
#endif
WARN("device doesn't support status.\n");
wcda->cdaMode = WINE_CDA_DONTKNOW;
/* seems that this means stop for ide drives */
wcda->cdaMode = WINE_CDA_STOP;
TRACE("AUDIO_INVALID -> WINE_CDA_STOP\n");
break;
#ifdef linux
case CDROM_AUDIO_NO_STATUS: