1
0

patch-content_media_nsAudioStream_cpp 548 B

1234567891011
  1. --- mozilla-release.orig/content/media/nsAudioStream.cpp 2011-07-08 03:15:16.000000000 +0200
  2. +++ mozilla-release/content/media/nsAudioStream.cpp 2011-07-29 15:50:34.000000000 +0200
  3. @@ -566,7 +566,7 @@ PRInt64 nsAudioStreamLocal::GetSampleOff
  4. #if defined(XP_WIN)
  5. positionType = SA_POSITION_WRITE_HARDWARE;
  6. #endif
  7. - PRInt64 position = 0;
  8. + int64_t position = 0;
  9. if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
  10. positionType, &position) == SA_SUCCESS) {
  11. return position / sizeof(short);