gidierre: Is you cdrom connected analog to your soundcard ?
No, I'd assume not
I mean, this one is a laptop
besides in Vista you know, in dev. mgr. | cdrom unit | properties there's no tab anymore with the button to check/uncheck digital vs. analog output
do you know of some other trick ?
and at any rate dosbox SDL-switched is fine under the very same circumstances.
IIrc. the no-error ioctl returncode means that the function was successful,
but under vista the play is not initiated so the get-audiostatus returns pause
(or stop or whatever) along with no audio playing.
After reading this thread, I decided to give "Lost in Time" a go again to see if I could get it working with sound, but it hangs on startup when using -noioctl. It works fine (albeit without CD sound) when using -ioctl.
went about my chore and added much more logging flares to sapucdex.c code
like already done with dosbox, comparing WinXP and Vista as far as ioctl structures and calls are involved.
Logs in relevant sapu Play, Seek and Stop functions aren't especially worth reporting, since they match the elusiveness of returning success values in dosbox -ioctl,
what I find interesting is the output of some checks into ReadTOC()
In sapucdex.log they produce, of course only the 1st round when
!(DrvInfo->readed_toc)
a specific outcome, as I devised it, which in fact is an array of track data, like the ones I'll try to extract here in a readable form
when applied under Vista (where music is missing ioctl-wise)
the result is absolutely identical.
I feel I can well spare you the repetition of all those boring track number[] & track address[][] lines : you'd see no difference at all.
ReadTOC reads right in Vista too.
If cdaudio music is missing, it's no question of TOC aberration.
Imho this could exclude any TOC issues from the Vista ioctl quagmire, including the alleged IOCTL_CDROM_READ_TOC obsoleteness
(see my post above from 2008-4-16 @ 01:29 am)
that's vs. IOCTL_CDROM_READ_TOC_EX, since only the former is in use in sapu TOC reading as per code hereto posted.
Last edited by gidierre on 2008-12-19, 01:42. Edited 1 time in total.
I've just hinted at the TOC stuff some time ago because the ioctl function
that is used is marked as deprecated, so possibly non-functional. In fact
all functions still work under vista, just the play routine doesn't initiate the
actual playing (or something like that).
finally found somehow a way to circumvent ioctl limitations dooming Sapucdex under Vista (thx wd for your help)
as this really is less dosbox development related than is a general ioctl/Vista subject, not to mention that dosbox already can get around the issue pretty well, I guess I'll be going into it in the pc section/dgVoodoo pertaining thread.
We often forgive those who bore us, but we cannot forgive those whom we bore. (La Rochefoucauld)