Miika Pekkarinen
d54811fe22
Fixed mono playback support for mp3. Added two other event handlers in
...
playback.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6986 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 16:52:30 +00:00
Miika Pekkarinen
2724d0bb55
Pause correctly while seeking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6975 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 21:00:02 +00:00
Miika Pekkarinen
c520d69f68
Fixed codec switching.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6974 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 18:38:10 +00:00
Miika Pekkarinen
bbd42ad80b
Fixed seeking in mp3 files (and with other codecs which supports
...
seeking currently). Even long seeks should be possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6973 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 18:22:04 +00:00
Miika Pekkarinen
3b90707fdd
Fixed a bug where a few seconds from end of a song was cut out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6951 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 16:28:40 +00:00
Dave Bryant
1983738ea1
Not sure if this is the right way to make "resume" work correctly for WavPack,
...
but it seems to work and if it's wrong it should only affect WavPack...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6938 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 06:09:59 +00:00
Miika Pekkarinen
7d6d122441
Added event handler to register track changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6936 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:36:30 +00:00
Miika Pekkarinen
7b7d1e6802
Always use crossfade if it's enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6933 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:13:46 +00:00
Miika Pekkarinen
84d6f9e89b
Fixed slow track switching and track pre-buffering. Fixed rockboy
...
crash while audio is playing. Some buffering adjustments made.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6930 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 20:50:58 +00:00
Miika Pekkarinen
de3b04ee28
Fixed buffering problems with dynamic playlist handling. Increased
...
codec buffer default watermark to prevent skipping.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6922 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 14:46:27 +00:00
Miika Pekkarinen
85f4973106
Replaced some size_t with longs. That might solve some problems. Fixed
...
also problem where codec buffer length indicator goes negative.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6898 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 19:29:49 +00:00
Miika Pekkarinen
65b840dbd1
Fixed one warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6878 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 20:01:33 +00:00
Miika Pekkarinen
d8cb703b1e
Initial DSP implementation. DSP supports resampling audio stream from
...
codecs (currently works corrently only with mp3's, somebody should fix
that).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6877 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 19:41:29 +00:00
Linus Nielsen Feltzing
17098e1c08
More audio thread debug info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6820 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:37:31 +00:00
Daniel Stenberg
1dd672fe32
moved and renamed the codecs, gave the codecs a new extension (.codec),
...
unified to a single codec-only API, made a new codeclib, disabled the building
of the *2wav plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:41:30 +00:00
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