[Bug 49075] New: foobar2000 reports 'No CD drives found.' because GetDriveTypeW returns DRIVE_FIXED for audio CD

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 1 21:33:03 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49075

            Bug ID: 49075
           Summary: foobar2000 reports 'No CD drives found.' because
                    GetDriveTypeW returns DRIVE_FIXED for audio CD
           Product: Wine
           Version: 5.4
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: spoon0042 at hotmail.com
      Distribution: ---

Created attachment 67048
  --> https://bugs.winehq.org/attachment.cgi?id=67048
foobar2000 log +volume

Summary should be self-explanatory. ;) Attached a log with +volume starting
foobar2000 and selecting File -> Open audio CD. Relevant line would be

0033:trace:volume:GetDriveTypeW L"\\\\.\\D:\\" -> 3

Confusingly running winecfg with +volume correctly finds an audio CD. (And
incorrectly an extra one?)

0009:trace:volume:GetVolumeInformationW L"\\??\\D:\\": found audio CD
0009:trace:volume:GetVolumeInformationW L"\\??\\E:\\": found audio CD

Hacking GetDriveTypeW to return 5 for D: things work as expected. Can play a
CD, fetch tags, rip.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list