Corrections to Chapter 10 of Java Secrets, Controlling Audio Playback with sun.audio

p. 400: The following constructor is available in later versions of Java and should be added to the list of methods in sun.applet.AppletAudioClip:

public AppletAudioClip(byte[] data)

p. 408: The second to last line of the first code fragment on the page should read:

AudioData ad = new AudioData(cd.getData());

p. 408: In the second to last paragraph on the page, AudioSequenceStream should be AudioStreamSequence.


[ Java Secrets Corrections | Java Secrets Home Page | Table of Contents | Examples | About the CD | Order ]

Copyright 1997, 2002 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified December 28, 2002