Fix by triton - use "uint64_t" instead of "unsigned int64_t" to fix compilation with GCC.
Originally committed to SVN as r1593.
This commit is contained in:
parent
f97501f254
commit
5a713aa717
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ int PortAudioPlayer::paCallback(const void *inputBuffer, void *outputBuffer,
|
||||||
|
|
||||||
// Calculate how much left
|
// Calculate how much left
|
||||||
int64_t lenAvailable = player->endPos - player->playPos;
|
int64_t lenAvailable = player->endPos - player->playPos;
|
||||||
unsigned int64_t avail = 0;
|
uint64_t avail = 0;
|
||||||
if (lenAvailable > 0) {
|
if (lenAvailable > 0) {
|
||||||
avail = lenAvailable;
|
avail = lenAvailable;
|
||||||
if (avail > framesPerBuffer) {
|
if (avail > framesPerBuffer) {
|
||||||
|
|
Loading…
Reference in a new issue