diff options
Diffstat (limited to 'src/decode.c')
-rw-r--r-- | src/decode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decode.c b/src/decode.c index f9e07db62..3ad93626c 100644 --- a/src/decode.c +++ b/src/decode.c @@ -17,6 +17,7 @@ */ #include "decode.h" + #include "player.h" #include "playerData.h" #include "utils.h" @@ -123,6 +124,9 @@ int waitOnDecode(PlayerControl * pc, AudioFormat * af, DecoderControl * dc, pc->elapsedTime = 0; pc->bitRate = 0; + pc->sampleRate = af->sampleRate; + pc->bits = af->bits; + pc->channels = af->channels; pc->totalTime = cb->totalTime; return 0; |