CDTEST - 1st test of CD streaming add-on

Started by Ian @ un4seen,

Ian @ un4seen

The CD streaming/ripping add-on (BASSCD), based on the AKRip source-code, is up and running. I found a few bugs in AKRip (well it is a beta :)), and some other things I didn't like. I want to tidy it up some more before releasing a public version to try in your own programs, but in the meantime, here's a test to try.

      http://www.un4seen.com/stuff/cdtest.zip    (updated)

If a CD drive is capable of digital playback in Windows Media Player, then it should also work in the test... and even if it doesn't work in Media Player, it may still work in the test :)

Please post here the drive(s) that you try it with (the names are displayed in the test), and the "flags" display values, and also your Windows version. If there are any problems, check if the same happens in Media Player with the "digital playback" option on.


fredvs

#2
Superb job Ian. :P

On my Win 98 SE, on both
AOPEN RW1232 v1.10 flag 0D16202977750707 and
ATAPI DVD-ROM 16X v635A 801B03296371001F

It works incredibily quick, nice, without bugs, no crachs, no noises... :-*

I m totaly ready for basscd.pas.

Bass still and forever the best. ::)

fredvs

#3
By the way, BASS_CD_Door for each device ?  ;)

NB: Bravo for the easy BASS_CD_StreamCreate (i m curious for the flags you give, sames as BASS_StreamCreate ?)...

Chris

#4
FANTASTIC!!!!!!!!!!!!!!!!!!!!!!!!!!!
Congratulation Ian.....PERFEKT...

THIS IS THE FIRST and unique  SoftwareCDromPlayer that can Play Mixes wihout Silence between the tracks.....
I have tested it..with my TeacCDROM
Here are the Datas
TEAC CD 524E (1.0D BiosRevision)
flags 901B232977F10707
Speed 7056
buffer 1404
OS Xp-Pro Sp1

Chris

fredvs

#5
For me, this basscd.dll will be a very better alternate for BASS_CDInit and all the Audio CD functions of Bass.

I have seen in your basscd.dll that you will use more or less the same functions that in bass.dll for audio CD
(ex : BASS_CDInDrive vs BASS_CD_InDrive)

The Audio CD functions of Bass.dll can be discarded for me, it has nothing to do with the spirit of Bass, i had to much bloat with it and other multimedia components do that very well.


NB : and perhaps you will have a lighter bass.dll...



Irrational86

Wierd...i get a:
"No CD drives found"
"(error code: 20)"

And...i have a CD-RW (maybe a bit old) and a virtual cd-rom drive.
The physical cd drive is a Philips, "CDRW800 Series" the name that appears in the device manager is "PHILIPS PCRW804"
In the properties, under location it says "Location 0 (0)"

The virtual drive is made using Paragon CD-ROM Emulator, the name in the device manager is "PARAGON Virtual CD-ROM  Unit# 00"
In the properties this one says "PARAGON Virtual SCSI    "

I think i know what makes this happen, because the virtual drive is considered a SCSI, then it doesnt detect the physical drive. This has happened before, if you take a look at the CDex program source, then you should be able to figure out how its made. CDex before version 1.50 Beta 10, it didnt detect the drives because of the SCSI, but now it detects them fine.

Chris

#7
@ XMinioNX
do you have install AspiDrivers????
Chris


Azoth

Worked like a charm here on my development machine.

Hardware CD ROM:
Samsung CD-ROM SC-152L vC100 (1:0:0)
flags: C023232973710007
speed: 9152  buf:128

Virtual CD-ROM:
Alcohol 120%
AXV CD/DVD-ROM v2.1 (2:0:0)

OS:
Windows XP Professional SP1

Will try it on my other test systems and will let you know the result.

btw. Will the BASS_CD_StreamCreate function also support the BASS_STREAM_DECODE flag? That would be pretty sweet for CD ripping functionality.

And Ian, thanks for all your hard work.
Howard.

Azoth

XMinioNX,
  What OS are you using? If I remember correctly the AKRip library supports NT/2000 and XP natively and does not require an ASPI manager be installed while Windows 98 does.

Howard.

Ingolf

#10
Works great here with my "ATAPI CD-ROM 50x v185A". Don't know which brand.

flags: 9007032973710007
speed: 1936
buf: 128
OS: Windows XP Professional

This is a perfect add-on for BASS. good job!

engineeer

:'(
No CD drives found
(error code: 20)

TEAC CD-W540E
(40x CD-RW)
WIN XP Pro, SP1

DAE works fine from WMP 8 and Sound Forge 6.

Irrational86

To DJ-Chris and Azoth:
Am using Win2k, no need for Aspi Drivers, but I installed some Aspi drivers for the h*ll of it, and nothing changed.

Ian @ un4seen

#13
I think BASSCD is almost complete now, and should be available shortly.

I've updated the CDTEST ZIP file above, with some new "door" options to try. Some drives don't seem to be able to report when it's door is open. (unless someone knows a way that works for all drives? :)) Note that the "open" function currently also unlocks the door 1st (this may be changed), so don't be surprised when the door opens despite being locked :)

For those that got the "no cd drives found" error, it should be ok now.


QuoteNB: Bravo for the easy BASS_CD_StreamCreate (i m
curious for the flags you give, sames as BASS_StreamCreate ?)...
Quotebtw. Will the BASS_CD_StreamCreate function also support the BASS_STREAM_DECODE flag? That would be pretty sweet for CD ripping functionality.
Yes, all the standard stream flags will be available.

QuoteThe Audio CD functions of Bass.dll can be discarded for me, it has nothing to do with the spirit of Bass, i had to much bloat with it and other multimedia components do that very well.
Yep, the built-in analog audio CD functions may well be removed in the next BASS release... I don't like them very much anyway :D

engineeer

Yep, works perfect now!  ;D

TEAC CD-W540E v1.0C
Flags: 1321232977F10707
Speed: 8467
Buf: 8192
OS: Win XP Pro SP1

Great work Ian!

Ghostwalker

Ok..here my test:

TEAC CD-ROM CD-532S V1.0A (1:0:0) (SCSI)
flags: 0000000000000000
speed: 0 buf: 0

Playback/Pause/open is ok

TEAC CD-R58S v1.0K (1:1:0) (SCSI) (not connectet to audio-card)

flags: 0000000000000000
speed: 0 buf: 0

CD is not recognised. The test trys to access drive, and trys and trys and trys.....

only open door works

Roxio CD-Rom Emulator v1.02 (2:0:0) (Software)

flags: 0000000000000000
speed: 0 buf: 0

My System:

CPU 1100 Mhz Athlon
512 MB RAM
W2K-Server SP3


Chris

#16
@ Ian..the new (updated) Basscd crashed.......It doesn`t start....
If I have no CD insert it will works fine. After i have insert a Audiocd it will crashed...
(the first Beta release have work fine....)
Chris

Sebastian_Mares

#17
LITE-ON LTR-52246S (Firmware R526S0D):
- Flags: C023232977F50707
- Speed: 9152
- Buffer: 2048
- IDE: Secondary Master
- CDs: Sylver - Chances / Metallica - Nothing Else Mathers
(Both CDs are mixed mode discs)

Error (when clicking on a track):
The instruction at "0xc0020000" referenced memory at "0xc0020000". The memory could not be "read".
(Clicking OK)
The instruction at "0x60010000" referenced memory at "0x60010000". The memory could not be "read".
(Program ends)

---

LG DVD-ROM DRD8160B (Firmware 1.0):
- Flags: 002123297771001F
- Speed: 8448
- Buffer: 512
- IDE: Secondary Slave
- CDs: Sylver - Chances / Metallica - Nothing Else Mathers
(Both CDs are mixed mode discs)

CDs are played perfectly!

Error (when exiting the program):
The instruction at "0x60010000" referenced memory at "0x60010000". The memory could not be "read".
(Program ends)
---

System:
- Microsoft Windows 2000 Professional Service Pack 3
- ASPI 4.7

georgebou

Excellent Job,
It works fine on my PC.
Onboard Soundcard with Via chipset
Pioneer DVD-ROM DVD-117 v1.07 (0:0:0)
flags 941B2329E371001F
speed:7060
buf:256
Windows 98SE

Actually it work better that the built in bass CD functions because it returns correct info for each audio track length, when the CD Disc has the Data track last !!!!

Olego

_NEC NR7700A v1.01

Plays okay.  When reaching the scratched part, it stumbles, plays the buffer, and waits for the buffer to fill again.

flags: 0D16232967710707
speed:5645 buf:2048

WinXP, SP1 (I'm considering uninstalling SP1).

Note: while Mousewheel scrolls the scrollbar, it doesn't advance the position.  ;D

If I open the CD in the middle of playback, it loops the buffer until I tell it to pick a different track and it realises that the CD is no longer there.

And what does the Lock do?

~Olego~

Ingolf

Lock locks the drive from opening, won't open if you click the open button on your cd-rom drive. (i guess)

AOpen CD-RW 1232PRO 1.0
flags: 0D16202977750707
speed: 5645
buf: 2048

Hitachi DVD-ROM GD-8000
flags: 901B23297371003F
speed: 7056
buf: 512

I want basscd.pas!