X hits on this document

PDF document

AVR32709: AVR32 UC3 Audio Decoder Over USB - page 7 / 29

76 views

0 shares

3 downloads

0 comments

7 / 29

AVR32709

Table 5-1.

a i _ a u d i o _ n a v _ e x p m o d e _ s e t c o m m a n d b e h a v i o r

Explorer mode

Behavior

AUDIO EXPLORER MODE DISKS

_

_

_

Builds a file list off all playable songs of all disks, and start playing from the selected file.

AUDIO EXPLORER MODE DISK

_

_

_

Builds a file list off all playable songs of the current disk only, and start playing from the selected file.

AUDIO EXPLORER MODE DIRONLY

_

_

_

Builds a file list off all playable songs that are contained in the current directory, and start playing from the selected file. Sub directories are ignored.

AUDIO EXPLORER MODE DIRSUB

_

_

_

Builds a file list off all playable songs that are contained in the current directory and its sub-directories, and start playing from the selected file.

tly pointing on a folder, the audio navigator will not enter into it. It will look for the first file that is in the current directory and build its file list according to the previous rules.

a goto), a directory or a playlist is selected, then it will select the first file of the file list.

Note that the playing order can be changed at compilation time by enabling a define. This is fully explained in Section 5.8.3 “Example 3 - Change the playing order” on page 17.

Once the file list is set, two main commands are available to navigate into it:

ai_audio_nav_next (select next file) and ai_audio_nav_previous (select previous file).

Options can also be defined to the “Audio Navigator” (to change the repeat mode, enable/dis- able the shuffle mode).

To synchronize back the “Disk Navigator” with the “Audio Navigator”, i.e. make the “Disk Naviga- tor” selecting the file played by the “Audio Navigator”, the command ai_nav_getplayfile can be used. See “Audio Navigation” on page 10. for a complete list of commands.

5.2.3

Audio Control: “control the audio stream (play/pause/fast forward/...)”

This module controls the audio stream of the selected file (selected by the “Audio Navigator”). Commands like play/pause/stop/fast forward/fast rewind… are available. See “Audio Control” on page 13. for a complete list of commands.

    • 5.3

      Limitations

      • 5.3.1

        Speed

Speed navigation (such as file browsing) in directories may be affected if:

7

7817D–AVR32–05/11

Document info
Document views76
Page views76
Page last viewedTue Nov 22 20:23:58 UTC 2016
Pages29
Paragraphs1022
Words9236

Comments