mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
Merge pull request #393 from sparr/linux_compile_fixes
Resolve linux compile problems
This commit is contained in:
commit
d67ad90f72
@ -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);
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
#include "mixing.h"
|
||||
#include "plugins.h"
|
||||
#include <math.h>
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user