summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2008-10-17 20:00:56 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2008-10-17 20:00:56 +0200
commit56b1686b8c27a0b01d0ae3f50615974d03574947 (patch)
treea0b2c7cf833fcc5ccd0fe2e89db7a79f98bb3233 /src/player.h
parent3fa2e6d50393d0acd683a23989a5b49e615adc66 (diff)
downloadpianobar-56b1686b8c27a0b01d0ae3f50615974d03574947.tar.gz
pianobar-56b1686b8c27a0b01d0ae3f50615974d03574947.tar.bz2
pianobar-56b1686b8c27a0b01d0ae3f50615974d03574947.zip
Resume aborted song transfer
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.
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index e542d4d..ee89237 100644
--- a/src/player.h
+++ b/src/player.h
@@ -36,6 +36,7 @@ struct aacPlayer {
PLAYER_AUDIO_INITIALIZED, PLAYER_FOUND_STSZ,
PLAYER_SAMPLESIZE_INITIALIZED, PLAYER_RECV_DATA,
PLAYER_FINISHED_PLAYBACK} mode;
+ size_t bytesReceived;
/* stsz atom: sample sizes */
unsigned int *sampleSize;
size_t sampleSizeN;