Linus Nielsen Feltzing
b5a0f70e5b
New debug screen for sw codec audio thread
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6805 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:03:04 +00:00
Linus Nielsen Feltzing
ecf2f747ed
Daniel's fix that loads codecs in their own memory space
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 02:47:54 +00:00
Miika Pekkarinen
be918cdc72
Fixed a problem with playback when returning from usb mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6784 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 19:19:05 +00:00
Miika Pekkarinen
5936246fd0
Fixed glitches from crossfade.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6780 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 18:06:33 +00:00
Miika Pekkarinen
3e88b58f6c
Crossfade fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6778 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 14:27:06 +00:00
Miika Pekkarinen
cf18f96b99
Elapsed counter resets correctly when changing tracks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6771 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 06:49:21 +00:00
Linus Nielsen Feltzing
b08e2acf45
Fixed the dreaded iRiver simulator crash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6767 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 20:14:19 +00:00
Miika Pekkarinen
431e813532
Some re-desing to buffer filling and track loading code and a few bug
...
fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6766 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 18:41:53 +00:00
Dave Chapman
961c9a3e41
Added %fc WPS tag to display codec type - moved codectype from track_info struct into mp3info struct, initialise it on MAS platforms, and add it to the WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6748 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 16:24:27 +00:00
Jens Arnold
e2cd58145d
Proper MPEG layer 1 support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6745 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 09:51:10 +00:00
Miika Pekkarinen
53ce20a1ae
Killed all simulator warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6726 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 19:38:13 +00:00
Miika Pekkarinen
c3fed62fc7
Fixed the "last song bug".
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6725 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 18:59:04 +00:00
Miika Pekkarinen
e941289c2f
audio_is_initialized has to be set in playback.c.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6724 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 15:27:52 +00:00
Miika Pekkarinen
92ea04a40a
Added stubs for simulator to reduce some #ifdefs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6722 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 12:53:50 +00:00
Dave Chapman
3ad485b15a
Move metadata parsing code from playback.c into metadata.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6714 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 22:27:57 +00:00
Miika Pekkarinen
184d82ec16
Oops, simulator compiles now fine.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6712 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 19:01:33 +00:00
Miika Pekkarinen
8d5822d6ed
Playlist changed are recognized correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6711 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 18:59:34 +00:00
Miika Pekkarinen
ef72f99681
Fixed a dead lock, file handle leak that caused wps to jam and
...
selected a smaller i2c timeout value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6707 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 14:36:46 +00:00
Miika Pekkarinen
58af47c8f2
Seeking forwards works a little better. Playlist handling still buggy.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6702 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 22:09:12 +00:00
Miika Pekkarinen
d94cba6d0f
Forward seeking fixed. Some comments added.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6700 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 15:26:53 +00:00
Dave Bryant
57c6f6e57e
Initial pass at WavPack codec playback support (and my first commit...)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6698 a1c6a512-1295-4272-9138-f99709370657
2005-06-13 06:00:35 +00:00
Miika Pekkarinen
e0037adfae
Codec loader fixed. Now switching between different codecs should work
...
better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6694 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 18:16:35 +00:00
Miika Pekkarinen
097444d07c
Fixed some mp3 metadata reading performance problem. Next track
...
switching should be more reliable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6691 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 15:14:20 +00:00
Dave Chapman
a1d75d3c79
Calculate accurate Ogg duration and bitrate
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6687 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:46:36 +00:00
Miika Pekkarinen
5f57069452
Fixed buffering problem with some files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6682 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 20:14:10 +00:00
Dave Chapman
8f0a0fed4e
Estimate (poorly) the duration of an Ogg track, and display elapsed time in WPS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6681 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 19:14:40 +00:00
Miika Pekkarinen
94b917e9ee
Setting current_fd to -1 at startup to prevent some rare crashes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6680 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 18:14:41 +00:00
Miika Pekkarinen
a380d90b98
Fixed MP3 forward seeking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6679 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 18:05:16 +00:00
Dave Chapman
b30962f9f3
Initial attempt at parsing the metadata in an Ogg file - it still doesn't calculate total track length
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6677 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 16:50:07 +00:00
Miika Pekkarinen
1c5b392080
Fixed codec buffering problem.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6671 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 13:47:01 +00:00
Dave Chapman
2f2d7d4913
First version of Musepack playback (not working)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6670 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 12:40:27 +00:00
Dave Chapman
55ed7d7214
First codeca52 (A52 aka AC3 playback) - it is already faster than realtime, with zero optimisations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6668 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 10:08:17 +00:00
Miika Pekkarinen
cd1d87c8cf
Small typo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6663 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 21:47:48 +00:00
Miika Pekkarinen
d480fdc721
Yet another crash bug fixed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6662 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 21:46:59 +00:00
Miika Pekkarinen
9ff373cb65
Fixed a null pointer problem which caused crashing. Playback should be
...
now more stable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6660 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 20:29:35 +00:00
Dave Chapman
cfda23517e
OK then, bitrate is in 1000s of bits per second, not 1024s of bits per second.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6657 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 18:51:46 +00:00
Dave Chapman
d28b94bc3d
Correctly calculate bitrate for WAV files - bitrate is bits/second, not bytes/second
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6655 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 18:12:36 +00:00
Dave Chapman
3c2c2f59f4
Add first version of WAV playback to iRiver - only 16-bit Stereo 44.1KHz files supported.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6654 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 18:08:08 +00:00
Miika Pekkarinen
68b9acd7de
Added some basic codec configuration functionality.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6652 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 15:02:10 +00:00
Miika Pekkarinen
2326beaf39
When selecting first song to play, buffer initially only 2 MiB. If
...
user continues listening to the same song, then fill the buffer completely.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6651 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 13:43:12 +00:00
Miika Pekkarinen
637e313925
Fixed problem that playing sometimes did not start.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6650 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 12:22:33 +00:00
Miika Pekkarinen
2ed0b195be
Better handling for cpu_boost(). Small buffering fix.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6647 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 10:58:45 +00:00
Miika Pekkarinen
b945fe84aa
Don't keep cpu boosted if length of track information is missing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6646 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 06:42:39 +00:00
Miika Pekkarinen
c2bf1360ad
Fixed problem that same track gets buffered twice after buffer
...
re-filling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6645 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 21:21:33 +00:00
Miika Pekkarinen
0bcc64cb4c
Reset cpu to not boosted state at startup. Do case-insensitive file
...
extension probing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6643 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 20:22:33 +00:00
Miika Pekkarinen
9e200e35cd
Fixed pause indicator. Better UI response with FLAC and Ogg Vorbis.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6642 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 20:01:09 +00:00
Miika Pekkarinen
fe468b1149
Bunch of playback bugs fixed including next/prev/select track,
...
pausing, faster ui response, ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6641 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 19:31:35 +00:00
Miika Pekkarinen
3ca1645496
Buffer refilling problem fixed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6634 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 07:59:02 +00:00
Miika Pekkarinen
c98ea5a6de
Oops, forgot to test simulator compile.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6633 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 07:20:55 +00:00
Miika Pekkarinen
b4bc106efb
Fixed forward next track bugs (still some pause issues though). Added
...
experimental cross-fader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6632 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 07:19:16 +00:00
Dave Chapman
1971ee6765
Parse the metadata in a FLAC file to populate the "id3" struct (currently only length, samplerate etc)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6627 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 00:23:50 +00:00
Dave Chapman
bd43bbd420
Add a default metadata reader (currently just storing the filename). This enables the WPS to be displayed for filetypes other than MP3
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6623 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 21:43:32 +00:00
Dave Chapman
69101010f8
Enable mp3info checking for MP2 files - this was preventing MP2 files from being played.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6622 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 21:19:09 +00:00
Miika Pekkarinen
a9ac3d12ea
Next track bug fixed that was introduced in previous commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6606 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 10:45:40 +00:00
Miika Pekkarinen
5899ed5870
Fixed: MP3 resume, forward seeking and some playlist bugs with
...
next/prev track change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6605 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 10:33:01 +00:00
Miika Pekkarinen
f472410d57
Previous track button should work a little better.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6602 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 21:51:29 +00:00
Miika Pekkarinen
2258946855
Replaced rindex() with strrchr().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6596 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 18:30:00 +00:00
Miika Pekkarinen
61716dd645
Don't block file browser while buffering tracks. Better file extension
...
probing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6595 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 18:03:33 +00:00
Miika Pekkarinen
82c2927d1e
Fixed: Ogg Vorbis crashing, MP3 file seeking, USB mode and a little
...
faster file buffering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6591 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 06:34:54 +00:00
Linus Nielsen Feltzing
4aaa321329
iRiver: Support the ID3V1 first option, add some dummy functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6584 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 00:35:21 +00:00
Linus Nielsen Feltzing
4406fa609a
Ooops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6577 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:28:40 +00:00
Linus Nielsen Feltzing
1c497e6045
First audio codec playback attempt by Miikka Pekkarinen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:05:10 +00:00