summaryrefslogtreecommitdiffstats
path: root/apps/buffering.c
AgeCommit message (Expand)AuthorFilesLines
2007-11-08No functional changeBrandon Low1-3/+3
2007-11-08Fix a bug introduced by r15533 where end-of-file wouldn't be detected correctly.Nicolas Pennequin1-1/+4
2007-11-08Thanks to the changes in prep_bufdata, bufgetdata can be simplified a bit.Nicolas Pennequin1-2/+4
2007-11-08Clean up a (nearly impossible) null check. Add a comment.Brandon Low1-0/+4
2007-11-08Change in function should be nearly zero, but change to proper naming and def...Brandon Low1-8/+6
2007-11-08Fix some bad where a handle is held across a sleep. We should probably audit...Brandon Low1-15/+21
2007-11-08Fix the bug where MPC files would be skipped by disabling the check of the re...Nicolas Pennequin1-4/+6
2007-11-07Fix a flaw in prep_bufdata() that would lead to all kinds of problems with co...Nicolas Pennequin1-3/+4
2007-11-06Fix thinko in last patch, shouldn't effect current buffering clients.Brandon Low1-2/+2
2007-11-06Pull the size range checking and disk request into a separate function that b...Brandon Low1-44/+41
2007-11-05This was (probably) committed by accident, remove it.Nicolas Pennequin1-2/+1
2007-11-05Don't yield twice in a rowBrandon Low1-3/+2
2007-11-05Types other than packet audio still need to yield while buffering.Nicolas Pennequin1-1/+3
2007-11-05Readd yield_codec, making it check for useful data through buffer_is_low. Fix...Nicolas Pennequin1-46/+64
2007-11-05This was a bad change on my part earlier. Do not immediately start buffering...Brandon Low1-1/+1
2007-11-05Fix some logf warnings.Nicolas Pennequin1-3/+3
2007-11-05Create two separate ways for a handle buffer request to be sent. One is when...Brandon Low1-10/+7
2007-11-05When seeking foward off of the buffer, if it is a short seek don't rebuffer t...Brandon Low1-0/+8
2007-11-05Remove conf_filechunk, it should never have been a setting and its implementa...Brandon Low1-36/+10
2007-11-05Remove unused conf_preseek from buffering.c and all of its accountraments. T...Brandon Low1-12/+0
2007-11-05Minor improvement in responsiveness to buffer_handle callsBrandon Low1-2/+1
2007-11-05logging improvementsBrandon Low1-11/+18
2007-11-05SHould fix FS#8074, is more better regardless thoughBrandon Low1-5/+17
2007-11-05Don't keep useless id3v2 or other leading tag data on the buffer, it could be...Brandon Low1-4/+4
2007-11-04make handle_id of zero valid, stop using memsets to clear tracks, should be n...Brandon Low1-8/+12
2007-11-04More residuals from 8077, sanitize chunk and watermark settingsBrandon Low1-0/+12
2007-11-04More residuals from 8077 that should make buffering start up more smoothly an...Brandon Low1-16/+21
2007-11-04Tweak the way the data_counters are calculated to make it more friendly to th...Brandon Low1-8/+18
2007-11-04More try to fix 8077, BUF_USED is not a good way to determine if the buffer i...Brandon Low1-30/+14
2007-11-04Disable the already spinning optimization until it is written correctlyBrandon Low1-0/+4
2007-11-03Make the use of signed int for buffer handles consistent and handle wrapping ...Brandon Low1-8/+7
2007-11-03Attempt to fix FS#8077... againBrandon Low1-4/+7
2007-11-03Revert recent changes that are brokenBrandon Low1-9/+11
2007-11-03Make handle id semantics more like file id. This may need to be revisited if...Brandon Low1-11/+9
2007-11-03Buffering consistency improvementsBrandon Low1-25/+33
2007-11-03Make atomic type work for even first track. Rework low buffer handling... us...Brandon Low1-19/+25
2007-11-03Give lowmem targets or targets with broken ATA implementations more buffering...Brandon Low1-5/+6
2007-11-03Use a recursive depth-first shrinkage function, limit handles accordinglyBrandon Low1-17/+14
2007-11-02Make bufread and bufgetdata blocking. They now return when enough data is ava...Nicolas Pennequin1-29/+45
2007-11-02Improve upon my hackity hack from before by separating audio into two types: ...Brandon Low1-26/+30
2007-11-01Temporary work around for the situation where a single codec request is for m...Brandon Low1-9/+13
2007-10-30Slight rework of the buffering logic:Nicolas Pennequin1-17/+14
2007-10-30Further improve the mistakes I made in add_handle (thanks Nico_P for not beat...Brandon Low1-7/+8
2007-10-30can_add_handle() can be removed, but its logic must remain: before adding a h...Nicolas Pennequin1-3/+14
2007-10-29Fix yellow, not sure how to properly specify this argument's nature so this i...Brandon Low1-1/+1
2007-10-29Remove can_add_handle, its safety and benefit are both questionable. Make sh...Brandon Low1-69/+43
2007-10-29Prefix the error constants with ERR_Nicolas Pennequin1-16/+16
2007-10-28Improve move_handle's semantics. Shoudl have no functional impactBrandon Low1-25/+37
2007-10-28Comment improvementsBrandon Low1-1/+8
2007-10-28Add #defines for error values. Makes the code easier to read.Nicolas Pennequin1-18/+18