Unverified Commit 7d2b014f authored by Wolle's avatar Wolle Committed by GitHub

Add files via upload

parent c12a22fd
......@@ -3949,6 +3949,8 @@ int Audio::sendBytes(uint8_t* data, size_t len) {
m_validSamples = AACGetOutputSamps() / getChannels();
}
if(m_codec == CODEC_FLAC || m_codec == CODEC_OGG_FLAC){
const uint8_t FLAC_PARSE_OGG_DONE = 100;
if(ret == FLAC_PARSE_OGG_DONE) return bytesDecoded; // nothing to play
m_validSamples = FLACGetOutputSamps() / getChannels();
char* st = FLACgetStreamTitle();
if(st){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment