Merge pull request #393 from sparr/linux_compile_fixes

Resolve linux compile problems
This commit is contained in:
Christopher Snowhill 2019-04-13 00:13:03 -07:00 committed by GitHub
commit d67ad90f72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -1369,8 +1369,10 @@ static int get_bytes_to_samples(txth_header * txth, uint32_t bytes) {
return atrac3plus_bytes_to_samples(bytes, txth->interleave);
case AAC:
return aac_get_samples(txth->streamBody, txth->start_offset, bytes);
#ifdef VGM_USE_MPEG
case MPEG:
return mpeg_get_samples(txth->streamBody, txth->start_offset, bytes);
#endif
case AC3:
return ac3_bytes_to_samples(bytes, txth->interleave, txth->channels);

View File

@ -2,6 +2,7 @@
#include "mixing.h"
#include "plugins.h"
#include <math.h>
#include <limits.h>
/**