forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TagLib port

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pitanicky



Joined: 11 Nov 2006
Posts: 2

PostPosted: Sat Nov 11, 2006 3:12 pm    Post subject: TagLib port Reply with quote

Hi Everybody!

I've just finished a port (err... compile, I only had to change about 3 lines) of TagLib. TagLib is a library used to extract the meta data from various media formats. A while back I needed something like this, but did not know where to look.

To configure:
Code:
CC=psp-gcc CPP=psp-cpp LIBS="-L$(psp-config --pspsdk-path)/lib -lpspdebug -lpspsdk -lc -lpspuser -lpspkernel" CXX=psp-g++ AR=psp-ar STRIP=psp-strip LD=psp-ld RANLIB=psp-ranlib \
./configure --host=x86-unknown-linux-gnu --libdir=$(psp-config --psp-prefix)/lib --includedir=$(psp-config --psp-prefix)/include --prefix=$(psp-config --psp-prefix)

To compile:
Code:
make

To install:
Code:
make install

Patch File:
http://obberon.com/uploads/taglib-1.4.patch

Source code:
http://developer.kde.org/~wheeler/taglib.html

By the way, the replacements of the strdup's might not have been necessary, but I could not locate the header that included strdup. Also, I was unable to find a ftruncate equivalent, and did not want to write my own, so it is commented out. It seems that it is only used in the mpeg part of the library. Maybe someone else can do this.

TagLib also includes its own C++ library with useful class such as string, bytearray, file, etc.

Note: Only reading tags of MP3's was tested.


Last edited by pitanicky on Sun Nov 12, 2006 5:00 am; edited 1 time in total
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Sat Nov 11, 2006 7:34 pm    Post subject: Reply with quote

thank you for your trouble
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group