Displaying 1 result from an estimated 1 matches for "addshutdownhook".
2007 Aug 21
0
Need help on making speex AEC to work
...// this is just for local playback, a demo only
                speexDecode(bytes, c);
                p.write(bytes, 0, length);    // THIS IS WHERE A FRAME WAS WRITTEN FOR PLAYBACK
            }
            
        });
        p.start();
        r.start();
        Runtime.getRuntime().addShutdownHook(new Thread() {
            public void run() {
                speexDestroy();
            }
        });
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.as...