fix 64bit stuff
Originally committed to SVN as r471.
This commit is contained in:
parent
4e729994e5
commit
4f616b6775
3 changed files with 3 additions and 2 deletions
|
@ -129,6 +129,7 @@ AC_CXX_FLAG([-Wall])
|
||||||
AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])])
|
AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])])
|
||||||
AC_CXX_FLAG([-Wno-unused-parameter])
|
AC_CXX_FLAG([-Wno-unused-parameter])
|
||||||
AC_CXX_FLAG([-Wno-long-long])
|
AC_CXX_FLAG([-Wno-long-long])
|
||||||
|
AC_CXX_FLAG([-fpermissive])
|
||||||
AC_CXX_FLAG([-std=c++98])
|
AC_CXX_FLAG([-std=c++98])
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1305,7 +1305,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) {
|
||||||
|
|
||||||
// Send data to provider
|
// Send data to provider
|
||||||
scrubProvider->Append(buf,bufSize);
|
scrubProvider->Append(buf,bufSize);
|
||||||
if (!player->IsPlaying()) player->Play(0,0xFFFFFFFFFFFF);
|
if (!player->IsPlaying()) player->Play(0,~0ULL);
|
||||||
delete buf;
|
delete buf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ StreamAudioProvider::StreamAudioProvider() {
|
||||||
endPos = BUFSIZE;
|
endPos = BUFSIZE;
|
||||||
buffered = 0;
|
buffered = 0;
|
||||||
hasBuf = false;
|
hasBuf = false;
|
||||||
num_samples = 0xFFFFFFFFFFFFFF;
|
num_samples = ~0ULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue