Author Topic: XMPlay CD Audio (rev.11/rev.11a) plugin report  (Read 450 times)


  • Posts: 16
Tested system
OS: Windows 98SE
Memory: 384MB
CPU: Intel Pentium II 400
Sound: ESS Solo-1
Video: Neomagic MagicMedia 256AV
XMPlay version: 3.8.2

XMPlay cannot read audio tracks from some disks

If a CD contains both data and audio tracks, opening a CD drive via 'Open file(s)' or 'Add file(s)' dialogue box does not show audio tracks contained in the disk. In such case, the audio tracks are only accessible via 'Add Folder' or 'Open folder' dialogue box. However, both commands can read audio tracks only if the drive is a virtual drive mounted to a disk image, not audio tracks in a physical medium, which simply causes XMPlay to open all files in the root directory of a data track. However, when reading disk images containing both data and audio tracks, 'Add Folder' and 'Open folder' commands only open the audio tracks of the volume, not the contents stored in the root directory of the data track. The interface should be redesigned to handle single volumes containing both track types when using 'Add Folder' or 'Open folder' command. Furthermore, the handling of volumes containing both track types should be the same whether data are read from virtual or physical volume.

If XMPlay encounters a CD with only audio track(s), using the 'Open file(s)' or 'Add file(s)' command shows a list of .cda files at the disk's root directory within the respective dialogue box, but opening such file causes XMPlay to read the contents of the .cda files (which contains a RIFF file), not the respective audio tracks, causing XMPlay to treat the .cda files as unplayable. The bug also affects reading of audio tracks when using 'Add Folder' or 'Open folder' command. The bug does not affect playback of audio tracks from the CD Player shipped with Windows. When opening a disk contains .cda files when it only has audio tracks, XMPlay should allow opening individual audio tracks via 'Open file(s)' dialogue box. However, since the disk itself does not physically contain the .cda files and the associated contents that can somehow be read by the operating system, XMPlay should also offer a cleaner alternative to handle disks with only audio tracks (see below).

To address the above issues, the 'Open file(s)', 'Add file(s)', 'Add Folder', 'Open folder' dialogue boxes should treat an audio track like a file, and data track like a folder, and the CD volume where data and audio tracks reside as root directory. Furthermore, the root directory of a data track can be treated as the root directory of the volume only if the CD contains exactly 1 data track and no other track(s).