VAR-SOM-MX6 Android Audio: Difference between revisions

From Variscite Wiki
Line 22: Line 22:
- To review recorded audio, you may click on play button <br>
- To review recorded audio, you may click on play button <br>
[[Audio Review.png]]
[[Audio Review.png]]
- Click on music player app (Cactus Player)  
- Click on music player app (Cactus Player) <br>
[[Audio Output.png]]
[[Audio Output.png]]
- Click on music / recorded audio you captured  
- Click on music / recorded audio you captured <br>
[[Audio_Output2.png]]]
[[Audio_Output2.png]]]

Revision as of 21:06, 23 November 2018

Android Audio

To give you overview we recommend you go through the https://source.android.com/devices/audio documents.

Android Provides

  1. Audio HAL from NXP
  2. Variscite adds codec support to the HAL
  3. Once you program the images, it comes with the required HAL support.

Hardware Setup

Audio In

- Connect 3.5 mm jack to Audio In: Ref:https://www.amazon.ca/AmazonBasics-3-5mm-Stereo-Audio-Cable/dp/B00NO73MUQ
- One side Audio Output, one side Audio In Jack of the platform.

Audio Output

- Connect 3.5 mm headphone jack to headphone / speaker

Audio In test

- Start Sound Record as per below screen shot
- Make sure you have audio available - Click on the record button and you should see below screen Audio In.png

Audio Out test

- To review recorded audio, you may click on play button
Audio Review.png - Click on music player app (Cactus Player)
Audio Output.png - Click on music / recorded audio you captured
Audio_Output2.png]