📄 rec_utile.lst
字号:
C51 COMPILER V7.50 REC_UTILE 08/18/2008 14:21:06 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE REC_UTILE
OBJECT MODULE PLACED IN ..\output\output_bin\output_record\rec_utile.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\..\code\ap_record\src\rec_utile.c LARGE OPTIMIZE(9,SIZE) BROWSE INCDIR(.
-.\..\..\bsp\include;..\..\code\ap_record\src\include;..\..\code\global;..\..\code\include) DEFINE(CONFIG_ASIC,dynamic_lo
-ad) DEBUG OBJECTEXTEND PRINT(..\output\output_bin\output_record\rec_utile.lst) OBJECT(..\output\output_bin\output_record
-\rec_utile.obj)
line level source
1 /****************************
2 * mp3_utile.c
3 ****************************/
4
5 #include <string.h>
6 #include "api.h"
7 #include "lcd.h"
8 #include "common.h"
9 #include "display.h"
10 //#include "mp3_utile.h"
11 #include "rec_display.h"
12 #include "rec_main.h"
13 #include "prefer.h"
14
15 #if 0
BOOLEAN music_pause(void)
{
if(api_bPause()) {
return true;
}
return false;
}
BOOLEAN music_play(void)
{
if(api_bPlay()) {
bg_color = COLOR_WHITE;
memcpy(&play_dir, &curr_dir, sizeof(FILE_INFORMATION));
music_on = true;
return true;
}
return false;
}
BOOLEAN music_stop(void)
{
if(api_bStop()) {
music_on = false;
return true;
}
return false;
}
#endif
49
50 void song_timeon(SONGTIME type)
51 {
52 1 INT32U data sec;
C51 COMPILER V7.50 REC_UTILE 08/18/2008 14:21:06 PAGE 2
53 1
54 1 if(type == TIME_PLAY)
55 1 sec = api_u32GetPlayingTime();
56 1 else if(type == TIME_LEFT)
57 1 sec = curr_music.u32Length - api_u32GetPlayingTime();
58 1 else
59 1 sec = curr_music.u32Length;
60 1
61 1 my_sprintf(_buf, "%02d:%02d:%02d",(INT16U)((sec /216000) / 3600), (INT16U)((sec % 3600) / 60), (INT16U)(
-sec % 60));
62 1 }
63
64 #if 0
void deal_loop()
{
if(api_bStop() == FALSE)
return;
if(tUserPreference.u8RepeatMode == 0)//NORMAL LOOP
{
if (find_good_media(1, SELECT_CUR) == FALSE)
return;
if (1 == curr_music.)u16Order
music_on = false;
else {
if (api_bPlay() == FALSE)
return;
music_on = 1;
}
}
else if(tUserPreference.u8RepeatMode == 1)
{
if (find_good_media(0, SELECT_CUR) == FALSE)
return ;
if (api_bPlay() == FALSE)
return ;
music_on = 1;
}
else
{
if (find_good_media(1, SELECT_CUR) == FALSE)
return ;
if (api_bPlay() == FALSE)
return ;
music_on = 1;
}
}
#endif
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 168 ----
CONSTANT SIZE = 15 ----
XDATA SIZE = ---- 1
PDATA SIZE = ---- ----
DATA SIZE = ---- 4
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -