Commit graph

79 commits

Author SHA1 Message Date
Jens Arnold
e387a2238e Proper indentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6525 a1c6a512-1295-4272-9138-f99709370657
2005-05-26 20:02:12 +00:00
Jens Arnold
4e2cee1ece Bugfix: The recording screen must not touch the LED if the LED is only simulated to avoid confusion (Ondio FM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6392 a1c6a512-1295-4272-9138-f99709370657
2005-05-01 20:10:39 +00:00
Jens Arnold
cf986e8d44 Triggered recording fixes: (1) Made it compile for Ondio FM recorder (no led, button assigment). (2) Disabled trigger settings and peakmeter trigger handling for devices without recording. Saves > 2 KB of code on Ondio SP. (3) Const policed, saves some more code size. (4) Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6248 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 20:16:01 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
68482bbed2 Patch #868645 by Philipp Pertermann, volume triggered recording for the Archos recording devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6243 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 09:12:12 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Jean-Philippe Bernardy
4ff0c8e4c8 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5971 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 11:04:35 +00:00
Jean-Philippe Bernardy
b1c138ea1a Recording keys assignments for gmini 120
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5855 a1c6a512-1295-4272-9138-f99709370657
2005-02-08 15:38:01 +00:00
Daniel Stenberg
1aa4dcb58e initial iriver keypad support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5744 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:48:47 +00:00
Jens Arnold
2116bba296 New function for formatting large-range values for output, both printed and voiced. This replaces num2max5(). It is currently used for the total/free space display in the info menu, for the recorded number of bytes (recorders) and the MMC debug info (Ondios).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5721 a1c6a512-1295-4272-9138-f99709370657
2005-01-31 00:39:20 +00:00
Jörg Hohensohn
37d4730677 Ondio bugfix: recording file number generator didn't release the directory handle, causing a panic after several calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5564 a1c6a512-1295-4272-9138-f99709370657
2005-01-13 23:40:00 +00:00
Jörg Hohensohn
dfa95c334b different kind of recording beep: more faint, but not disturbing prerecording, can beep while we already record (no latency due to beep)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5511 a1c6a512-1295-4272-9138-f99709370657
2004-12-24 08:42:45 +00:00
Jörg Hohensohn
3bf321ff1c aid for blind recorders: longer beep when starting a recording, short beep when resuming it (you may disable the voice UI to get rid of it)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5502 a1c6a512-1295-4272-9138-f99709370657
2004-12-21 23:49:43 +00:00
Linus Nielsen Feltzing
d15d15513d Turn off the recording LED before reporting disk-full errors. Fixes bug report #1061647
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5391 a1c6a512-1295-4272-9138-f99709370657
2004-11-08 13:20:43 +00:00
Jens Arnold
0e8169c12a Fixes: (1) Menu now disabled while recording, to prevent settings change. (2) Red led is switched off before entering menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5339 a1c6a512-1295-4272-9138-f99709370657
2004-10-24 22:30:55 +00:00
Linus Nielsen Feltzing
c24498bb51 Bug/patch #1049956, turn off LED when entering recording quick screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5309 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 11:39:24 +00:00
Jörg Hohensohn
1120ef50c7 file name generation for recorder without RTC (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5298 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 10:00:46 +00:00
Jörg Hohensohn
6b114db36f removed obsolete code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5245 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 16:21:37 +00:00
Jörg Hohensohn
d885a2690a minor improvement: allow option cycling for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5234 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 12:00:53 +00:00
Jörg Hohensohn
c259bfdabe recording enabled for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5233 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 11:39:30 +00:00
Jens Arnold
eaa1f73c6d Added MAS3539F support (Ondio SP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 19:51:41 +00:00
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +00:00
Björn Stenberg
995d24ca2c Fixed typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5095 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 22:55:20 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jörg Hohensohn
d4e527b811 temporary hacks to make it compile with the Ondio (=Player) keypad. No influence for the other platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5060 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 13:19:41 +00:00
Jens Arnold
839067b7b3 More const policeing step 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4980 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 23:34:44 +00:00
Linus Nielsen Feltzing
ade5d7b848 First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +00:00
Jens Arnold
d0bb88a766 Const'ed the various setting lookup tables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4904 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 22:13:24 +00:00
Linus Nielsen Feltzing
7bade1a24f Bass boost removed in favour of some new sound settings: Super bass and five new MDB parameters: strength, harmonics, center, shape and enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 12:17:14 +00:00
Linus Nielsen Feltzing
736a19266d The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4806 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:35:33 +00:00
Linus Nielsen Feltzing
fafd2093e3 Patch #881887 by Gerald Vanbaren. The red LED is now ON when recording and blinking when waiting to record (and when paused).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4790 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 10:52:39 +00:00
Linus Nielsen Feltzing
3405d13020 The /recordings directory is now automatically created in the radio screen as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4721 a1c6a512-1295-4272-9138-f99709370657
2004-06-04 12:34:29 +00:00
Linus Nielsen Feltzing
4f0659c120 Now uses the record-pause icon instead of the ordinary pause icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4719 a1c6a512-1295-4272-9138-f99709370657
2004-06-04 11:20:09 +00:00
Linus Nielsen Feltzing
f487ebe376 The Play button now acts as a Pause button during recording instead of opening a new file. The new-file feature is moved to the F3 button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4715 a1c6a512-1295-4272-9138-f99709370657
2004-06-03 12:10:40 +00:00
Jörg Hohensohn
fa97f161ab Third step of the voice-UI: numerical settings are spoken (composed at runtime), needs new voicefont at the new location ".rockbox/langs/english.voice"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:15:53 +00:00
Linus Nielsen Feltzing
ef7293f0bc New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
New feature: A "Create directory" menu option (untested in the simulator).
Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-21 14:58:40 +00:00
Daniel Stenberg
1afa395c2f The splash() function's second argument (keymask) is now removed, as it
was not used by any code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 09:58:58 +00:00
Jörg Hohensohn
f993365447 Moved the low-level playback functionality into a new, separate module "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 20:42:51 +00:00
Linus Nielsen Feltzing
74976c1484 New recording feature: Prerecord up to 30 seconds before you press the Play key. Especially useful for FM radio recording. Also fixed a bug which didn't apply the recording settings correctly in the Radio screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4183 a1c6a512-1295-4272-9138-f99709370657
2003-12-31 03:13:29 +00:00
Linus Nielsen Feltzing
8dad7c2f31 Fixed the display corruption in the recording screen when the status bar is disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4169 a1c6a512-1295-4272-9138-f99709370657
2003-12-20 22:15:45 +00:00
Linus Nielsen Feltzing
aaa99e70ba Recording in FM screen, USB mode possible in FM and recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4046 a1c6a512-1295-4272-9138-f99709370657
2003-11-20 00:33:43 +00:00
Linus Nielsen Feltzing
54e96e9696 Patch #844001 by Dave Jones, fixes the >6h time split bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4034 a1c6a512-1295-4272-9138-f99709370657
2003-11-18 08:55:25 +00:00
Linus Nielsen Feltzing
ba9b433489 Made the recording filename creation function global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4020 a1c6a512-1295-4272-9138-f99709370657
2003-11-06 00:44:38 +00:00
Linus Nielsen Feltzing
24a8b6ad09 Frame-accurate file splits when recording. Now the PLAY button closes the current file and opens a new one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3998 a1c6a512-1295-4272-9138-f99709370657
2003-11-02 11:24:38 +00:00
Hardeep Sidhu
5c60917ff9 Include stdlib.h for abs(). Fixes build error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3958 a1c6a512-1295-4272-9138-f99709370657
2003-09-20 18:02:05 +00:00
Björn Stenberg
3651b34e94 Gain display bugfix by Keith Hubbard.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3957 a1c6a512-1295-4272-9138-f99709370657
2003-09-19 23:46:57 +00:00
Linus Nielsen Feltzing
4bb3f80f27 Setting the lowest mic gain no longer turns off the mic (bug #774349)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3865 a1c6a512-1295-4272-9138-f99709370657
2003-07-22 18:34:23 +00:00
Linus Nielsen Feltzing
c6db7870ef Slightly better handling of disk-full situations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3756 a1c6a512-1295-4272-9138-f99709370657
2003-06-19 12:08:22 +00:00
Björn Stenberg
56f771e76a Dave Jones' recording time split feature (patch #697373)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3725 a1c6a512-1295-4272-9138-f99709370657
2003-06-04 13:48:50 +00:00
Björn Stenberg
6f2a1a6127 Fixed hidden recording status bar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3696 a1c6a512-1295-4272-9138-f99709370657
2003-05-26 09:26:16 +00:00