Brandon Low
af09d22125
Add and improve logfing, fix a possible cause of problems due to abuse of read_next_metadata
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9628 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 23:08:21 +00:00
Brandon Low
d6b370be02
Fix logf build, fix double reporting buffer events.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9627 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 22:38:33 +00:00
Brandon Low
87484fcbc7
Almost entirely formatting changes, but also add one logf, and fix one nearly impossible to hit (I doubt it's been hit in the history of rockbox) bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9621 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 20:41:04 +00:00
Brandon Low
8529414c7f
Clarify a comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9616 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 17:20:55 +00:00
Brandon Low
8966c018fa
Clear tracks in more appropriate ways/places
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9615 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 17:17:24 +00:00
Brandon Low
01219fa29e
Handle rebuffer-and-seek and track skip buffer events smarter. Fill the buffer all the way around on a 'normal' rebuffer. Rename and invert a strangely named variable for simpler logic.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9614 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 17:08:11 +00:00
Brandon Low
a476718aab
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9613 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 16:13:24 +00:00
Brandon Low
73365c8bda
Fix a (very unlikely) bug in buffering
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9611 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 15:45:11 +00:00
Brandon Low
b6607459c2
Fix some signedness and exit condition stuff. Not sure if this addresses live bugs, but it was wrong nonetheless
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9610 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 14:13:41 +00:00
Brandon Low
6bd1f143fa
Try to recover from a codec failure by restarting playback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9608 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 13:21:51 +00:00
Brandon Low
afb64a481b
Whoops, remove a done TODO
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9607 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 13:02:06 +00:00
Brandon Low
a9debda64e
Fix some comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9606 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 13:00:45 +00:00
Brandon Low
3b76544fa9
Ensure that codecs are cleared from the buffer if they will not be needed by the track about to play and some minor changes for correctness with no functional difference
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9605 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 12:29:46 +00:00
Brandon Low
62ccbbb418
Rework track skipping. Full playback stop is no longer involved in track skipping. Further simplification of the play related functions can be achieved with this in place, but that's for later. Known skip related bug, high pitched noise sometimes, otherwise stuff is better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9601 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 03:55:58 +00:00
Brandon Low
2caad6fbc1
Get the next track's metadata in a more timely manner
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9591 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 04:14:20 +00:00
Brandon Low
25e367ce34
Formatting, and logf changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9583 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 16:12:12 +00:00
Brandon Low
4f3bb2ded7
Fix another nasty rebuffering bug, and ensure that buffer and unbuffer events are triggered correctly. Also remove another unused varialbe track_info->filepos
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9582 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 15:30:28 +00:00
Brandon Low
72232bdc66
Fix bad rebuffering bug, and kill the track_count variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9571 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 02:15:35 +00:00
Brandon Low
3e3c21b6f0
Fix the condition on an error splash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9565 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 13:06:28 +00:00
Brandon Low
502fbd710c
Correct seeking behavior (whoops), might fix the coldfire deadlocks. Reintroduce the foreshortened initial buffer fill, this should maybe be optional
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9564 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 12:58:39 +00:00
Brandon Low
0be0b43466
Fix seeking not resuming playback, many thanks to Ralf Herz for being an excellent debugger
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9558 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 07:46:48 +00:00
Brandon Low
dd8d97ae8c
Change around some logfing to help debugging seek problems
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9557 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 22:13:00 +00:00
Brandon Low
29f7dd3c9f
Fix the playback sometimes doesn't start at all problems, and always fully fill the buffer, because it was silly not to (this one may be controversial)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9556 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 21:32:30 +00:00
Brandon Low
554f206ba1
Further unify start playback vs. other buffering situations, hopefully fixes some people's audio doesn't start problems
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9553 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 19:48:48 +00:00
Brandon Low
ab57025e33
This makes seeking work for me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9552 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 18:18:36 +00:00
Brandon Low
71fe062e3d
Fix some type casting => 64bit warning issues
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9550 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 16:45:44 +00:00
Brandon Low
de6023146a
Fix play initialization problems and buffering problems. This behaves _much_ better for me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9549 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 16:31:20 +00:00
Jens Arnold
24bb9d4ceb
Fix 64bit warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9547 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 07:05:02 +00:00
Brandon Low
2736363d71
Remove duplicated code and improve button responsiveness during buffer fill
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9541 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 21:06:37 +00:00
Brandon Low
930785cd8f
Stop abusing the queuing features, and start treating them with respect. This seems to solve audio skipping and track skipping issues as well as seeking inside the disk buffer for me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9534 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 16:21:31 +00:00
Brandon Low
857db456af
Fix seeking on swcodec, but probably break some cases of skipping. Another important rework here, buffer management is serialized along with most other operations on the audio thread. This has some minor performance issues on ipod that can lead to audio skips during buffer fill as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9529 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 04:07:06 +00:00
Brandon Low
33a62e8a8e
More work on swcodec. No significant pcmbuf functions are called from the audio thread now. Do not be surprised if seek or skip behavior gets weird after this, but it Works for Me (TM), and is a significant step in the right direction.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9510 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 04:27:16 +00:00
Miika Pekkarinen
93b6a1d12c
Prevent two division by zeros and one problem causing a crash in the
...
mp3 metadata parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9438 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 20:19:00 +00:00
Miika Pekkarinen
44b76bc4fa
Added track number sorting to the tagcache and a few new tags to the
...
engine: track number, year, composer, length and bitrate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9358 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 12:07:32 +00:00
Zakk Roberts
8bdd92b05e
New 'Track Skip Only' option for Crossfading; crossfading is disabled except for manual track changes. NOTE: If you were using 'Always' mode previously, check again after updating: you'll now be in the new 'Track Skip Only' mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9353 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 05:56:19 +00:00
Miika Pekkarinen
e859e16420
Fixed some red builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9261 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 17:07:00 +00:00
Miika Pekkarinen
b7251261de
Fill WPS tags from tagcache if available.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9260 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 16:37:18 +00:00
Brandon Low
09c09738ab
Fix a problem where audio would stay paused after a stop and start of playback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9248 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 15:58:10 +00:00
Brandon Low
86f1e2ead2
Convert playback.c to use unsigned byte counters, and _minor_ refactoring of buffer callbacks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9227 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 13:43:15 +00:00
Brandon Low
fdb58dfe1c
Allow the pcm buffer to fill while playback is paused
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9212 a1c6a512-1295-4272-9138-f99709370657
2006-03-23 17:11:00 +00:00
Brandon Low
a553d5f048
First small step in playback.c's pending makeover. Properly lock and cleanup codec swapping
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9210 a1c6a512-1295-4272-9138-f99709370657
2006-03-23 16:18:17 +00:00
Thom Johansen
e2824c94fc
Use size-correct casts. Fixes some AMD64 sim warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9192 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 16:04:51 +00:00
Thom Johansen
a7b5a2ce73
Quick fix for voice UI on iPods. Proper fix (which does not impact
...
functionality in any way) coming later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9190 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 15:19:59 +00:00
Jens Arnold
8ac3ae73c5
More 64bit simulator fixes, coinciding with the long policy this time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8890 a1c6a512-1295-4272-9138-f99709370657
2006-03-03 02:09:58 +00:00
Miika Pekkarinen
747664918b
Fixed the early usb initialization problem.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8825 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 10:27:23 +00:00
Brandon Low
413da2a3d9
Rework PCM buffer
...
* Linked list instead of static array buffer pointers
* Variable sized chunks
* Improved mix handling
* Reduction in duplicated code
* Reduced IRAM usage w/o sacrificing performance
* Converted to almost entirely unsigned math
* Add pause function to reduce pcm_* exposure to playback.
This WILL break playback on the iPod until linuxstb makes a followup commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8612 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 20:38:55 +00:00
Dave Chapman
fbd8e5d29c
Patch #1421483 - AIFF codec by Jvo Studer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8524 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 16:42:02 +00:00
Miika Pekkarinen
05411983c7
Codec buffer was initialized too early thus crashing the unit later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8473 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 12:49:05 +00:00
Miika Pekkarinen
a4f8d1c621
Don't use crossfader mix mode when skipping tracks manually.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8470 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 16:25:44 +00:00
Miika Pekkarinen
d319116be4
iriver: Init audio on background.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8465 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 11:39:46 +00:00
Miika Pekkarinen
6d6ca6b6a5
Muting trick to prevent tiny pops and glitchless mp3 seeking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8416 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 10:25:07 +00:00
Brandon Low
998610ca0b
Fix a bug in the end of track updates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8415 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 04:35:28 +00:00
Brandon Low
8d5a6609a3
AB-repeat mode for software codecs. Accessible through menu as a repeat mode, with buttom mappings much like those on other rockbox targets for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8409 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 23:43:57 +00:00
Brandon Low
0a9179cb0a
Add seamless seeking support, this is needed for AB-repeat mode on swcodec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8408 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 22:58:08 +00:00
Brandon Low
a3868d35d3
Continue to update playback status after decoding is complete (the progress bar makes it to 100%!)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8407 a1c6a512-1295-4272-9138-f99709370657
2006-01-21 22:42:44 +00:00
Miika Pekkarinen
0e159f13cf
Fixed a few iriver playback quirks and issues with previous fixes.
...
Also fixed "TST.." bug when seeking and possible an enhancement to mp3
gapless playback also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8402 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 22:02:44 +00:00
Miika Pekkarinen
178a85f31c
iriver: Better fix for the previous problem, stop playback if next
...
song is not immediately available, don't flush buffer when changing to
next directory,
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8393 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 20:35:06 +00:00
Miika Pekkarinen
61cd604369
Don't start playback twice if pcm buffer runs empty when switching to
...
the next directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8390 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 18:21:12 +00:00
Linus Nielsen Feltzing
27312b2855
Patch #1408536 by Mark Arigo - properly strip ID3V1 tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8370 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 14:20:34 +00:00
Magnus Holmgren
917f2c1804
Simulator fixes: id3 string pointers can be null.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8282 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 21:42:00 +00:00
Linus Nielsen Feltzing
735f8273f0
H300: quick fix for the broken line-in recording
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8266 a1c6a512-1295-4272-9138-f99709370657
2005-12-20 21:49:47 +00:00
Marcoen Hirschberg
b0fee17d6e
waiting is over: initial unicode commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +00:00
Daniel Stenberg
f981ea93fb
kill gcc4 warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Miika Pekkarinen
999f89c46d
Fixed a problem with playback when skipping from last track. No more
...
skipping the first track in a directory when advancing to the next dir.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8133 a1c6a512-1295-4272-9138-f99709370657
2005-12-03 12:14:26 +00:00
Miika Pekkarinen
59e0ccb278
Fixed a playback problem when seeking "too early".
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8117 a1c6a512-1295-4272-9138-f99709370657
2005-12-01 19:38:08 +00:00
Miika Pekkarinen
6a4bfb5dcf
iRiver: Fixed several problems with playback on track skipping & loading:
...
* Correctly detecting codec type from metadata.
* Skipping incorrect tracks correctly if there are more than one unloadable track.
* Fixed internal ram skipping when codec switching is required.
* Fixed hang if no files in playlist is playable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8116 a1c6a512-1295-4272-9138-f99709370657
2005-12-01 18:44:11 +00:00
Thom Johansen
27c658c8a6
Enabled playback speed adjustment support for H1x0. Modified the resampler to do both channels in one pass.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8099 a1c6a512-1295-4272-9138-f99709370657
2005-11-28 22:26:20 +00:00
Miika Pekkarinen
71489347c1
iRiver: Removed a playlist_update_resume_info call which was called a way too
...
often reducing performance and increasing disk head moving.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8083 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 14:50:21 +00:00
Miika Pekkarinen
47569223eb
iRiver: Fixed the resume behaviour with the playback engine.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8052 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 19:13:25 +00:00
Miika Pekkarinen
d1704f6894
Fixed playlist skipping of incorrect files and playback engine not to
...
hang if codec loading fails. Also displaying a "Loading..." message on
resume and not calling queue_post too often.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8021 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 11:14:51 +00:00
Anton Oleynikov
c94557e0b9
refactored radio status code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7999 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 19:23:44 +00:00
Miika Pekkarinen
8690a394b1
Fixed a problem that wps didn't update instantly with buffered tracks
...
when skipping.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7995 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 14:35:37 +00:00
Miika Pekkarinen
731b22e2e7
Fixed the track skipping problem when repeat all and change to next
...
directory options were set to off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7994 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 14:04:07 +00:00
Miika Pekkarinen
9c0f1a9e39
More stable playback with reduced stuttering when skipping tracks.
...
Removed CODEC_SET_FILEBUF_LIMIT setting; now playback.c determines how
to buffer the files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7970 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 20:21:13 +00:00
Christi Scarborough
4c0b83f5e9
Remote WPS support (and some WPS bugfixes) by Stephan Wezel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 20:14:59 +00:00
Miika Pekkarinen
735f453730
Added dircache support to playlist. Now playlist filename pointers are
...
automatically accuired from dircache. WPS UI response with dircache
enabled should be instant.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7931 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 19:31:29 +00:00
Kevin Ferrare
e991beed6d
replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Anton Oleynikov
0bb62fb1e2
removed set audio status method - will be using different approach
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7844 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 14:10:57 +00:00
Anton Oleynikov
3dbb3a271d
iRiver: fix for audio kept on while playing a file + new function to set audio status (to be used later)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7838 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 10:57:35 +00:00
Dave Chapman
2bf9be1c02
Patch #1352575 - Shorten codec from the ffmpeg project. Rockbox implementation by Mark Arigo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7814 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 19:45:36 +00:00
Anton Oleynikov
00928af4dd
iRiver: more robust folder skip routines + folder navigation on main unit via
...
either PLAY+LEFT/RIGHT or short then long LEFT/RIGHT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7810 a1c6a512-1295-4272-9138-f99709370657
2005-11-10 22:31:47 +00:00
Jens Arnold
8051a0b724
Sound settings rework: * Put all fixed parameters (unit, decimals, step, min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:12:11 +00:00
Miika Pekkarinen
e7461b3609
iRiver: New crossfader with more configuration capability. Might still
...
have small bugs, but those will be fixed as soon as possible. Config
block version bumped; please SAVE YOUR SETTINGS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7765 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 16:40:20 +00:00
Anton Oleynikov
d102e1f345
patch 1328447: folder skip routines in playlist API plus next/prev folder navigation for iRiver's remote
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7735 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 22:32:04 +00:00
Miika Pekkarinen
4392506d59
iRiver: Fixed another mutex issue that caused problems with seeking.
...
Don't crossfade if audio is paused when selecting a new track.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7711 a1c6a512-1295-4272-9138-f99709370657
2005-11-01 13:39:01 +00:00
Dave Chapman
cea6d0c92f
Initial check-in of AAC codec. Currently only recognises the .mp4 extension and is not yet capable of realtime operation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7706 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:56:29 +00:00
Miika Pekkarinen
a4c190f7d4
Increased the guard buffer size to support larger frame sizes used by
...
FLAC codec for example.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7688 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 09:30:14 +00:00
Miika Pekkarinen
b142a58124
Moved also the other mutex into a right place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7687 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 08:51:47 +00:00
Miika Pekkarinen
74528fc4a4
Added a missing mutex lock to the initial buffer filling code. That
...
fixes a problem with some FLAC files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7686 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 08:27:34 +00:00
Miika Pekkarinen
bdf558ca53
Fixed the voice codec when no audio is playing. Now attenuating audio
...
instead of making the voice louder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7653 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 21:07:35 +00:00
Miika Pekkarinen
c52f7f1b5e
iRiver: Fixed broken items skipping on playlist: Now skipping and
...
marking them as bad instead of deleting the entries from playlist.
Faster buffered track skipping and preventing glitches from previous
tracks (still something might occur though, please report them).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7647 a1c6a512-1295-4272-9138-f99709370657
2005-10-21 06:40:45 +00:00
Jens Arnold
abd9f83e92
Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00
Magnus Holmgren
0293dba5d2
iRiver: The audio init fix caused problems if a voice file was present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7635 a1c6a512-1295-4272-9138-f99709370657
2005-10-16 12:05:58 +00:00
Magnus Holmgren
62634a323e
iriver: audio_init really needs to be called after playlist and tree init; delay initial application of buffer margin and crossfade to solve the settings dependency. This should fix the problem with large values in 'Max files in dir browser'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7633 a1c6a512-1295-4272-9138-f99709370657
2005-10-16 08:01:02 +00:00
Ryan Jackson
7d51325b1d
Skip buffer refill after end of playlist (conf_watermark == 0). With 'move to next folder' enabled, the last song in the folder was being buffered a second time if filebufused == 0 and the end of the playlist had been reached. This caused moving to the next folder to fail on some Vorbis files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7622 a1c6a512-1295-4272-9138-f99709370657
2005-10-12 08:49:37 +00:00
Thom Johansen
849c2bbd9f
seek_time should be reset here, not in each codec, as is currently done.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7610 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 18:20:40 +00:00
Ryan Jackson
7d0b7e9378
Temporary trivial workaround for empty/invalid playlists
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7595 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 22:55:30 +00:00
Jonas Häggqvist
0dd0d3134d
Fix for the problem that the iriver would not auto poweroff if a file had been played. Pointed out by Stephan Wezel in patch #1298779 . Tested, and pause still remains on if skipping tracks, but if this causes problems, revert it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7564 a1c6a512-1295-4272-9138-f99709370657
2005-09-26 01:20:02 +00:00
Ryan Jackson
c694954f73
Skipping to the previous track from the last buffered track caused playback to stop after the last buffered track if it didn't originally fit completely in the file buffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7559 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 15:44:07 +00:00
Dave Chapman
139c1cb824
First version of ALAC (Apple Lossless) decoder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7547 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:55:37 +00:00
Miika Pekkarinen
acdcdb0278
iRiver: Correctly keeping playback paused when skipping tracks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7506 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 21:02:42 +00:00
Jens Arnold
ec9b202a92
Reworked handling of MPEG audio frame & file info: * Fixed frame size calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 12:28:16 +00:00
Miika Pekkarinen
9146406061
Fixed possible problem with move to next folder option enabled. Placed
...
voice codec stack on iram and reduced both codec stack sizes by 0x500.
Now voice codec should be much faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7468 a1c6a512-1295-4272-9138-f99709370657
2005-09-04 08:38:00 +00:00
Jens Arnold
a317d74d8e
Iriver: Changed the IRAM splitting between core and plugins to 48KB/48KB, and reduced the main thread stack to 8KB, same size as on archos.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7447 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 20:57:33 +00:00
Jens Arnold
579210df87
Restructured codec type handling a bit. Reduced code size, esp. on archos.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7443 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 17:03:09 +00:00
Miika Pekkarinen
65d43a2d22
Define empty macros for cpu boosting on targets with no such a feature.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7412 a1c6a512-1295-4272-9138-f99709370657
2005-08-28 19:55:30 +00:00
Miika Pekkarinen
29aad55d97
Fixed iriver cpu boosting problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7410 a1c6a512-1295-4272-9138-f99709370657
2005-08-28 14:16:03 +00:00
Magnus Holmgren
e830efcac0
iriver: const police.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7400 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 16:21:24 +00:00
Miika Pekkarinen
b2e94eff7f
Fixed unused codec swapping when voice codec is not playing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7370 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 18:38:27 +00:00
Miika Pekkarinen
8a7d104a35
Now codecs will do the buffer flushing after seeking as they find it
...
necessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7369 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 18:12:31 +00:00
Miika Pekkarinen
9d7fd1804e
Now beep can be disabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7365 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 21:17:41 +00:00
Miika Pekkarinen
e3dc61e0b9
Preparations to fix the usb mode (something is still preventing it from
...
working).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7363 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 18:55:15 +00:00
Miika Pekkarinen
159c52dd36
Initial voice ui support for software codec platforms. Added also a
...
beep when changing tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Jens Arnold
a88d076ac4
Preparation for runtimedb hookup on archos: don't pass software playback system specific structures.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7345 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 06:05:15 +00:00
Linus Nielsen Feltzing
591d2890f1
patch #1255805 by Frederic Devernay - fix to buffer overflow in dsp.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7301 a1c6a512-1295-4272-9138-f99709370657
2005-08-10 23:17:55 +00:00
Linus Nielsen Feltzing
064c7afb63
iriver: fix by Frederic Devernay, Rockbox could crash if the metadata reading failed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7300 a1c6a512-1295-4272-9138-f99709370657
2005-08-10 23:04:34 +00:00
Linus Nielsen Feltzing
40a19884aa
iriver: always save resume offset, not only if it's bigger than the already stored one. This fixes the bug where rewinding doesn't save the resume position
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7297 a1c6a512-1295-4272-9138-f99709370657
2005-08-10 22:54:59 +00:00
Miika Pekkarinen
095854b989
Put back the line (accidentally?) removed on the last commit. That is
...
necessary to prevent playback stuttering when fast skipping tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7285 a1c6a512-1295-4272-9138-f99709370657
2005-08-06 05:50:14 +00:00
Ryan Jackson
0812164ada
Fixed track changing in REPEAT_ONE mode and playlists with only one track. Removed previous workaround for this bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7284 a1c6a512-1295-4272-9138-f99709370657
2005-08-05 23:51:48 +00:00
Miika Pekkarinen
637887838f
Fixed a hang with backward skipping.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7269 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 20:46:38 +00:00
Ryan Jackson
1476fecf72
All repeat modes now work correctly if there is only one track in the playlist. Fixed a track-changing bug in 'Move to Next Folder' mode that could cause Rockbox to crash.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7268 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 19:36:06 +00:00
Miika Pekkarinen
05820cbc07
Now playlist ending and skipping to a next directory should work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7267 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 18:47:12 +00:00
Miika Pekkarinen
47c82f295b
Fixed a problem that wps didn't exit at end of the playlist.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7266 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 18:25:27 +00:00
Miika Pekkarinen
7e58bd7cb8
Correctly setting the last_index to prevent playback stuttering.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7264 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 17:53:56 +00:00
Miika Pekkarinen
4633d01eaf
Now removing right tracks from playlist.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7263 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 17:41:26 +00:00
Miika Pekkarinen
fd7952e413
Fixed a hang on track changed. Automatically deleting invalid track
...
entries from current playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7262 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 17:00:06 +00:00
Ryan Jackson
b301b43825
Added comments, Replay Gain, and resume/bookmarks for FLAC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7253 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 18:43:33 +00:00
Ryan Jackson
795ce8b1a8
Changing tracks in REPEAT_ONE mode restarts the current track instead of crashing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7232 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 04:17:34 +00:00
Miika Pekkarinen
7fa9f603e2
Fixed a hang while selecting a new track and playback was paused. This
...
was probably my last commit within the next three weeks, see you around!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7230 a1c6a512-1295-4272-9138-f99709370657
2005-07-23 16:09:50 +00:00
Miika Pekkarinen
ae5002d1da
Fixed the backwards skipping problem.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7229 a1c6a512-1295-4272-9138-f99709370657
2005-07-23 08:48:10 +00:00
Miika Pekkarinen
e0d17510d9
Show a nice splash screen when restarting the playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7225 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 16:57:08 +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
Miika Pekkarinen
857ee67b6a
Fixed the unnecessary compiler warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7215 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 16:16:30 +00:00
Miika Pekkarinen
ab2163bdf5
Fixed the crossfade setting: Resuming stopped playback automatically
...
when changing values, setting crossfade amount correctly and pcm
drivers should not be re-initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7214 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 15:47:29 +00:00
Miika Pekkarinen
f090dc3829
Crossfade (and pcm buffer size) length is now configurable.
...
Implemented anti-skip buffer setting for iriver also. Settings block
bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 11:44:00 +00:00
Miika Pekkarinen
5755ffe60c
Fixed the backwards skipping.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7207 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 18:50:07 +00:00
Miika Pekkarinen
bd1131e748
Implemented mp3_pause_done() for software codecs to make wps correctly
...
wait for pause to complete when fading the volume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7205 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 01:58:27 +00:00
Ryan Jackson
300fb882be
No longer crashes when resuming or on shutdown in car adapter mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7204 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 22:01:47 +00:00
Miika Pekkarinen
d83b659fa7
Fixed track changing problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7201 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 19:57:23 +00:00
Miika Pekkarinen
f5df9cd81c
Track count is now correct.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7185 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 06:10:53 +00:00
Miika Pekkarinen
e361749fe2
Fixed a problem that caused codec switching to fail on certain rare
...
conditions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7184 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 21:44:58 +00:00
Miika Pekkarinen
cd8bfeb8a3
Fixed the gapless playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7180 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 15:35:17 +00:00
Magnus Holmgren
08761aaa52
Restructured DSP code for readability and speed. Simplified the API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7174 a1c6a512-1295-4272-9138-f99709370657
2005-07-16 12:25:28 +00:00
Miika Pekkarinen
cda55bbd6f
Correctly read the next track metadata information. Don't crash if
...
frequency is ever set to 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7171 a1c6a512-1295-4272-9138-f99709370657
2005-07-16 06:26:29 +00:00
Miika Pekkarinen
2e884cc85f
Revert back the previous commit, there are some problems with id3
...
fields to be solved.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7167 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 21:37:03 +00:00
Miika Pekkarinen
54395bbf3d
Don't read metadata twice.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7163 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 21:13:13 +00:00
Miika Pekkarinen
b6048c49ba
Don't hang when trying to stop paused playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7159 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 18:42:01 +00:00
Miika Pekkarinen
34a25a6a3b
Fixed a problem that caused playback to stutter when changing tracks
...
fast.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7157 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 16:42:01 +00:00
Miika Pekkarinen
2159811c66
Fixed a problem that cpu boost didn't always reset when stopping the
...
playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7153 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 07:57:09 +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
Ryan Jackson
d191756286
Resume now starts playback at the point it was stopped, not 2-7 seconds later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7125 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 16:45:38 +00:00
Miika Pekkarinen
2f6781d616
Resetting the pause indicator when seeking songs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7109 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 20:43:02 +00:00
Linus Nielsen Feltzing
c4b7c671f9
Patch #1235763 by Ryan Jackson - Resume/bookmark support for Vorbis
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7098 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 06:47:35 +00:00
Miika Pekkarinen
0d63cbba4b
Fixed a problem with transition to next album which caused rockbox
...
virtually to crash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7096 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 20:37:36 +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
645a2e16ed
Fixed a simulator crash while trying to play a song. Fixed crossfade
...
when selecting a new track to play. Most likely fixed a bug which
caused playback to stop on track change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7094 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 16:33:03 +00:00
Miika Pekkarinen
a9203b4d83
Updating wps info correctly when changing a track while buffering.
...
Fixed the delay while seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7093 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 08:54:19 +00:00
Miika Pekkarinen
527ce403ea
The previous commit did not fix the metadata reading correctly. Now it
...
should have been fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7092 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 08:46:12 +00:00
Miika Pekkarinen
b288dda685
Fixed a problem that next track info was not always available after the
...
initial file buffering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7091 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 08:38:16 +00:00
Miika Pekkarinen
3e33f85f17
Track changing works now better (not still perfect).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7090 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 06:58:02 +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
Linus Nielsen Feltzing
df80798a30
Lame hack to strip ID3v1 tags from MP3 playback, so they can play back without gaps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7054 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 09:53:02 +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
Linus Nielsen Feltzing
ffd207f4b0
Makes sure that the pause/resume/prev/next functions are executed in the audio thread
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7043 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 19:40:17 +00:00
Miika Pekkarinen
22960c3f95
Waiting pcm buffer to run empty before stopping the last track.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7040 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 15:44:59 +00:00
Miika Pekkarinen
5c2c991d14
Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".
...
Thanks to Magnus Holmgren. Now metadata reading is better with
improved performance for mp3 files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7030 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:55:40 +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
2d79df5086
Fixed a problem that caused playback to stop on certain situations. Fixed
...
buffer filling issue if we try to buffer more than MAX_TRACK tracks at
a same time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7026 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 13:34:52 +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
Hardeep Sidhu
839dbcaed7
Moved resume info updating to the mpeg/playback threads so that it's saved even when not in the WPS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7018 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:50:57 +00:00
Miika Pekkarinen
8ad60cced2
Update the wps when next track info is available.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7005 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:06:30 +00:00
Miika Pekkarinen
e21cf8440a
Fixed the warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6997 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 19:20:40 +00:00
Miika Pekkarinen
9bde0380a6
Updated the track_unbuffer event callback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6995 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 18:36:24 +00:00
Miika Pekkarinen
f46c9f204c
Now next track info is always available.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6994 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 18:03:20 +00:00
Jens Arnold
bb3ed3cda9
Use the central IDATA_ATTR define.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 15:09:11 +00:00
Miika Pekkarinen
d50ed1248d
The last small fix to the previous commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6990 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 17:55:51 +00:00
Miika Pekkarinen
837c1e3cad
Correction to the previous commit when switching tracks manually.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6989 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 17:49:13 +00:00
Miika Pekkarinen
b469e73246
Use correct timing to display the next track wps screen when crossfade
...
is activated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6988 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 17:45:12 +00:00
Miika Pekkarinen
9c70b1b562
Make sure we stop the playback the right way.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6987 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 17:03:19 +00:00
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