From: Radu B. R. <ru...@cs...> - 2006-02-13 23:32:34
|
Hey Josh, Yes, Javaclient from CVS should work nicely with 1.6.4 (although I always test against 1.6.5 and latest 1.6.5 CVSed). I am currently wrapping up the last classes for Javaclient2, and I think that we should all concentrate our efforts of testing/developing and using on the 2.x API. I will have a beta version soon online. Any requests ? (I will integrate Gareth's exception patches) Btw, functions like the ones above (from AudioMixerInterface) will be obsolete. Instead you will just get something like: AudioMixerInterface ami = request... ami.getLevels (); // request a PLAYER_AUDIOMIXER_GET_LEVELS ... // wait in a loop if (isConfigReady ()) PlayerAudiomixerConfig pac = ami.getConfig (); ... and then access pac.getMaster_left, pac.getMaster_right, pac.getPcm_left...etc So basically all the Player structures will be accessible directly from now on using get/set methods. I think this will ease things a lot. Some feedback would be nice :) Cheers, Radu. Josh Beitelspacher wrote: >Is it possible to use the latest version of Javaclient from CVS with >Player 1.6.4? It seems that I'd loose a lot of recent bug fixes by >going back to an old version of Javaclient, but I don't know if this >combination will cause me any problems. > >Also, I've noticed that the HEAD revision in CVS generates several >"the field is never read locally" errors in Eclipse. A few of these >are actually bugs cause by a trivial oversight when copying and >pasting: > >Index: javaclient/AudioMixerInterface.java >=================================================================== >--- javaclient/AudioMixerInterface.java >+++ javaclient/AudioMixerInterface.java (working copy) >@@ -148,11 +148,11 @@ > public synchronized int getMasterLeft () { return masterLeft; } > public synchronized int getMasterRight () { return masterRight; } > public synchronized int getPCMLeft () { return pcmLeft; } >- public synchronized int getPCMRight () { return pcmLeft; } >+ public synchronized int getPCMRight () { return pcmRight; } > public synchronized int getLineLeft () { return lineLeft; } >- public synchronized int getLineRight () { return lineLeft; } >+ public synchronized int getLineRight () { return lineRight; } > public synchronized int getMicLeft () { return micLeft; } >- public synchronized int getMicRight () { return micLeft; } >+ public synchronized int getMicRight () { return micRight; } > public synchronized int getIGain () { return iGain; } > public synchronized int getOGain () { return oGain; } > } > > >Thanks, >Josh > > -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |