17b63192b8
${LOCALBASE}/firefox36 with firefox36 binary. Needed for archs firefox 4 doesn't support (yet?). Yes, i'm looking at you sparc64. Not yet linked to the build.
13 lines
604 B
Plaintext
13 lines
604 B
Plaintext
$OpenBSD: patch-content_media_nsAudioStream_cpp,v 1.3 2011/03/26 10:58:36 landry Exp $
|
|
--- content/media/nsAudioStream.cpp.orig Thu Jan 21 05:29:59 2010
|
|
+++ content/media/nsAudioStream.cpp Thu Jan 21 13:49:36 2010
|
|
@@ -246,7 +246,7 @@ float nsAudioStream::GetPosition()
|
|
#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 / float(mRate) / mChannels / sizeof(short));
|