protux-devel
[Top][All Lists]
Advanced

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

Re: [Protux-devel] reimplementation of GlobalProperties


From: Martin Herren
Subject: Re: [Protux-devel] reimplementation of GlobalProperties
Date: Thu, 16 Jan 2003 18:39:18 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1

Luciano Giordana wrote:

from these lines in MustuxGlobalProperties :

            set("JMB_CLEAR_TIME", 2000);
            set("JMB_HOLD_SENSITIVENESS_FACTOR", 10);
            set("JMB_DOUBLE_PRESS_INTERVAL", 200);

these :

            set("HZOOM_LEVEL", 12);
            set("DEFAULT_NUM_TRACKS", 6);
            set("MINIMUM_MULTITRACKAREA_WIDTH", 740);
            set("MINIMUM_MULTITRACKAREA_HEIGHT", 400);
            set("SPECTROGRAM_WIDTH", 200);
            set("SPECTROGRAM_HEIGHT", 100);
            set("SLICE_WIDTH_FACTOR", 1);
            set("MP3_DECODE_COMMAND", "mpg123 -w %if");
            set("OGG_DECODE_COMMAND", "ogg123 -d wav %if");
            set("MP3_ENCODE_COMMAND", "notlame -b320 %if");
            set("OGG_ENCODE_COMMAND", "oggenc -b320 %if");
            set("DEFAULT_SAMPLE_RATE", 44100);
            set("DEFAULT_BIT_DEPTH", 16);

should be set from outside MustuxGlobalProperties (maybe right after the init() 
call)
since they are contextive only from protux , not from all mustux applications

Regards

yeah, i thought that all of them should be set outside mustux, but it's true that the JMB_* could be kept in MustuxGlobalProperties. For this init() should return a bool, which is set to false if there was no file, so that the application know it has to set them.

/Martin





reply via email to

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