Begin File: playcd12.tgz Description: audio player for SB16 and SBPro Keywords: soundblaster photon phab example audio CD-ROM Version: 1.2 Entered-date: February 10, 1997 Author: Jeff Page Ported-by: Original-site: QNX Copying-policy: Free, see below. Supplemental: Play CD Version 1.2 for Photon 1.1 This is a Photon Application Builder example, that also illustrates ioctl() control of a CD-ROM and reading the index of an audio CD-ROM as well as some features of Photon and PhAB, such as timers and setting resources of lists including modifying scrollbars. This Photon application allows you to play audio CDs if your CD audio is connected to your sound card. The CD-ROM drive must be of a type that is supported by an available Fsys driver. It initializes the Sound Blaster registers to enable CD audio and set levels and such. Ioctl()s are used to control the CD, so Iso9660fsys is not required. This application is specific to the Sound Blaster 16 and Sound Blaster Pro and compatible cards. It works with the ViBRA 16C chipset also, but you need to determine what Plug And Play settings are to configure the software. The preferences dialog allows you to choose the type of card, select the I/O port address for the audio registers and the CD-ROM device. The values are saved in the file /usr/photon/config/playcd.N where N is the node number. INSTALLATION: gunzip -c