OS4 DepotLogo by Liksmaskaren 
(anonymous IP:,0) 

   Bug tracker
   Locale browser


   o Audio (340)
   o Datatype (50)
   o Demo (203)
   o Development (592)
   o Document (22)
   o Driver (100)
   o Emulation (146)
   o Game (984)
   o Graphics (491)
   o Library (112)
   o Network (230)
   o Office (65)
   o Utility (907)
   o Video (68)

Total files: 4310

Full index file
Recent index file



Support the site

 Readme for:  Library » Audio » cdplayer_lib.lha


Description: Modern replacement for cdplayer.library
Download: cdplayer_lib.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 66kb
Version: 52.7
Date: 23 Jul 12
Author: Fredrik Wikström
Submitter: Fredrik Wikström
Email: fredrik/a500 org
Homepage: http://www.a500.org/
Category: library/audio
Replaces: library/audio/cdplayer_lib.lha
License: BSD
Distribute: yes
Min OS Version: 4.0
FileID: 7260
Comments: 3
Snapshots: 0
Videos: 0
Downloads:  (Current version)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
AmigaOS4.x native replacement for cdplayer.library V37:

Uses READ CD command to play CD audio tracks over AHI (similar method as what
PlayCDDA uses).


Copy the cdplayer.library to LIBS:.


52.7 (23-Jul-2012)
 - CDPLAY_PAUSE now flushes the CDDA buffers so that there won't be any wrong
   CDDA frames played if a program chooses to resume playback at a different
   position than the paused one

52.6 (23-Dec-2011)
 - Added CDPlayAddr() function

52.5 (30-Nov-2011)
 - Increased the size of the CDDA buffers to get more reliable CDDA playback
   with real CD/DVD drives
 - Changed around the volume setting/getting code so that it now reads/writes
   all channels in one go and doesn't require any additional locking

52.4 (28-Nov-2011)
 - Fixed INQUIRY command in CDInfo()
 - Changed GetVolume() and SetVolume() implementations so that they return
   quicker than before

52.3 (25-Nov-2011)
 - Fixed a stupid bug in the CDDA buffering which would cause stuttering audio
   playback especially at the beginning

52.2 (24-Nov-2011)
 - Rewrote the code so that CDDA decoding (only endian conversion) and volume
   scaling are now done in one pass instead of two
 - Rewrote CDDA buffering code so that it reads in advance (should work better
   with real CD/DVD drives than it did before)
 - Track numbers in API are now always 1 to NumTracks (the example code gave
   the impression that in CDPlay at least they are numbered 0 to NumTracks-1
   but this appears to be false from testing with other programs)

52.1 (16-Nov-2011)
 - First released version

Copyright (c) 2004-2023 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment