VLSI Solution Oy VLSI Solution Oy Evaluation MP3 Player Source Code Documentation

Main Page | Class List | File List | Class Members | File Members | Related Pages

ui.h File Reference

User Interface common definitions - functions are still in player.c. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Enumerations

enum  uimodetype {
  UI_TITLE, UI_SPEC, UI_VOLUME, UI_BASS,
  UI_TREBLE, UI_CUE, UI_RECLEVEL, UI_INFO,
  UI_STOP, UI_END_OF_MODES
}
 User Interface Modes. More...

enum  playingstatetype {
  PS_NORMAL = 0, PS_END_OF_SONG, PS_NEXT_SONG, PS_PREVIOUS_SONG,
  PS_CUE, PS_CUE_WAIT1003, PS_CUE_ACTION, PS_REWIND,
  PS_REW_WAIT1003, PS_FALLBACK_1, PS_FALLBACK_N, PS_RECORDING
}
 Playing states. More...


Variables

xdata uimodetype uiMode
 Current User Interface mode (Title, Volume, ...).

xdata playingstatetype playingState
 Playing State Global.


Detailed Description

User Interface common definitions - functions are still in player.c.

Definition in file ui.h.


Enumeration Type Documentation

enum playingstatetype
 

Playing states.

Todo:
safe rewind
Enumeration values:
PS_NORMAL  Continue playing, do nothing special.
PS_END_OF_SONG  Request termination of current song.
PS_NEXT_SONG  Request next song.
PS_PREVIOUS_SONG  Request previous song.
PS_CUE  Request to start fast forward.
PS_CUE_WAIT1003  WMA: wait for permission to break stream.
PS_CUE_ACTION  Just do it.
PS_REWIND  Request to start rewind (not implemented).
PS_REW_WAIT1003  WMA: wait for permission to break stream.
PS_FALLBACK_1  Start fallback to normal after ff/rew.
PS_FALLBACK_N  fallbackCount sectors to PS_NORMAL
PS_RECORDING  Recording mode.

Definition at line 22 of file ui.h.

00022 { 00023 PS_NORMAL = 0, 00024 PS_END_OF_SONG, 00025 PS_NEXT_SONG, 00026 PS_PREVIOUS_SONG, 00027 PS_CUE, 00028 PS_CUE_WAIT1003, 00029 PS_CUE_ACTION, 00030 PS_REWIND, 00031 PS_REW_WAIT1003, 00032 PS_FALLBACK_1, 00033 PS_FALLBACK_N, 00034 PS_RECORDING 00036 } playingstatetype;

enum uimodetype
 

User Interface Modes.

Enumeration values:
UI_TITLE  Track, title and playing time.
UI_SPEC  Spectrum Analyzer.
UI_VOLUME  Volume setting.
UI_BASS  Bass enhancer setting.
UI_TREBLE  Treble enhancer setting.
UI_CUE  ask to FF/REW?
UI_RECLEVEL  Recording Level setting.
UI_INFO  Decoding info.
UI_STOP  Stop and return to browser?
UI_END_OF_MODES  Nothing, jump go to first mode.

Definition at line 7 of file ui.h.

00007 { 00008 UI_TITLE, 00009 UI_SPEC, 00010 UI_VOLUME, 00011 UI_BASS, 00012 UI_TREBLE, 00013 UI_CUE, 00014 UI_RECLEVEL, 00015 UI_INFO, 00016 UI_STOP, 00017 UI_END_OF_MODES 00018 } uimodetype;


Variable Documentation

xdata playingstatetype playingState
 

Playing State Global.

Definition at line 37 of file ui.h.

xdata uimodetype uiMode
 

Current User Interface mode (Title, Volume, ...).

Definition at line 19 of file ui.h.

Referenced by AvailableProcessorTime(), main(), and Record().


All software copyright 2000-2004 VLSI Solution OY. Redistribution of these software modules are limited to promotional use only and only with the VS1011 / VS1002 / VS1003 MP3-Evakit evaluation boards. Free or commercial use of these software modules in MP3 players is ok if the product includes MP3 decoder chip(s) from VLSI. You can request the complete (compilable) package from mp3@vlsi.fi