GameKit: gcc2 build fix
This commit is contained in:
@@ -32,7 +32,15 @@ struct _gs_media_tracker {
|
|||||||
|
|
||||||
|
|
||||||
// Local utility functions -----------------------------------------------
|
// Local utility functions -----------------------------------------------
|
||||||
template<typename T, int middle = 0>
|
template<typename T>
|
||||||
|
inline bool
|
||||||
|
FillBuffer(_gs_ramp* ramp, T* dest, const T* src, size_t* bytes)
|
||||||
|
{
|
||||||
|
return ::FillBuffer<T, 0>(ramp, dest, src, bytes);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<typename T, int middle>
|
||||||
bool
|
bool
|
||||||
FillBuffer(_gs_ramp* ramp, T* dest, const T* src, size_t* bytes)
|
FillBuffer(_gs_ramp* ramp, T* dest, const T* src, size_t* bytes)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -43,7 +43,15 @@
|
|||||||
#include "GSUtility.h"
|
#include "GSUtility.h"
|
||||||
|
|
||||||
// Sound Buffer Utility functions ----------------------------------------
|
// Sound Buffer Utility functions ----------------------------------------
|
||||||
template<typename T, int middle = 0>
|
template<typename T>
|
||||||
|
static inline void
|
||||||
|
ApplyMod(T* data, int64 index, float* pan)
|
||||||
|
{
|
||||||
|
return ApplyMod<T, 0>(data, index, pan);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<typename T, int middle>
|
||||||
static inline void
|
static inline void
|
||||||
ApplyMod(T* data, int64 index, float* pan)
|
ApplyMod(T* data, int64 index, float* pan)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user