AB repeat: define single button mode for the Player so that it becomes usable, and enable AB repeat for the Ondios, also in single button mode.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17975 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-07-07 07:04:07 +00:00
parent 2bfcb95fea
commit 105eef98fa
4 changed files with 28 additions and 30 deletions

View file

@ -27,6 +27,9 @@
/* define this if you have an Ondio style 6-key keyboard */ /* define this if you have an Ondio style 6-key keyboard */
#define CONFIG_KEYPAD ONDIO_PAD #define CONFIG_KEYPAD ONDIO_PAD
#define AB_REPEAT_ENABLE 1
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have access to the pitchscreen */ /* define this if you have access to the pitchscreen */
#define HAVE_PITCHSCREEN #define HAVE_PITCHSCREEN

View file

@ -20,6 +20,9 @@
/* define this if you have an Ondio style 6-key keyboard */ /* define this if you have an Ondio style 6-key keyboard */
#define CONFIG_KEYPAD ONDIO_PAD #define CONFIG_KEYPAD ONDIO_PAD
#define AB_REPEAT_ENABLE 1
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* define this if you have access to the pitchscreen */ /* define this if you have access to the pitchscreen */
#define HAVE_PITCHSCREEN #define HAVE_PITCHSCREEN

View file

@ -16,11 +16,12 @@
/* define this if you have the Player's keyboard */ /* define this if you have the Player's keyboard */
#define CONFIG_KEYPAD PLAYER_PAD #define CONFIG_KEYPAD PLAYER_PAD
#define AB_REPEAT_ENABLE 1
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
/* The number of bytes reserved for loadable plugins */ /* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x8000 #define PLUGIN_BUFFER_SIZE 0x8000
#define AB_REPEAT_ENABLE 1
/* Define this if you have a MAS3507D */ /* Define this if you have a MAS3507D */
#define CONFIG_CODEC MAS3507D #define CONFIG_CODEC MAS3507D

View file

@ -11,8 +11,8 @@ related to audio playback.
% %
\item[Repeat]Configures settings related to repeating of directories or \item[Repeat]Configures settings related to repeating of directories or
playlists.\\ playlists.\\
Options: \setting{Off} / \setting{All} / \setting{One} / \setting{Shuffle} Options: \setting{Off} / \setting{All} / \setting{One} / \setting{Shuffle} /
\nopt{ondiosp,ondiofm}{\setting{/A-B}}: \setting{A-B}:
\begin{description} \begin{description}
% %
\item[Off]The current playlist will not repeat when it is finished. \item[Off]The current playlist will not repeat when it is finished.
@ -30,32 +30,23 @@ related to audio playback.
\item[Shuffle]When the current playlist has finished playing, it will \item[Shuffle]When the current playlist has finished playing, it will
be shuffled and then repeated. be shuffled and then repeated.
% %
\nopt{ondiosp,ondiofm}{ \item[A-B]Repeats between two user defined points within a track,
\item[A-B]Repeats between two user defined points within a track, typically used by musicians when attempting to learn a piece of music.
typically used by musicians when attempting to learn a piece of music. This option is more complicated to use than the others as the \dap\
This option is more complicated to use than the others as the \dap\ must first be placed into A-B repeat mode and then the start and end
must first be placed into A-B repeat mode and then the start and end points defined.\\
points defined.\\
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IRIVER_H10_PAD,MROBE100_PAD%
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IRIVER_H10_PAD,MROBE100_PAD% ,GIGABEAT_PAD,GIGABEAT_S_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{%
,GIGABEAT_PAD,GIGABEAT_S_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{% To set the Start Point (A) press \ActionWpsAbSetAPrevDir{}.
To set the Start Point (A) press \ActionWpsAbSetAPrevDir{}. Setting the End Point (B) is done accordingly using
Setting the End Point (B) is done accordingly using \ActionWpsAbSetBNextDir{}. To reset the markers press \ActionWpsAbReset{}.
\ActionWpsAbSetBNextDir{}. To reset the markers press \ActionWpsAbReset{}. }%
}% \opt{ipod,IAUDIO_X5_PAD,ONDIO_PAD,PLAYER_PAD}{%
\opt{ipod,IAUDIO_X5_PAD}{% To set the Start Point (A) press \ActionWpsBrowse{}. The following
To set the Start Point (A) press \ActionWpsBrowse{}. The following press of \ActionWpsBrowse{} will set the End Point (B), and a third
press of \ActionWpsBrowse{} will set the End Point (B), and a third successive \ActionWpsBrowse{} will reset the markers.
successive \ActionWpsBrowse{} will reset the markers. }%
}%
\opt{PLAYER_PAD}{%
\fixme{
Fix Me: Fill in keypresses
--- Sets Start Point (A)\\
--- Sets End Point (B)\\
}
}%
}
\end{description} \end{description}
\item[Play Selected First]This setting controls what happens when you \item[Play Selected First]This setting controls what happens when you