VLSI Solution Oy VS1103 VLSI Solution Karaoke, MIDI and ADPCM Player Source Code Documentation

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

ui.h

Go to the documentation of this file.
00001 
00003 #ifndef UI_H
00004 #define UI_H
00005 
00007 typedef enum {
00008   //UI_MODE,      
00009   UI_MIDISOURCE,
00010   UI_MIDIFILE,      
00011   UI_WAVEFILE,      
00012   UI_RECORDFILE,
00013   UI_MIDITRANSPOSE,
00014   UI_MIDIVOLUME,
00015   UI_WAVEVOLUME,
00016   UI_MIC_VOLUME,
00017   UI_MIC_GAIN,
00018   UI_VOLUME,       
00019   UI_ECHOMODE,
00020   UI_BASS,         
00021   UI_TREBLE,       
00022   UI_MIDI_CH1,
00023   UI_MIDI_CH2,
00024   UI_MIDI_CH3,
00025   UI_MIDI_CH4,
00026   UI_MIDI_CH5,
00027   UI_MIDI_CH6,
00028   UI_MIDI_CH7,
00029   UI_MIDI_CH8,
00030   UI_MIDI_CH9,
00031   UI_MIDI_CH10,
00032   UI_MIDI_CH11,
00033   UI_MIDI_CH12,
00034   UI_MIDI_CH13,
00035   UI_MIDI_CH14,
00036   UI_MIDI_CH15,
00037   UI_MIDI_CH16,
00038   UI_END_OF_MODES  
00039 } uimodetype;
00040 extern xdata uimodetype uiMode;
00041 
00043 typedef enum {
00044   PS_NORMAL = 0,    
00045   PS_END_OF_SONG,   
00046   PS_NEXT_SONG,     
00047   PS_PREVIOUS_SONG, 
00048   PS_CUE,           
00049   PS_CUE_WAIT1003,  
00050   PS_CUE_ACTION,    
00051   PS_REWIND,        
00052   PS_REW_WAIT1003,  
00053   PS_FALLBACK_1,    
00054   PS_FALLBACK_N,    
00055   PS_RECORDING      
00057 } playingstatetype;
00058 //extern xdata playingstatetype playingState;
00059 
00060 
00061 #define NEXT_THRESHOLD (2)
00062 #define PREV_THRESHOLD (-2)
00063 
00064 extern xdata unsigned char volume;
00065 
00066 
00067 #endif

All software copyright 2000-2004 VLSI Solution OY. Redistribution of these software modules is limited to VLSI Solution Oy chip promotional use only. Free or commercial use of these software modules in MP3 players is ok if the product includes chip(s) from VLSI. You can request the complete (compilable) package from mp3@vlsi.fi. This exampe code is provided with good faith to assist You in code development, but under no circumstances will VLSI offer any guarantees on the usability or functionality of any example software or its fitness for any purpose.