summaryrefslogtreecommitdiff
path: root/src/player.c
AgeCommit message (Collapse)AuthorFilesLines
2009-03-08Fix "pause" -- againLars-Dominik Braun1-50/+14
Don't parse Content-Length header, curl does this too; CURLE_RECV_ERROR is recoverable too
2009-03-04Ui improvementsLars-Dominik Braun1-5/+7
printf wrapper introduced, hopefully cleaned up ui
2009-03-01Even more documentationLars-Dominik Braun1-0/+11
...and small cleanups.
2009-02-07Fix mp3 time displayLars-Dominik Braun1-0/+6
2009-02-06Fix FPELars-Dominik Braun1-5/+8
Introduced in (last) commit a2aee035072a5d346c187a890539f72c6d5167a0. Don't divide by zero :)
2009-02-05Time display for mp3 playbackLars-Dominik Braun1-3/+61
Time is now counted in milliseconds, not aac frames. Calculations seem to be inaccurate sometimes (about +-2 seconds).
2009-02-04Buffer abstractionLars-Dominik Braun1-22/+25
Replace copy&waste by inline functions
2009-02-01mp3 playback supportLars-Dominik Braun1-33/+191
Now libfaad and/or libmad are used for playback. There's currently no remaining time displayed for mp3 playback.
2009-01-31Switch build system to cmakeLars-Dominik Braun1-1/+1
lib{piano,wardrobe} are now static libraries and not installed any more.
2009-01-31Remove orphan mutex_unlockLars-Dominik Braun1-2/+0
Forgot that in last commit...
2009-01-31Use pthread mutex to block player in pause stateLars-Dominik Braun1-9/+8
2009-01-20It's 2009 nowLars-Dominik Braun1-1/+2
Update copyright notices, add my email address, but don't change libwardrobe (I'm not maintaining it anymore)
2008-12-13Use curl's built-in range supportLars-Dominik Braun1-9/+4
2008-10-25Use own byteswap implementationLars-Dominik Braun1-3/+6
pianobar can be compiled on NetBSD (and maybe others) now.
2008-10-17Resume aborted song transferLars-Dominik Braun1-1/+19
This fixes those my-favorite-song-suddenly-aborted-"bugs", as well as the pause mode, which was more like a stop mode, because pandora *always* aborted the transfer after a few minutes.
2008-09-09Pause song fasterLars-Dominik Braun1-16/+16
2008-08-27Use bswap_32 in playerLars-Dominik Braun1-19/+5
2008-08-27AAC-Player fine tuningLars-Dominik Braun1-9/+8
Move variables definitions outside the loop, define buffer as short int, as replaygain works with ints, not bytes.
2008-08-26Silence curl's attribute warningsLars-Dominik Braun1-1/+1
2008-08-19Allow key shortcut configuration via config fileLars-Dominik Braun1-0/+2
Some code restructuring was made, too: - Move UI functions to ui.c and ui_act.c - Change default keys for loving and banning to + and -
2008-07-24Reduce cpu load produced by replaygainLars-Dominik Braun1-2/+4
It's not necessary to re-compute the scale factor as it will be the same every time.
2008-07-24Initial ReplayGain work (including anti-clipping)Lars-Dominik Braun1-0/+27
Could be tuned...
2008-06-28client: Use mode instead of finishedPlayback in playerLars-Dominik Braun1-12/+18
Smarter solution than commit 8421cfd9886ec5ee19cde18b48853c2f9ea60c29.
2008-06-27client: Fix wrong length calculationLars-Dominik Braun1-1/+2
2008-06-25client: Faster player thread abortLars-Dominik Braun1-1/+6
2008-06-23Set curl timeout to 60 seconds.Lars-Dominik Braun1-0/+1
2008-06-23client: Abort player thread while pause mode should be possibleLars-Dominik Braun1-2/+2
2008-06-23client: Use function prefix "Bar"Lars-Dominik Braun1-6/+6
2008-06-21client: Some cleanupLars-Dominik Braun1-3/+4
Now unneeded header, linebreaks
2008-06-21client: Read stsz atom containing frame sizesLars-Dominik Braun1-0/+239
This has two advantages: 1) We can pass the correct amount of bytes to NeAACDecDecode (). This should fix some decoding error messages. And 2) We can show the length of the song and the remaining (or already played time) to the user. Cool, eh?