Commit graph

235 commits

Author SHA1 Message Date
Jörg Hohensohn
3a36a57005 Another port init fixes the silent play problem, Rockbox is now ready for FLASH!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3793 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 07:03:27 +00:00
Linus Nielsen Feltzing
82e44bb53c The mono recording fix was braindead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3791 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 01:19:56 +00:00
Jörg Hohensohn
5604b97502 missing port init prevented recording with Rockbox from flash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3790 a1c6a512-1295-4272-9138-f99709370657
2003-06-30 21:04:28 +00:00
Linus Nielsen Feltzing
9c6abb19ae Mono recording with Line In now mixes the left and right channel. Fixes bug #753084.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3786 a1c6a512-1295-4272-9138-f99709370657
2003-06-30 01:49:55 +00:00
Björn Stenberg
a4baacd3ec Renamed flush() to fsync() to be more in line with POSIX/unix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3766 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 13:17:19 +00:00
Hardeep Sidhu
df34e6b71a In flush_reload, don't reset swapwrite if we're still swapping current track. Fixes a silent play bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3760 a1c6a512-1295-4272-9138-f99709370657
2003-06-25 15:17:04 +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
Linus Nielsen Feltzing
a9944c385b Better file system performance when recording by not using O_TRUNC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3709 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 01:19:25 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00
Linus Nielsen Feltzing
0a12f4e296 Stop radio when playing mp3 files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3641 a1c6a512-1295-4272-9138-f99709370657
2003-05-03 10:03:30 +00:00
Linus Nielsen Feltzing
c7e0ebc282 Spin down disk directly after buffer saves when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3630 a1c6a512-1295-4272-9138-f99709370657
2003-04-30 01:41:11 +00:00
Linus Nielsen Feltzing
478da628f0 Xing headers now support mono better, added the 'editable files' option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3572 a1c6a512-1295-4272-9138-f99709370657
2003-04-20 22:00:30 +00:00
Linus Nielsen Feltzing
7fdef57d57 Better generation of Xing headers, now they contain the correct MPEG version and sample rate info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3567 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 01:59:23 +00:00
Linus Nielsen Feltzing
1cc6d829a1 Safer low water mark when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3557 a1c6a512-1295-4272-9138-f99709370657
2003-04-15 08:16:27 +00:00
Linus Nielsen Feltzing
35c417f1d4 Fixed the dreaded 'silent play' bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3541 a1c6a512-1295-4272-9138-f99709370657
2003-04-12 09:38:33 +00:00
Linus Nielsen Feltzing
6fc0df9ebb Now creates an empty ID3 header to not confuse MP3 editors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3539 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 23:45:38 +00:00
Linus Nielsen Feltzing
9d860e19d2 Better handling of next/prev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3528 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 00:29:15 +00:00
Björn Stenberg
46dea9080b Added missing gain setting code (Henrik Backe)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3521 a1c6a512-1295-4272-9138-f99709370657
2003-04-09 11:58:36 +00:00
Linus Nielsen Feltzing
9218481199 Ooops, forgot to check for frame count overflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3508 a1c6a512-1295-4272-9138-f99709370657
2003-04-01 21:58:50 +00:00
Linus Nielsen Feltzing
a67e8ec52f Killed a warning (saving 417 bytes in the process :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3507 a1c6a512-1295-4272-9138-f99709370657
2003-04-01 21:27:31 +00:00
Linus Nielsen Feltzing
2bf4a05410 Recorded files shorter than 3 hours now show correct average bitrate even without VBRFix.
Moved some code around.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3505 a1c6a512-1295-4272-9138-f99709370657
2003-04-01 20:58:31 +00:00
Linus Nielsen Feltzing
d0c193d159 Finally, S/PDIF monitoring works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3499 a1c6a512-1295-4272-9138-f99709370657
2003-03-25 02:13:54 +00:00
Linus Nielsen Feltzing
27539aa828 Fixed silly overflow in recalculate_watermark()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3494 a1c6a512-1295-4272-9138-f99709370657
2003-03-24 11:40:59 +00:00
Linus Nielsen Feltzing
001226c7e1 patch #702874 by Craig Sather, fixes a pause bug in WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3447 a1c6a512-1295-4272-9138-f99709370657
2003-03-15 12:09:09 +00:00
Linus Nielsen Feltzing
2c07e78efc Don't accidentally add Xing headers to CBR files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3419 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:25:40 +00:00
Linus Nielsen Feltzing
6475aa0c85 Experimental Xing header generation added. Use with caution
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3418 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 18:05:01 +00:00
Linus Nielsen Feltzing
673937d654 Faster disk updates with the flush() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3417 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 17:12:27 +00:00
Linus Nielsen Feltzing
a039091187 New ID3 and MP3 stream parser, plus not-yet-ready Xing header generation code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3410 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:55:31 +00:00
Uwe Freese
21130ebc29 Found the only one point that led to imcompatibility of the CVS code with a 8MB AJB. Finally, CVS is 8 MB-mod compliant. :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3374 a1c6a512-1295-4272-9138-f99709370657
2003-03-03 14:05:47 +00:00
Linus Nielsen Feltzing
680b12c0c2 Even more return code checking when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3366 a1c6a512-1295-4272-9138-f99709370657
2003-03-02 23:04:39 +00:00
Linus Nielsen Feltzing
cc136c5c60 Now correctly skips ID3V1 tags to avoid gaps between tracks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3365 a1c6a512-1295-4272-9138-f99709370657
2003-03-02 03:58:54 +00:00
Björn Stenberg
6da56d9f08 Added three new channel modes: Stereo narrow, Stereo wide, and Karaoke (voice filter). Patch by Remo Hofer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3356 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:02:20 +00:00
Linus Nielsen Feltzing
94dea1e020 Safer recording, now closes the file after each successful buffer save
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3321 a1c6a512-1295-4272-9138-f99709370657
2003-02-22 01:40:57 +00:00
Björn Stenberg
c4d8d970f6 The power-saving SLEEP patch by Simon Elén.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +00:00
Linus Nielsen Feltzing
1fcd31d3ff Fixed the 3-hour time display bug, plus some cosmetic changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3253 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 02:48:12 +00:00
Linus Nielsen Feltzing
ebe0752469 Correct saving of channel config (patch by Remo Hofer)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3252 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 01:49:50 +00:00
Linus Nielsen Feltzing
bf0ac613ea Killed a nasty bug that could leave the recorded file open. This will cause the file to be 0 bytes long.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3247 a1c6a512-1295-4272-9138-f99709370657
2003-02-13 16:25:36 +00:00
Björn Stenberg
b4902aff71 Better simulator mpeg emulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3232 a1c6a512-1295-4272-9138-f99709370657
2003-02-11 14:20:54 +00:00
Linus Nielsen Feltzing
c43a307011 Added some debugging info to chase the 3-hour time display bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3227 a1c6a512-1295-4272-9138-f99709370657
2003-02-08 02:59:47 +00:00
Daniel Stenberg
f9b4490066 Include File Cleanup And Move-Around Party 2003.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3213 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:41:57 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Linus Nielsen Feltzing
9a9d9d046d Decreased the DMA transfer size, as proposed by Gerald Clark
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3138 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 00:11:10 +00:00
Kjell Ericson
ddefd1ebfc Added a thread for the simulator that counts the time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3049 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 09:19:10 +00:00
Björn Stenberg
989a3ec28c set_elapsed() bug fix by Simon Elén
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3041 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 01:02:40 +00:00
Hardeep Sidhu
96a6874ac4 Signal track change if no tracks in playlist are valid so wps updates and exits properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3036 a1c6a512-1295-4272-9138-f99709370657
2003-01-04 07:16:36 +00:00
Hardeep Sidhu
8fd18e9b8d Prev was going back too many tracks if more than one track was loaded in memory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3035 a1c6a512-1295-4272-9138-f99709370657
2003-01-03 22:54:02 +00:00
Hardeep Sidhu
d3d1b98d58 Don't signal track change until all id3 entries have been updated. Also, correctly set new write index after removing all tracks. Both changes fix potential resume bugs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3024 a1c6a512-1295-4272-9138-f99709370657
2002-12-19 00:58:11 +00:00
Björn Stenberg
c3fd67c6c9 Killed a dozen global variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 14:57:45 +00:00
Linus Nielsen Feltzing
00b2aada9f Fixed a few recording glitches, and *maybe* the 30-minute recording bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2971 a1c6a512-1295-4272-9138-f99709370657
2002-12-12 02:22:01 +00:00
Linus Nielsen Feltzing
a946156151 Even more complicated MAS driver to handle MP2 streams, due to undocumented MAS behaviour. Now delays dma_tick() 1ms after /EOD goes active. (Recorder)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2960 a1c6a512-1295-4272-9138-f99709370657
2002-12-06 21:41:46 +00:00