summaryrefslogtreecommitdiff
path: root/apps/playback.c (follow)
Commit message (Collapse)AuthorAge
...
* Add and improve logfing, fix a possible cause of problems due to abuse of ↵Brandon Low2006-04-11
| | | | | | read_next_metadata git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9628 a1c6a512-1295-4272-9138-f99709370657
* Fix logf build, fix double reporting buffer events.Brandon Low2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9627 a1c6a512-1295-4272-9138-f99709370657
* Almost entirely formatting changes, but also add one logf, and fix one ↵Brandon Low2006-04-11
| | | | | | 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
* Clarify a commentBrandon Low2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9616 a1c6a512-1295-4272-9138-f99709370657
* Clear tracks in more appropriate ways/placesBrandon Low2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9615 a1c6a512-1295-4272-9138-f99709370657
* Handle rebuffer-and-seek and track skip buffer events smarter. Fill the ↵Brandon Low2006-04-11
| | | | | | 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
* Fix yellowBrandon Low2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9613 a1c6a512-1295-4272-9138-f99709370657
* Fix a (very unlikely) bug in bufferingBrandon Low2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9611 a1c6a512-1295-4272-9138-f99709370657
* Fix some signedness and exit condition stuff. Not sure if this addresses ↵Brandon Low2006-04-11
| | | | | | live bugs, but it was wrong nonetheless git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9610 a1c6a512-1295-4272-9138-f99709370657
* Try to recover from a codec failure by restarting playbackBrandon Low2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9608 a1c6a512-1295-4272-9138-f99709370657
* Whoops, remove a done TODOBrandon Low2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9607 a1c6a512-1295-4272-9138-f99709370657
* Fix some commentsBrandon Low2006-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9606 a1c6a512-1295-4272-9138-f99709370657
* Ensure that codecs are cleared from the buffer if they will not be needed by ↵Brandon Low2006-04-11
| | | | | | 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
* Rework track skipping. Full playback stop is no longer involved in track ↵Brandon Low2006-04-11
| | | | | | 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
* Get the next track's metadata in a more timely mannerBrandon Low2006-04-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9591 a1c6a512-1295-4272-9138-f99709370657
* Formatting, and logf changesBrandon Low2006-04-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9583 a1c6a512-1295-4272-9138-f99709370657
* Fix another nasty rebuffering bug, and ensure that buffer and unbuffer ↵Brandon Low2006-04-09
| | | | | | 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
* Fix bad rebuffering bug, and kill the track_count variableBrandon Low2006-04-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9571 a1c6a512-1295-4272-9138-f99709370657
* Fix the condition on an error splashBrandon Low2006-04-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9565 a1c6a512-1295-4272-9138-f99709370657
* Correct seeking behavior (whoops), might fix the coldfire deadlocks. ↵Brandon Low2006-04-08
| | | | | | 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
* Fix seeking not resuming playback, many thanks to Ralf Herz for being an ↵Brandon Low2006-04-08
| | | | | | excellent debugger git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9558 a1c6a512-1295-4272-9138-f99709370657
* Change around some logfing to help debugging seek problemsBrandon Low2006-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9557 a1c6a512-1295-4272-9138-f99709370657
* Fix the playback sometimes doesn't start at all problems, and always fully ↵Brandon Low2006-04-07
| | | | | | 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
* Further unify start playback vs. other buffering situations, hopefully fixes ↵Brandon Low2006-04-07
| | | | | | some people's audio doesn't start problems git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9553 a1c6a512-1295-4272-9138-f99709370657
* This makes seeking work for meBrandon Low2006-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9552 a1c6a512-1295-4272-9138-f99709370657
* Fix some type casting => 64bit warning issuesBrandon Low2006-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9550 a1c6a512-1295-4272-9138-f99709370657
* Fix play initialization problems and buffering problems. This behaves ↵Brandon Low2006-04-07
| | | | | | _much_ better for me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9549 a1c6a512-1295-4272-9138-f99709370657
* Fix 64bit warnings.Jens Arnold2006-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9547 a1c6a512-1295-4272-9138-f99709370657
* Remove duplicated code and improve button responsiveness during buffer fillBrandon Low2006-04-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9541 a1c6a512-1295-4272-9138-f99709370657
* Stop abusing the queuing features, and start treating them with respect. ↵Brandon Low2006-04-06
| | | | | | 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
* Fix seeking on swcodec, but probably break some cases of skipping. Another ↵Brandon Low2006-04-06
| | | | | | 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
* More work on swcodec. No significant pcmbuf functions are called from the ↵Brandon Low2006-04-05
| | | | | | 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
* Prevent two division by zeros and one problem causing a crash in theMiika Pekkarinen2006-04-02
| | | | | | | mp3 metadata parser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9438 a1c6a512-1295-4272-9138-f99709370657
* Added track number sorting to the tagcache and a few new tags to theMiika Pekkarinen2006-03-30
| | | | | | | engine: track number, year, composer, length and bitrate. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9358 a1c6a512-1295-4272-9138-f99709370657
* New 'Track Skip Only' option for Crossfading; crossfading is disabled except ↵Zakk Roberts2006-03-30
| | | | | | 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
* Fixed some red builds.Miika Pekkarinen2006-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9261 a1c6a512-1295-4272-9138-f99709370657
* Fill WPS tags from tagcache if available.Miika Pekkarinen2006-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9260 a1c6a512-1295-4272-9138-f99709370657
* Fix a problem where audio would stay paused after a stop and start of playbackBrandon Low2006-03-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9248 a1c6a512-1295-4272-9138-f99709370657
* Convert playback.c to use unsigned byte counters, and _minor_ refactoring of ↵Brandon Low2006-03-24
| | | | | | buffer callbacks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9227 a1c6a512-1295-4272-9138-f99709370657
* Allow the pcm buffer to fill while playback is pausedBrandon Low2006-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9212 a1c6a512-1295-4272-9138-f99709370657
* First small step in playback.c's pending makeover. Properly lock and ↵Brandon Low2006-03-23
| | | | | | cleanup codec swapping git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9210 a1c6a512-1295-4272-9138-f99709370657
* Use size-correct casts. Fixes some AMD64 sim warnings.Thom Johansen2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9192 a1c6a512-1295-4272-9138-f99709370657
* Quick fix for voice UI on iPods. Proper fix (which does not impactThom Johansen2006-03-22
| | | | | | | functionality in any way) coming later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9190 a1c6a512-1295-4272-9138-f99709370657
* More 64bit simulator fixes, coinciding with the long policy this time.Jens Arnold2006-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8890 a1c6a512-1295-4272-9138-f99709370657
* Fixed the early usb initialization problem.Miika Pekkarinen2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8825 a1c6a512-1295-4272-9138-f99709370657
* Rework PCM bufferBrandon Low2006-02-07
| | | | | | | | | | | | | | | * 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
* Patch #1421483 - AIFF codec by Jvo StuderDave Chapman2006-02-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8524 a1c6a512-1295-4272-9138-f99709370657
* Codec buffer was initialized too early thus crashing the unit later.Miika Pekkarinen2006-01-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8473 a1c6a512-1295-4272-9138-f99709370657
* Don't use crossfader mix mode when skipping tracks manually.Miika Pekkarinen2006-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8470 a1c6a512-1295-4272-9138-f99709370657
* iriver: Init audio on background.Miika Pekkarinen2006-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8465 a1c6a512-1295-4272-9138-f99709370657