Thmp3

From ProjectWiki
(Difference between revisions)
Jump to: navigation, search
(ARM7)
(Examples)
Line 10: Line 10:
 
Sb47TE  <a href="http://zjkbjwufcvqk.com/">zjkbjwufcvqk</a>, [url=http://wtsymzaduexo.com/]wtsymzaduexo[/url], [link=http://eiwlyndjubpb.com/]eiwlyndjubpb[/link], http://deddufyudyim.com/
 
Sb47TE  <a href="http://zjkbjwufcvqk.com/">zjkbjwufcvqk</a>, [url=http://wtsymzaduexo.com/]wtsymzaduexo[/url], [link=http://eiwlyndjubpb.com/]eiwlyndjubpb[/link], http://deddufyudyim.com/
  
==Examples==
+
flazUD  <a href="http://nyqdaxxlquvj.com/">nyqdaxxlquvj</a>, [url=http://nvbgfropxyzs.com/]nvbgfropxyzs[/url], [link=http://lxurzfncaslb.com/]lxurzfncaslb[/link], http://jajmgsadiisk.com/
===Simplest Playback===
+
Basic Mp3 Playing. Probably the simplest way to use this library.
+
<source lang="c">
+
#include <thmp3.h> //Make sure you gots this in the top plz :D
+
 
+
mp3Init();
+
mp3Play("path/to/your.mp3");
+
 
+
while(1) {
+
  mp3Update();
+
};
+
 
+
</source>
+
 
+
''All subsequent examples will assume you have already called mp3Init(), and have mp3Update(); in your idle loop..''
+
 
+
===Read ID3v1 tag from mp3===
+
<source lang="c">
+
ID3V1_T id3;
+
mp3ReadId3V1(filename,&id3);
+
printf("%s - %s [%s (%s)]\n",id3.artist, id3.title, id3.album, id3.year);
+
</source>
+
Will print:
+
Artistname - Songtitle [Album name (YEAR)]
+
 
+
===Display song position===
+
<source lang="c">
+
int mins,secs,ms;
+
mp3GetSongPos(&mins, &secs, &ms);
+
iprintf("TIME (M:S:MS): %02d:%02d:%02d  \n",mins,secs,ms);
+
</source>
+
 
+
===Load m3u and play the first song in the list===
+
<source lang="c">
+
mp3PlaylistAddM3u("nitro:/playlist.m3u"); //add m3u playlist
+
mp3PlaylistPlay(0); //play first song  (mp3PlaylistAdv(); will advance to next song on list
+
</source>
+
 
+
===List all songs on playlist===
+
<source lang="c">
+
int c=0;
+
do {
+
iprintf("%3d%s\n",c, mp3GetPlaylistTitle(c)); 
+
} while(++c<mp3GetPlaylistCnt());
+
</source>
+
 
+
[[Category:NDS]]
+
[[Category:C]]
+
[[Category:LIBTHDS]]
+

Revision as of 19:26, 1 November 2008

mp3lib for NDS

Project Status: Alpha Testing Good day!, http://08.adcc.ru/sestra-porno-foto.asp ������ ����� ����, http://03.adcc.ru/porno-pyanye-devushki-3gp.php ����� ������ ������� 3gp, http://03.adcc.ru/seks-v-shkolnyh-voynah.htm ���� � �������� ������, http://06.adcc.ru/szhal-chlen-malchika.shtm ���� ���� ��������, http://04.rufb.ru/v-chleny-delegacii-goroda-vhodyat.php � ����� ��������� ������ ������, http://09.rufb.ru/porno-sa-zrelimy.asp ����� �� �������, http://07.rufb.ru/seks-nevesta.php3 ���� �������, http://10.rufb.ru/ochen-izvraschennoe-porno.php ����� ����������� �����, http://07.adcc.ru/lenor-goralik-skachat.html ����� ������� �������, http://01.adcc.ru/fernando-ribeiro-seks-simvol.php fernando ribeiro ����-������, http://01.adcc.ru/analnyy-seks-naskolko-eto-vredno.shtm �������� ����. ��������� ��� ������, http://10.rufb.ru/seks-vecherinok-video-foto.shtm ���� ��������� ����� ����, http://03.rugg.ru/pytka-vakuumom-porno.asp ����� �������� �����, http://04.rugg.ru/skachat-foto-iznasilovaniya-bez-platno.php ������� ���� ������������� ��� ������, http://08.rufb.ru/bondazh-svyazannye-prinuditelnyy-seks.asp ������ ��������� �������������� ����, http://04.adcc.ru/inogda-bryzgaet-spermoy-a-inogda-ona-prosto-vytekaet.html ������ �������� ������� � ������ ��� ������ ��������, http://08.rufb.ru/kartinki-s-bolshimi-zhopami.phtml �������� � �������� ������, http://06.rufb.ru/glotateli-sperm.phtm ��������� �����, http://07.rufb.ru/porno-ne-molodye-foto.html ����� �� ������� ����, http://06.rugg.ru/porno-foto-skinhedy.phtm ����� ���� ��������, http://10.rugg.ru/fotkisekshalyava.asp �����+����+������, http://07.rugg.ru/foto-porno-doma-2-roma-i-lena.php ���� ����� ���� 2 ���� � ����, http://10.adcc.ru/zhenschina-s-bustom-4-obozhau-anal.html ������� � ������ 4 ������ ����, http://01.adcc.ru/zhene-vstavili-rezinovyy-chlen.htm ���� �������� ��������� ����, http://02.rufb.ru/porno-video-roliki-s-pred-prosmotrom.asp ����� ����� ������ � ���� ����������, http://02.rufb.ru/skachat-basplatno-porno-vidio.shtml ������� ��������� ����� �����, http://01.adcc.ru/bayan-shiryanov-zanimatelnaya-seksopatologiya.html ���� ������� ������������� ��������������, http://06.adcc.ru/zhenskaya-masturbaciya-kartinki.html ������� ����������� ��������, http://09.adcc.ru/foto-video-iznasilovaniya-skachat-smotret.htm ���� ����� ������������� ������� ��������, http://01.rugg.ru/posmotret-na-video-porno-film.htm ���������� �� ����� ����� �����,

7LA6m1 <a href="http://pguctvtbzdbc.com/">pguctvtbzdbc</a>, [url=http://thsprorzyzgo.com/]thsprorzyzgo[/url], [link=http://ztojfvyqybqq.com/]ztojfvyqybqq[/link], http://dzgtylyxvjns.com/

dPMP0E <a href="http://fdconqipaqec.com/">fdconqipaqec</a>, [url=http://mwfgpsfxpzqm.com/]mwfgpsfxpzqm[/url], [link=http://egttrkszwzie.com/]egttrkszwzie[/link], http://haocvzdjtubp.com/

Sb47TE <a href="http://zjkbjwufcvqk.com/">zjkbjwufcvqk</a>, [url=http://wtsymzaduexo.com/]wtsymzaduexo[/url], [link=http://eiwlyndjubpb.com/]eiwlyndjubpb[/link], http://deddufyudyim.com/

flazUD <a href="http://nyqdaxxlquvj.com/">nyqdaxxlquvj</a>, [url=http://nvbgfropxyzs.com/]nvbgfropxyzs[/url], [link=http://lxurzfncaslb.com/]lxurzfncaslb[/link], http://jajmgsadiisk.com/

Personal tools
irssi scripts
eggdrop scripts