Patch #1382969 by Peter D'Hoye - recording for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8252 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a6a0c4b2d5
commit
7da0c40f4b
3 changed files with 12 additions and 3 deletions
|
@ -69,7 +69,7 @@
|
|||
#else
|
||||
#define pcmbuf_init()
|
||||
#endif
|
||||
#if defined(IRIVER_H100_SERIES) && !defined(SIMULATOR)
|
||||
#if (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) && !defined(SIMULATOR)
|
||||
#include "pcm_record.h"
|
||||
#define SETTINGS_RESET BUTTON_REC
|
||||
#endif
|
||||
|
@ -363,7 +363,7 @@ void init(void)
|
|||
#if (CONFIG_CODEC == SWCODEC)
|
||||
sound_settings_apply();
|
||||
#endif
|
||||
#if defined(IRIVER_H100_SERIES) && !defined(SIMULATOR)
|
||||
#if (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) && !defined(SIMULATOR)
|
||||
pcm_rec_init();
|
||||
#endif
|
||||
talk_init();
|
||||
|
|
|
@ -93,6 +93,15 @@
|
|||
#define REC_PREV BUTTON_UP
|
||||
#define REC_SETTINGS BUTTON_MODE
|
||||
|
||||
#elif CONFIG_KEYPAD == IRIVER_H300_PAD
|
||||
#define REC_STOPEXIT BUTTON_OFF
|
||||
#define REC_RECPAUSE BUTTON_REC
|
||||
#define REC_INC BUTTON_RIGHT
|
||||
#define REC_DEC BUTTON_LEFT
|
||||
#define REC_NEXT BUTTON_DOWN
|
||||
#define REC_PREV BUTTON_UP
|
||||
#define REC_SETTINGS BUTTON_MODE
|
||||
|
||||
#elif CONFIG_KEYPAD == GMINI100_PAD
|
||||
#define REC_STOPEXIT BUTTON_OFF
|
||||
#define REC_RECPAUSE BUTTON_ON
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#define MODEL_NUMBER 2
|
||||
|
||||
/* define this if you have recording possibility */
|
||||
/*#define HAVE_RECORDING 1*/
|
||||
#define HAVE_RECORDING 1
|
||||
|
||||
/* define this if you have a bitmap LCD display */
|
||||
#define HAVE_LCD_BITMAP 1
|
||||
|
|
Loading…
Reference in a new issue