|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpgbennett.jampal.AudioCommon
public class AudioCommon
Common methods for audio examples.
| Constructor Summary | |
|---|---|
AudioCommon()
|
|
| Method Summary | |
|---|---|
static javax.sound.sampled.AudioFileFormat.Type |
findTargetType(java.lang.String strExtension)
Trying to get an audio file type for the passed extension. |
static javax.sound.sampled.Mixer.Info |
getMixerInfo(java.lang.String strMixerName)
TODO: This method tries to return a Mixer.Info whose name matches the passed name. |
static javax.sound.sampled.TargetDataLine |
getTargetDataLine(java.lang.String strMixerName,
javax.sound.sampled.AudioFormat audioFormat,
int nBufferSize)
TODO: |
static void |
listMixers()
TODO: |
static void |
listSupportedTargetTypes()
TODO: |
static void |
setDebug(boolean bDebug)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AudioCommon()
| Method Detail |
|---|
public static void setDebug(boolean bDebug)
public static void listSupportedTargetTypes()
public static javax.sound.sampled.AudioFileFormat.Type findTargetType(java.lang.String strExtension)
public static void listMixers()
public static javax.sound.sampled.Mixer.Info getMixerInfo(java.lang.String strMixerName)
public static javax.sound.sampled.TargetDataLine getTargetDataLine(java.lang.String strMixerName,
javax.sound.sampled.AudioFormat audioFormat,
int nBufferSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||