protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] open task : MustuxProperties class


From: Martin Herren
Subject: Re: [Protux-devel] open task : MustuxProperties class
Date: Mon, 8 Dec 2003 22:23:49 +0100

On Mon, 8 Dec 2003 11:38:07 -0200
Luciano Giordana <address@hidden> wrote:

> Hi Remon,
> 
> >     MustuxProperties mp = new MustuxProperties( rootDir + 
> > "/song.properties" );
> >     title=mp->getString("title");
> >     artists=mp->getString("artists");
> >     rate=mp->getInt("rate");
> >     bitDepth=mp->getInt("bitDepth");
> >     activeTrackNumber=mp->getInt("activeTrackNumber");
> >     firstBlock=mp->getLongLong("firstBlock");
> >     workingBlock=mp->getLongLong("workingBlock");
> >     hzoom=mp->getInt("hzoom");
> >     editingMode=mp->getInt("editingMode");
> >     delete mp; // it will close the file
> >     PMESG("Reading Song Properties : title=%s rate=%d  
> > bitDepth=%d",title.ascii(),rate,bitDepth);

i looked again at MGP, and that's almost exactly how it works... i began some 
modifications on it so it can be used for song.properties as well, but there is 
not much needed to be changed.

-- 
Martin Herren

Protux - A Free Professional Audio Tool for GNU/Linux:
-> http://www.nongnu.org/protux/
Satellite - BAR CONCERTS CAFES-THEATRES
-> http://sat.epfl.ch

Attachment: pgp7345uvwa0n.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]