mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 651461 - Fix build failure in nsAudioStream.cpp due to conflicting types. r=roc
This commit is contained in:
parent
0b7ef49a81
commit
1fa19bd7f2
@ -566,7 +566,7 @@ PRInt64 nsAudioStreamLocal::GetSampleOffset()
|
||||
#if defined(XP_WIN)
|
||||
positionType = SA_POSITION_WRITE_HARDWARE;
|
||||
#endif
|
||||
PRInt64 position = 0;
|
||||
int64_t position = 0;
|
||||
if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
|
||||
positionType, &position) == SA_SUCCESS) {
|
||||
return position / sizeof(short);
|
||||
|
Loading…
Reference in New Issue
Block a user