Linus Nielsen Feltzing
7db258f3c7
Removed the uda1380_mute() calls, since they were called in interrupt context, which could lead to a big crash. This will reintroduce a slight pop when starting/stopping playbac, and when switching tracks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7357 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 12:29:28 +00:00
Christian Gmeiner
14e80671af
iAudio: First unfinished attempt for tlv320 driver and rockbox integration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
2005-08-06 10:12:19 +00:00
Miika Pekkarinen
6b807b2d24
Fixed MAC initialization problem with mpa codec and removed workaround
...
for that bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7260 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 13:46:38 +00:00
Dave Bryant
27c83252e2
The peak meter on iRiver didn't look right to me and the code seemed to be
...
making it a lot more complicated that it needed to be, so I threw in some new
code. This should be easy to adjust for different CPU loads, and I set it up
to use a little less than what was there. If this causes any trouble, please
roll it back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7238 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 05:50:47 +00:00
Miika Pekkarinen
90161c92dd
It's now possible to select the crossfading mode: "Off, Crossfade,
...
Mix". If set to mix, no fading is applied but tracks are mixed up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7224 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 16:46:27 +00:00
Miika Pekkarinen
eab434c416
More accurate playback position calculation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7218 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 06:32:55 +00:00
Linus Nielsen Feltzing
4c5f25d523
iriver: set the S/PDIF Validity flag correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7189 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 15:55:56 +00:00
Miika Pekkarinen
2103cf4b74
Check that remaining bytes counter is not zero.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7183 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 21:02:40 +00:00
Miika Pekkarinen
e9919342c5
Initial attempt to support peak meter on iriver. It still has some
...
strange behaviour and readings might not be correct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7182 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 19:29:02 +00:00
Miika Pekkarinen
20b3897474
Separated buffering stuff from pcm_playback to pcmbuf. Renamed some
...
function calls (audiobuffer -> pcmbuf etc.).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 12:48:22 +00:00
Miika Pekkarinen
fbd4088df8
Replaced some yields with sleep(1) to save battery while paused or
...
playing files which doesn't require cpu boosting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7103 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 18:47:47 +00:00
Miika Pekkarinen
1ed292ca5e
Fixed an audio burst coming out when pausing a track with fading
...
enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7095 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 17:31:12 +00:00
Miika Pekkarinen
5d9e0536ea
Some playback fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7076 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 20:01:06 +00:00
Miika Pekkarinen
3eb962d13b
PCM buffering fixes. Made a temporary workaround for playback glitch
...
bug (see the patch).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7049 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 07:15:05 +00:00
Miika Pekkarinen
2023b47293
Decreased pcm buffer low watermark when crossfade is not enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7036 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 08:20:53 +00:00
Miika Pekkarinen
3e33a0f8ee
More crossfade adjustments. Now crossfade should work shortly even if
...
the disk was not spinning while a new track was loaded from the disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7028 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 15:51:59 +00:00
Miika Pekkarinen
d6e7942426
Fixed: Crossfading, broken elapsed info with mp3 files, possible cpu
...
boost problem and track changing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7027 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 15:19:22 +00:00
Miika Pekkarinen
aa30f0483b
Fixed crossfading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7022 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 07:25:55 +00:00
Miika Pekkarinen
55819b7859
Increased low watermark limit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7012 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 19:17:55 +00:00
Miika Pekkarinen
0a9dec60b5
Make sure we unboost the cpu while stopping playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6998 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 19:58:33 +00:00
Miika Pekkarinen
f3a1351bcd
Slightly longer sleep to prevent pops when resuming from paused state.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6996 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 18:54:48 +00:00
Miika Pekkarinen
349f39a7f4
Fixed pops when starting playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6993 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 15:25:06 +00:00
Miika Pekkarinen
45d6fa916c
Fixed pops from headphone audio output.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6977 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 21:23:07 +00:00
Miika Pekkarinen
4ec80704d5
Fixed pause.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6968 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:13:33 +00:00
Miika Pekkarinen
6d887afc3e
Vorbis playback problems fixed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6967 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:05:09 +00:00
Marcoen Hirschberg
e02a1a534d
- enable S/PDIF optical output
...
- set the proper noise shape filter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6959 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 07:55:19 +00:00
Miika Pekkarinen
87d4d1203c
Fixed a crash with pcm audio pausing. This should prevent many
...
crashes from happening.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6954 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 20:02:56 +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
Miika Pekkarinen
bc9a378c4f
Crossfade works better for high bitrate vorbis files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6937 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:44:23 +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
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