Decouple <cstdint>
This commit is contained in:
+5
-2
@@ -1,5 +1,8 @@
|
||||
#ifndef RAGE_SOUND_UTIL_H
|
||||
#define RAGE_SOUND_UTIL_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
/** @brief Simple utilities that operate on sound buffers. */
|
||||
namespace RageSoundUtil
|
||||
{
|
||||
@@ -7,8 +10,8 @@ namespace RageSoundUtil
|
||||
void Pan( float *pBuffer, int iFrames, float fPos );
|
||||
void Fade( float *pBuffer, int iFrames, int iChannels, float fStartVolume, float fEndVolume );
|
||||
void ConvertMonoToStereoInPlace( float *pBuffer, int iFrames );
|
||||
void ConvertNativeInt16ToFloat( const int16_t *pFrom, float *pTo, int iSamples );
|
||||
void ConvertFloatToNativeInt16( const float *pFrom, int16_t *pTo, int iSamples );
|
||||
void ConvertNativeInt16ToFloat( const std::int16_t *pFrom, float *pTo, int iSamples );
|
||||
void ConvertFloatToNativeInt16( const float *pFrom, std::int16_t *pTo, int iSamples );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user