Decouple <cstdint>

This commit is contained in:
Martin Natano
2023-04-21 22:13:41 +02:00
parent bcea05dd67
commit aa87f85eef
167 changed files with 1533 additions and 1307 deletions
+4 -2
View File
@@ -3,6 +3,8 @@
#ifndef RAGE_SOUND_POS_MAP_H
#define RAGE_SOUND_POS_MAP_H
#include <cstdint>
struct pos_map_impl;
class pos_map_queue
{
@@ -13,10 +15,10 @@ public:
pos_map_queue &operator=( const pos_map_queue &rhs );
/* Insert a mapping from iSourceFrame to iDestFrame, containing iFrames. */
void Insert( int64_t iSourceFrame, int iFrames, int64_t iDestFrame, float fSourceToDestRatio = 1.0f );
void Insert( std::int64_t iSourceFrame, int iFrames, std::int64_t iDestFrame, float fSourceToDestRatio = 1.0f );
/* Return the iDestFrame for the given iSourceFrame. */
int64_t Search( int64_t iSourceFrame, bool *bApproximate ) const;
std::int64_t Search( std::int64_t iSourceFrame, bool *bApproximate ) const;
/* Erase all mappings. */
void Clear();