f7d875578b
https://bugzilla.mozilla.org/show_bug.cgi?id=650772 https://bugzilla.mozilla.org/show_bug.cgi?id=651444 https://bugzilla.mozilla.org/show_bug.cgi?id=651461
14 lines
638 B
Plaintext
14 lines
638 B
Plaintext
$OpenBSD: patch-content_media_nsAudioStream_cpp,v 1.3 2011/04/20 11:49:02 landry Exp $
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=651461
|
|
--- content/media/nsAudioStream.cpp.orig Wed Feb 23 06:53:27 2011
|
|
+++ content/media/nsAudioStream.cpp Sat Feb 26 09:25:34 2011
|
|
@@ -570,7 +570,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);
|