c4cb43a7d3
1) Avoid becoming confused about the current state of "pause" when rewinding/forwarding to the prev/next track. 2) Use capital 'E' instead of lower 'e' for Eject. The 'e' button is too close to the 'r' button and accidentally ejecting when you're trying to rewind is really annoying. 3) When multiple subsequent r)ewind or f)orward operations are used before the ioctl() from an earlier r)ewind or f)orward has returned, perform the delayed 'r' and 'f' operations all at once rather than individually (and serially). This avoids a buffer overflow crash that could occur and also makes the 'r' and 'f' controls much more usable Update PORTREVISION for these improvements.
26 lines
511 B
Plaintext
26 lines
511 B
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- ./cdplay.h.orig Mon May 19 15:44:41 2003
|
|
+++ ./cdplay.h Mon May 19 15:55:12 2003
|
|
@@ -71,8 +71,9 @@
|
|
void prev(void);
|
|
void stop(void);
|
|
void cdpause(void);
|
|
-void ff(void);
|
|
-void rew(void);
|
|
+void cdsoftpause(void);
|
|
+void ff(int);
|
|
+void rew(int);
|
|
void eject(void);
|
|
|
|
/* Terminal related functions */
|
|
@@ -90,6 +91,7 @@
|
|
void hs_winch(void);
|
|
void do_exit(int);
|
|
void do_stop(void);
|
|
+void getcommand(char *command, int *repetivity);
|
|
|
|
/* Awesome!!1!!1! 2 sound functions */
|
|
void more_vol(void);
|