mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 20:07:11 +00:00
get rid of BUGGY_NEW_MP3_PLAYER
svn-id: r9347
This commit is contained in:
parent
0b4e48b59e
commit
643e88b04c
@ -144,7 +144,7 @@ public:
|
|||||||
bool isMusicChannel() { return false; }
|
bool isMusicChannel() { return false; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef BUGGY_NEW_MP3_PLAYER
|
#ifdef SOX_HACK
|
||||||
class ChannelMP3CDMusic : public Channel {
|
class ChannelMP3CDMusic : public Channel {
|
||||||
RateConverter *_converter;
|
RateConverter *_converter;
|
||||||
MP3InputStream *_input;
|
MP3InputStream *_input;
|
||||||
@ -980,7 +980,7 @@ void ChannelMP3::mix(int16 *data, uint len) {
|
|||||||
|
|
||||||
#define MP3CD_BUFFERING_SIZE 131072
|
#define MP3CD_BUFFERING_SIZE 131072
|
||||||
|
|
||||||
#ifdef BUGGY_NEW_MP3_PLAYER
|
#ifdef SOX_HACK
|
||||||
ChannelMP3CDMusic::ChannelMP3CDMusic(SoundMixer *mixer, PlayingSoundHandle *handle, File *file, mad_timer_t duration)
|
ChannelMP3CDMusic::ChannelMP3CDMusic(SoundMixer *mixer, PlayingSoundHandle *handle, File *file, mad_timer_t duration)
|
||||||
: Channel(mixer, handle) {
|
: Channel(mixer, handle) {
|
||||||
// Create the input stream
|
// Create the input stream
|
||||||
@ -1001,14 +1001,14 @@ ChannelMP3CDMusic::ChannelMP3CDMusic(SoundMixer *mixer, PlayingSoundHandle *hand
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
ChannelMP3CDMusic::~ChannelMP3CDMusic() {
|
ChannelMP3CDMusic::~ChannelMP3CDMusic() {
|
||||||
#ifdef BUGGY_NEW_MP3_PLAYER
|
#ifdef SOX_HACK
|
||||||
delete _converter;
|
delete _converter;
|
||||||
delete _input;
|
delete _input;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChannelMP3CDMusic::mix(int16 *data, uint len) {
|
void ChannelMP3CDMusic::mix(int16 *data, uint len) {
|
||||||
#ifdef BUGGY_NEW_MP3_PLAYER
|
#ifdef SOX_HACK
|
||||||
assert(_input);
|
assert(_input);
|
||||||
assert(_converter);
|
assert(_converter);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user