CDDA plays too fast and loop points

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
DoomSlayer
DCEmu Newbie
DCEmu Newbie
Posts: 9
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Mon Apr 01, 2019 12:09 pm
Has thanked: 5 times
Been thanked: 1 time

CDDA plays too fast and loop points

Post by DoomSlayer »

Hello all :)

I have a few questions about CDDA.

Currently I can play a CDDA ( i simply use cdrom_cdda_play(1, 1, 15, CDDA_TRACKS) ) , the problem is that it plays too fast, music doesn't play at the right speed. It's a WAV file, I give you the properties of the WAV:
Codec: PCM Audio
Info: 32000Hz 1024 kb/s tot (2 chnls)

I also have two loop points inside, which I created with Wavosaur, is this compatible?

If not, is there a file format with loop points that the CDDA sound engine supports?

I test my MDS on Demul

Thank you in advance for your help :)
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5661
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: CDDA plays too fast and loop points

Post by BlueCrab »

CDDA is just normal CD tracks. There is no way to store loop points in CDDA audio, even if your WAV files that you used as a source have them -- it is not part of the Audio CD standard.

As for things playing too fast, I suspect that is a problem with Demul's emulation.
These users thanked the author BlueCrab for the post:
DoomSlayer
DoomSlayer
DCEmu Newbie
DCEmu Newbie
Posts: 9
Joined: Mon Apr 01, 2019 12:09 pm
Has thanked: 5 times
Been thanked: 1 time

Re: CDDA plays too fast and loop points

Post by DoomSlayer »

Ok, Thank you for this information BlueCrab, it's good to know :)
Post Reply