summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-24 06:52:54 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-24 06:52:54 -0600
commitd01e4f9d601e86759fdec1832f9326159f1005e2 (patch)
treedb2f668df94b14f9c4ea91c859acdc70d0bfa303 /NxWidgets/nxwm/include
parentb74c54a60a73f570a0503e22fc28023d33fb94ed (diff)
downloadnuttx-d01e4f9d601e86759fdec1832f9326159f1005e2.tar.gz
nuttx-d01e4f9d601e86759fdec1832f9326159f1005e2.tar.bz2
nuttx-d01e4f9d601e86759fdec1832f9326159f1005e2.zip
Need debug output from CMediaPlayer if either audio or graphics debug enabled
Diffstat (limited to 'NxWidgets/nxwm/include')
-rw-r--r--NxWidgets/nxwm/include/cmediaplayer.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/include/cmediaplayer.hxx b/NxWidgets/nxwm/include/cmediaplayer.hxx
index b2f5072f6..6e19ddaf3 100644
--- a/NxWidgets/nxwm/include/cmediaplayer.hxx
+++ b/NxWidgets/nxwm/include/cmediaplayer.hxx
@@ -83,6 +83,20 @@ namespace NxWM
private:
/**
* This enumeration identifies the state of the media player
+ *
+ * State Transition Table
+ * ---------+----------+----------+----------+----------+----------+----------+
+ * | FILE | FILE | | | FAST | |
+ * STATE | SELECTED |DESELECTED| PLAY | PAUSE | FORWARD | REWIND |
+ * ---------+----------+----------+----------+----------+----------+----------+
+ * STOPPED | PAUSED | X | X | X | X | X |
+ * PAUSED | PAUSED | STOPPED | PLAYING | X |FFORWARD1 | REWIND1 |
+ * PLAYING | X | X | X | PAUSED |FFORWARD2 | REWIND2 |
+ * FFORWARD1| X | X | PAUSED | X | PAUSED | REWIND1 |
+ * REWIND1 | X | X | PAUSED | X |FFORWARD1 | PAUSED |
+ * FFORWARD2| X | X | X | PLAYING | PLAYING | REWIND1 |
+ * REWIND2 | X | X | X | PLAYING |FFORWARD1 | PLAYING |
+ * ---------+----------+----------+----------+----------+----------+----------+
*/
enum EMediaPlayerState