Revert the unintentional commit from r30222. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30223 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,7 +12,6 @@ Addon mixer.media_addon :
|
|||||||
MixerSettings.cpp
|
MixerSettings.cpp
|
||||||
MixerUtils.cpp
|
MixerUtils.cpp
|
||||||
Resampler.cpp
|
Resampler.cpp
|
||||||
ResamplerSmooth.cpp
|
|
||||||
: be media
|
: be media
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,7 @@
|
|||||||
#include "MixerInput.h"
|
#include "MixerInput.h"
|
||||||
#include "MixerOutput.h"
|
#include "MixerOutput.h"
|
||||||
#include "MixerUtils.h"
|
#include "MixerUtils.h"
|
||||||
//#include "Resampler.h"
|
#include "Resampler.h"
|
||||||
#include "ResamplerSmooth.h"
|
|
||||||
#include "RtList.h"
|
#include "RtList.h"
|
||||||
|
|
||||||
#include <Buffer.h>
|
#include <Buffer.h>
|
||||||
@@ -262,15 +261,9 @@ MixerCore::ApplyOutputFormat()
|
|||||||
}
|
}
|
||||||
|
|
||||||
fResampler = new Resampler * [fMixBufferChannelCount];
|
fResampler = new Resampler * [fMixBufferChannelCount];
|
||||||
#if 0
|
|
||||||
for (int i = 0; i < fMixBufferChannelCount; i++)
|
for (int i = 0; i < fMixBufferChannelCount; i++)
|
||||||
fResampler[i] = new Resampler(media_raw_audio_format::B_AUDIO_FLOAT,
|
fResampler[i] = new Resampler(media_raw_audio_format::B_AUDIO_FLOAT,
|
||||||
format.format);
|
format.format);
|
||||||
#else
|
|
||||||
for (int i = 0; i < fMixBufferChannelCount; i++)
|
|
||||||
fResampler[i] = new ResamplerSmooth(media_raw_audio_format::B_AUDIO_FLOAT,
|
|
||||||
format.format);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
TRACE("MixerCore::OutputFormatChanged:\n");
|
TRACE("MixerCore::OutputFormatChanged:\n");
|
||||||
TRACE(" fMixBufferFrameRate %ld\n", fMixBufferFrameRate);
|
TRACE(" fMixBufferFrameRate %ld\n", fMixBufferFrameRate);
|
||||||
|
|||||||
Reference in New Issue
Block a user