[speex-dev] optimization possible?

Ulrich B. Staudinger us at die-horde.de
Mon Nov 3 01:07:08 PST 2003



hi,
i did some tests about performance in jspeex ...

uls at mainframe:~/eclipse/avrelay$ java TestClient
Diff1: 0
10
Diff2: 141
started.
uls at mainframe:~/eclipse/avrelay$

<p>{
    SpeexEncoder e1=new SpeexEncoder();
    e1.init(0,1,44100,1);
    byte[] by1=new byte[320];
    long l1=System.currentTimeMillis();
    long l2=System.currentTimeMillis();
    System.out.println("Diff1: "+(l2-l1));
    e1.processData(by1,0,by1.length);
    System.out.println(e1.getProcessedDataByteSize());
    l2=System.currentTimeMillis();
    System.out.println("Diff2: "+(l2-l1));
    System.out.println("started.");           
}

<p>Is there a way to optimize this outstanding cruncher?

thanks,
ulrich

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Speex-dev mailing list