From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,544ac62451c81870,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-09-16 16:32:07 PST Path: gmdzi!unido!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ferrari.nmc.ed.ray.com!smiles From: smiles@ferrari.nmc.ed.ray.com (Kevin Ruddy) Newsgroups: comp.sys.dec Subject: Need help with RRD42 audio Message-ID: <9109161842.AA19643@ferrari.nmc.ed.ray.com> Date: 16 Sep 91 18:42:49 GMT Sender: daemon@ucbvax.BERKELEY.EDU Since Ultrix 4.2 doesn't come with any documentation on the audio aspect of CD players, I need some help. I've been working my way through the sys/cdrom.h file with some success. However, there are some things I simply can't figure out. When I open the drive, how can I get it to not block? If there's no CD in there I want to abort. I don't want to have to use alarm(3) to interrupt open(2). That's a really cheesy way to have to do things ... I know how to make an audio track play. I can pause it and resume it. How do I *stop* it? When I get the media catalog number, the CD player goes into pause mode. Why? Also, the media catalog is completely empty -- although the "valid" bit is set! When I get the ISRC data, I always get an I/O error. Is this because it's not encoded on the disc? I thought that's what the validity bit was for. How can I get the MSF for a data track? Is that possible? I would appreciate any and all information that people might have. If there's new documentation available or some example source -- or just about anything from anyone -- I'd love to read it. If anyone's had experience with this, I'd love to hear from you. If people want to complain about the situation, I'll listen too ... Please ... thanks. Kevin Ruddy smiles@ferrari.nmc.ed.ray.com