Mercurial > jmeCapture
comparison src/com/aurellem/capture/audio/WaveFileWriter.java @ 52:d799a0278cc9
advanced documentation.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Dec 2011 13:51:28 -0600 |
parents | 388f9d062012 |
children | 302d5e9ad120 |
comparison
equal
deleted
inserted
replaced
51:6a1b28f060e6 | 52:d799a0278cc9 |
---|---|
10 import javax.sound.sampled.AudioSystem; | 10 import javax.sound.sampled.AudioSystem; |
11 | 11 |
12 import org.tritonus.sampled.file.WaveAudioOutputStream; | 12 import org.tritonus.sampled.file.WaveAudioOutputStream; |
13 import org.tritonus.share.sampled.file.TDataOutputStream; | 13 import org.tritonus.share.sampled.file.TDataOutputStream; |
14 import org.tritonus.share.sampled.file.TNonSeekableDataOutputStream; | 14 import org.tritonus.share.sampled.file.TNonSeekableDataOutputStream; |
15 | |
16 /** | |
17 * A SoundProcessor that sends all sound data it receives to a wav file. | |
18 * | |
19 * @author Robert McIntyre | |
20 */ | |
15 | 21 |
16 public class WaveFileWriter implements SoundProcessor { | 22 public class WaveFileWriter implements SoundProcessor { |
17 | 23 |
18 public File targetFile; | 24 public File targetFile; |
19 private WaveAudioOutputStream wao; | 25 private WaveAudioOutputStream wao; |