public class QT61AudioBuffer extends AudioBuffer
Modifier and Type | Field and Description |
---|---|
protected File |
file |
protected boolean |
initialized |
protected quicktime.std.sg.SGSoundChannel |
mAudio |
protected quicktime.std.sg.SequenceGrabber |
mGrabber |
protected quicktime.app.view.MoviePlayer |
player |
protected Thread |
recordThread |
activeAudioBuffer, backMainOwnerCursor, backOwnerCursor, m_seconds, mainOwner, MAX_RECORD_LENGTH, owner, recCursor
Constructor and Description |
---|
QT61AudioBuffer(int seconds)
Creates new QTAudioBuffer
|
Modifier and Type | Method and Description |
---|---|
protected void |
clear()
Performs cleanup of recorded audio data.
|
void |
play()
Plays the recorded audio data, if any.
|
protected void |
record()
Starts the recording of sound, without any visual indication.
|
void |
stop()
Stops playing or recording, if running.
|
busy, finalize, forceStop, getActiveAudioBuffer, hideRecordingCursor, record, showRecordingCursor
protected File file
protected quicktime.std.sg.SequenceGrabber mGrabber
protected quicktime.std.sg.SGSoundChannel mAudio
protected quicktime.app.view.MoviePlayer player
protected Thread recordThread
protected boolean initialized
public void play() throws Exception
AudioBuffer
play
in class AudioBuffer
Exception
- If something goes wrongprotected void clear()
AudioBuffer
clear
in class AudioBuffer
public void stop()
AudioBuffer
stop
in class AudioBuffer
protected void record() throws Exception
AudioBuffer
AudioBuffer
must implement this method.record
in class AudioBuffer
Exception
- If something goes wrong.Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.