The MediaCodecAudioPlayer test application allows playback of audio tracks from either audio-only or audio/video multimedia files using the nn::mm::Codec and the nn::audio:AudioOut APIs. If there are multiple audio tracks, the first listed audio track is played.

Build Instructions
-------------------
nact -j 4 platforms=NXFP2-a32,NXFP2-a64 specs=NX BUILD=Release,Develop


Command line inputs
-------------------
The only command-line parameter is the absolute path to a media file.

Working commandline parameter example: "c:\content\test.m4a"

Pass condition
-------------------
Audio track is audibile, and test runs/exits cleanly without crashing.

Remarks
-------------------
The test can also be modified to dump raw output as a headless WAV file. Simply uncomment line 29 (//#define FILEDUMP 1), and the output will be written to "c:\temp\AudioPlayer_out.wav". This file can be parsed and played using Audacity's File->Import->RAW command by passing it the following parameters:

    Encoding: Signed 16-bit PCM
    Byte order: Little endian
    Channels: 2 Channels (Stereo)
    Start offset: 0 bytes
    Ammount to import: 100%
    Sample Rate: 48000 Hz