litchie / dospad

iDOS - DOSBox port on iOS
https://litchie.com/dospad
GNU General Public License v2.0
613 stars 132 forks source link

CD audio is just hissing/screeching noises #141

Closed Lantizia closed 3 weeks ago

Lantizia commented 2 years ago

This was tested using the adhoc distributed iDOS 3 private build (from here).

I use Windows 3.11 and I've tested this with 'Colonization for Windows' and also 'Civilization II' (that both have CD audio for music).

Both discs were ripped using my standard method on a Linux box of...

lantizia@thor:~$ cdrdao read-cd --read-raw --device /dev/sr0 -v 2 --datafile "disc.bin" "disc.toc"
lantizia@thor:~$ toc2cue disc.toc disc.cue

Which has never failed me, and the CUE file loads up in CDemu just fine and can be played with a normal audio player on my Linux desktop (e.g. VLC), or on Windows using something like foobar2000.

I've also tried manually using the IMGMOUNT command (rather than tapping the picture of a CD drive, when iDOS is in portrait mode) manually and that doesn't make any difference.

It also gives the same hissing/screeching noises when using a standard CD player in Windows 3.11 too (such as the one that comes with the Sound Blaster 16 drivers).

All other audio (e.g. MIDI and waveform) seems to be working fine.

Lantizia commented 3 weeks ago

Pretty sure this isn't specific to iDOS and it's a DOSBox thing.

If you use --driver generic-mmc:0x20000 in the cdrdao command then you don't get the issue. I think I read somewhere it was something to do with having the correct byte order, that DOSBox is sensitive to, but other things are not.