Package com.avpkit.core.demos
Class DecodeAndPlayAudio
- java.lang.Object
-
- com.avpkit.core.demos.DecodeAndPlayAudio
-
public class DecodeAndPlayAudio extends java.lang.Object
Takes a media container, finds the first audio stream, decodes that stream, and then plays it on the default system device.- Author:
- aclarke
-
-
Constructor Summary
Constructors Constructor Description DecodeAndPlayAudio()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Takes a media container (file) as the first argument, opens it, opens up the default audio device on your system, and plays back the audio.
-
-
-
Constructor Detail
-
DecodeAndPlayAudio
public DecodeAndPlayAudio()
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Takes a media container (file) as the first argument, opens it, opens up the default audio device on your system, and plays back the audio.- Parameters:
args- Must contain one string which represents a filename
-
-