VLSI Solution Oy / MegaLib Documentation

Player Struct Reference

#include <player.h>


Data Fields

s_int16 totalFiles
s_int16 currentFile
s_int16 nextFile
s_int16 nextStep
s_int16 pauseOn
s_int16 randomOn
s_int16 volume
s_int16 volumeOffset
u_int16 offDelay
u_int16 ffCount
u_int16 maxClock


Detailed Description

Structure used by the default firmwares play loop.

Definition at line 14 of file player.h.


Field Documentation

s_int16 Player::currentFile
 

current playing file

Definition at line 16 of file player.h.

u_int16 Player::ffCount
 

fast forward/rewind counter

Definition at line 24 of file player.h.

u_int16 Player::maxClock
 

max clock used by player: 7=3.5x, 6=3.0x etc. Default = 7, depends on core voltage.

Definition at line 25 of file player.h.

s_int16 Player::nextFile
 

next file to play, changed by key events like ke_next

Definition at line 17 of file player.h.

s_int16 Player::nextStep
 

skip direction, 1 = next, -1 = previous

Definition at line 18 of file player.h.

u_int16 Player::offDelay
 

pause timeout in 5 sec increments -> power off

Definition at line 23 of file player.h.

s_int16 Player::pauseOn
 

non-zero for pause mode

Definition at line 19 of file player.h.

s_int16 Player::randomOn
 

non-zero for random play mode

Definition at line 20 of file player.h.

s_int16 Player::totalFiles
 

total number of matching files

Definition at line 15 of file player.h.

s_int16 Player::volume
 

volume -24 to 180 in 0.5dB steps

Definition at line 21 of file player.h.

s_int16 Player::volumeOffset
 

volume offset, set by replayGain, default -12

Definition at line 22 of file player.h.


The documentation for this struct was generated from the following file:
All software copyright 2005-2006 VLSI Solution OY. Redistribution of this software is strictly forbidden.