Hi Mike
I just noticed that if you hit the pause in Jemplode it pauses - but a second click doesn't start to play.
There's no playResume() so I've made pause toggle the pause state rather than force a pause as it does now.
So:
Index: src/org/jempeg/empeg/protocol/EmpegProtocolClient.java
===================================================================
RCS file: /share/mirror/cvsstore/java/Jemplode/jempeg-empeg/src/org/jempeg/empeg/protocol/EmpegProtocolClient.java,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 EmpegProtocolClient.java
--- src/org/jempeg/empeg/protocol/EmpegProtocolClient.java 4 Nov 2003 23:02:47 -0000 1.1.1.1
+++ src/org/jempeg/empeg/protocol/EmpegProtocolClient.java 7 Nov 2003 18:52:13 -0000
@@ -198,7 +198,7 @@
}
public void pause() throws ProtocolException {
- sendCommand(EmpegRequest.COM_PLAYSTATE, EmpegRequest.PLAYSTATE_PAUSE);
+ sendCommand(EmpegRequest.COM_PLAYSTATE, EmpegRequest.PLAYSTATE_TOGGLE);
}
public void playAppend(long _fid) throws ProtocolException {
HTH
David