- cleanup namespace Audio usage here
This commit is contained in:
parent
51780413af
commit
0a54d7f7db
|
|
@ -11,10 +11,12 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "speex/speex_resampler.h"
|
#include "speex/speex_resampler.h"
|
||||||
|
|
||||||
using namespace Audio;
|
|
||||||
|
|
||||||
#define IS_FRACTIONAL_RATE(X) (((X) % 8000) != 0)
|
#define IS_FRACTIONAL_RATE(X) (((X) % 8000) != 0)
|
||||||
|
|
||||||
|
namespace Audio
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
SpeexResampler::SpeexResampler()
|
SpeexResampler::SpeexResampler()
|
||||||
:mContext(NULL), mErrorCode(0), mSourceRate(0), mDestRate(0), mLastSample(0)
|
:mContext(NULL), mErrorCode(0), mSourceRate(0), mDestRate(0), mLastSample(0)
|
||||||
{
|
{
|
||||||
|
|
@ -279,3 +281,4 @@ PResampler UniversalResampler::findResampler(int sourceRate, int destRate)
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // end of namespace
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue