mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 651461 - Fix build failure in nsAudioStream.cpp due to conflicting types; r=roc
This commit is contained in:
parent
7136395d5d
commit
f2dbde01af
@ -566,7 +566,7 @@ PRInt64 nsAudioStreamLocal::GetSampleOffset()
|
|||||||
#if defined(XP_WIN)
|
#if defined(XP_WIN)
|
||||||
positionType = SA_POSITION_WRITE_HARDWARE;
|
positionType = SA_POSITION_WRITE_HARDWARE;
|
||||||
#endif
|
#endif
|
||||||
PRInt64 position = 0;
|
int64_t position = 0;
|
||||||
if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
|
if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
|
||||||
positionType, &position) == SA_SUCCESS) {
|
positionType, &position) == SA_SUCCESS) {
|
||||||
return position / sizeof(short);
|
return position / sizeof(short);
|
||||||
|
Loading…
Reference in New Issue
Block a user