X hits on this document

PDF document

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

77 views

0 shares

3 downloads

0 comments

9 / 29

Table 5-2.

Disk Navigator Commands

Command Name

Input

Return

Output Extra result

ai nav file nb

_

_

_

Number of audio files

ai nav dir nb

_

_

_

Number of directories

a i _ n a v _ p l a y l i s t _ n b

Number of playlists

ai nav dir name

_

_

_

Length of the string in bytes

UNICODE name

ai nav file name

_

_

_

Length of the string in bytes

UNICODE name

a i _ n a v _ f i l e _ i n f o _ t y p e

File type

ai nav file info version

Version number

_

_

_

_

ai nav file info title

_

_

_

_

Length of the string in bytes

UNICODE title

ai nav file info artist

_

_

_

_

Length of the string in bytes

UNICODE artist

ai nav file info album

_

_

_

_

Length of the string in bytes

UNICODE album

a i _ n a v _ f i l e _ i n f o _ y e a r

Year

ai nav file info track

_

_

_

_

Length of the string in bytes

UNICODE info

a i _ n a v _ f i l e _ i n f o _ g e n r e

Length of the string in bytes

UNICODE genre

ai nav file info duration

_

_

_

_

Duration of the track

a i _ n a v _ f i l e _ i n f o _ i m a g e

Max image size

Image size

  • -

    True of false

  • -

    A pointer on the

image data

a i _ n a v _ g e t p l a y f i l e

True or false

7817D–AVR32–05/11

AVR32709

Description

Returns the number of audio files in the file list. Audio files are all the files which extensions matches *.mp3 or *.wma (it depends on the file format supported). There is a specific command for playlist files, see below.

Returns the number of directories in the file list.

Returns the number of playlists in the file list. The playlists are all the files matching with the extension *.m3u, *.pls and *.smp.

Returns the name of the current directory.

Returns the name of the selected file.

Returns the type of the audio file selected.

Returns the version of the metadata storage method used for the selected audio file if available, otherwise, returns 0.

Returns the title of the selected audio file if available, otherwise, returns an empty string.

Returns the artist’s name of the selected audio file if available, otherwise, returns an empty string.

Returns the album’s name of the selected audio file if available, otherwise, returns an empty string.

Returns the year of the selected audio file if available, otherwise, returns 0.

Returns the track information of the selected audio file if available, otherwise, returns an empty string.

Returns the genre of the selected audio file if available, otherwise, returns an empty string.

Returns the total time of the selected audio file in milliseconds if available, otherwise, returns 0.

Returns information and a pointer on a bitmap of the embedded cover art of the selected audio file. Return false in case of error.

Selects the file selected by the audio navigator. This command is the only link between these two navigators. Return false in case of error.

9

Document info
Document views77
Page views77
Page last viewedSat Dec 03 05:25:50 UTC 2016
Pages29
Paragraphs1022
Words9236

Comments