
7th May 2009, 2:28 pm
|
 |
Senior Member
Valued Member
|
|
Join Date: May 2007
Posts: 1,285
|
|
Re: Hooray!!! Rockchip SDK!
Been playing with Id3 tags.
Can now get any Id3 tag to appear at will, going to alter the display to get the tags to scroll and display more music info on screen.
Quote:
if(pMusicPlayStruct->DisplayFlag.bit.bLongFileName == 1)
{
DisplayPicture(0,109,PLAY_M_NAME_XSIZE,PLAY_M_NAME _YSIZE,NFA_PLAY_M_NAME);//blanks out filename
MusicDisplayBlock.MusicUnion.Lrc.pId3Info = (unsigned int *)(&Id3Info);
MusicPlayInfo.DispState = ID3_DISPLAY;
ID3_TAG *pId3Tag = (ID3_TAG*)(pMusicPlayStruct->MusicUnion.Lrc.pId3Info);
r.x0 = 0;
r.y0 = 111;
r.x1 = 194;
r.y1 = 142;
//LCD_DispStringInRect(&r,&r,pMusicPlayStruct->MusicUnion.Music.pLongFileName, LCD_TEXTALIGN_LEFT);//knob display actual Filename
//LCD_DispStringInRect(&r,&r,pId3Tag->id3_album, LCD_TEXTALIGN_LEFT); //knob how to get Id3 tag album
//knob how to get Id3 tags
LCD_DispStringInRect(&r,&r,pId3Tag->id3_title, LCD_TEXTALIGN_LEFT); //knob how to get Id3 tag artist
}
|
Would also like to get some more readable bitmapped fonts mapped to replace the system font.
|