Commit graph

37 commits

Author SHA1 Message Date
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
da6ed62220 Another crossfade related crash possible fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6894 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 13:39:21 +00:00
Miika Pekkarinen
deeeb33db1 Possible crash fixed while crossfade is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6891 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 07:06:58 +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
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
Miika Pekkarinen
387c4f2fe8 Added few #ifdef HAVE_ADJUSTABLE_CPU_FREQ.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6782 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 18:31:38 +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
644d073652 Crossfade adjustments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6777 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 12:40:30 +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
Miika Pekkarinen
fe8eb3b698 crossfade works much better but costs some cpu power if enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6768 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 20:20:16 +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
Daniel Stenberg
2c0a58c238 prevent build failures for non-iriver targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6762 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 22:23:54 +00:00
Jens Arnold
4c7da88618 Iriver UDA1380 volume and balance handling is now done in sound.c, similar to archos player; removed pcm_set_volume(). Implemented a dB-linear scale. Sorted & bumped plugin api. Removed audio test from the debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6741 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:25:47 +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
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
58c71e0e36 Pause and probably some crashes fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6706 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 09:25:28 +00:00
Miika Pekkarinen
6ab53ba458 Even more quiet audio initialization.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6705 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 07:54:09 +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
Miika Pekkarinen
2528e7c023 Pausing tracks disabled until crashing issues are solved.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6683 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 20:46:56 +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
Miika Pekkarinen
cd56d0fba5 Pause fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6661 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 20:46:39 +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
Miika Pekkarinen
d30f1100ec Much better UI performance and buffering times for MP3 and FLAC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6653 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 17:33:16 +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
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
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
Linus Nielsen Feltzing
6271b2b910 Added Crossfade setting for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6636 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 09:47:00 +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
Tomas Salfischberger
2d8e7f20d4 Bug fix: When paused, pressing next would start playing next track. Now it stays in pause mode. (pause still isn't perfect, afaik it's not working when it's loading data from disk.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6626 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 22:51:24 +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
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
Linus Nielsen Feltzing
267eb077a7 New API for buffered PCM playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6284 a1c6a512-1295-4272-9138-f99709370657
2005-04-14 11:51:31 +00:00
Linus Nielsen Feltzing
928beee0d1 iRiver: Major PCM DMA code cleanup, added pcm_init() and pcm_play_pause()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6234 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 06:49:10 +00:00
Michiel Van Der Kolk
451dd48adc Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Linus Nielsen Feltzing
8ffeab5fc9 PCM playback for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6210 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:39:28 +00:00