Commit Graph

276 Commits

Author SHA1 Message Date
Jacek Caban
38d83d2687 Bug 1228947 - mingw fixup. 2015-12-07 12:21:45 +01:00
Chris Peterson
57d527d933 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
Matthew Gregan
dea5cabe8d Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Nigel Babu
e03d289274 Backed out changeset 8631caf756eb (bug 1225703) for Cpp bustage on OS X 10.10 debug 2015-11-27 12:20:58 +05:30
Matthew Gregan
bc0cfae6b7 Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Wes Kocher
77f92b010a Backed out changeset 3f51676191a6 (bug 1225703) for cpp unittest failures on at least Windows CLOSED TREE 2015-11-22 23:00:58 -08:00
Matthew Gregan
a888f700b8 Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-23 15:12:05 +13:00
sajitk
1fe7d9c5ea Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
James Willcox
9e79e110b2 Bug 1221228 - Work around busted OpenSL causing hangs/reboots on Android r=padenot 2015-11-13 08:40:46 -06:00
Mike Hommey
ab61f03e7f Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Mike Hommey
9768be95eb Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.

The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Mike Taylor
6e857acdd6 Bug 1041882 - Remove Froyo-specific support from libcubeb. r=snorp, r=padenot 2015-09-26 09:05:00 +02:00
Nicholas Nethercote
902644b3dd Bug 1203005 - Remove all traces of -Wdeclaration-after-statement. r=glandium.
Even though we compile C code as C99, we used to need
-Wdeclaration-after-statement because MSVC didn't allow declarations after
statements.

However, Visual Studio 2013 added support, so we can now merrily mix
declarations and statements everywhere. Hooray.
2015-09-09 04:57:44 -07:00
Matthew Gregan
7f305659ad Bug 1199794 - Add NULL checks to avoid crashing during media playback if the audio device removed. r=padenot 2015-08-28 19:13:00 -04:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Matthew Gregan
5f6fe686a4 Bug 1197049 - Retain stream volume across device changes. r=padenot 2015-08-21 14:46:22 +12:00
Matthew Gregan
4cc0d5c816 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
875c5146ca Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan
a24e2c354a Backed out 2 changesets (bug 1136360)
Backed out changeset 004f6db9c2dd (bug 1136360)
Backed out changeset 9b568fb8d447 (bug 1136360)
2015-08-24 13:25:57 +12:00
Matthew Gregan
bde4f17812 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
ded84ad3b6 Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan
5c6f79720b Bug 1195058 - Handle pa_context_new returning NULL in OOM situations. r=padenot 2015-08-18 12:34:15 +12:00
Matthew Gregan
dad15223c7 Bug 1195061 - Correctly restore audio hardware mix format after attempting to use an alternative format. r=padenot 2015-08-18 10:59:14 +12:00
JW Wang
eb7c15daf1 Bug 1189866 - revert code that accidentally got into bug 1187817 patch 5. r=me. 2015-08-01 13:58:39 +08:00
JW Wang
a24dc83e0c Bug 1187817. Part 5 - assert some code in the audio thread and don't enter the monitor. r=kinetik. 2015-07-31 13:26:06 +08:00
JW Wang
13ce72b0cf Bug 1189197 - enqueue a silent frame to kick off the buffer queue callbacks. r=kinetik. 2015-07-31 13:25:59 +08:00
Matthew Gregan
ae6d257365 Bug 1103824 - Back out changeset for causing regression reported in bug 1176499. 2015-06-23 17:02:51 -07:00
Matthew Gregan
51211a85c8 Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot 2015-05-14 18:33:23 +12:00
Ted Mielczarek
76c24ff659 bug 1171072 - make libcubeb build on iOS. r=kinetik 2015-02-06 14:50:40 -05:00
Benjamin Chen
934afca670 Bug 1165963 - Fix regression by bug 1104643: Detect "over compensation" and reset the anchor. r=padenot 2015-06-02 17:27:09 +08:00
Benjamin Chen
bd1e80cba6 Bug 1104643 - Interpolate the audio clock by system clock if the qudio clock is not going forward. r=padenot 2015-05-05 16:00:14 +08:00
David Major
c92c020b89 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Chris Pearce
7fa1167ea3 Bug 1136360 - Backout 3920b67e97a3 to fix A/V sync regressions (bug 1148299 & bug 1157886). r=backout 2015-04-28 11:37:33 +12:00
Jacek Caban
baaccf16c7 Bug 1155624 - follow up: MSVC requires including <algorithm> for std::max. CLOSED TREE 2015-04-20 18:41:12 +02:00
Jacek Caban
536522e0b0 Bug 1155624 - Use std::max instead of max macro in cubeb_wasapi.cpp. r=kinetik 2015-04-20 18:18:56 +02:00
Paul Adenot
ac681956ad Bug 979705 - Fix typo. 2015-04-20 17:05:26 +02:00
Paul17041993
be04eccf84 Bug 979705 - Re-write the upmixing functions in the WASAPI cubeb backend to fix mono audio and surround compatibility. r=padenot 2015-04-20 15:58:27 +02:00
Carsten "Tomcat" Book
81c945300f Backed out changeset c511ccad7676 (bug 979705) for bustage on a CLOSED TREE 2015-04-20 16:44:41 +02:00
Paul17041993
a94a33d24c Bug 979705 - Re-write the upmixing functions in the WASAPI cubeb backend to fix mono audio and surround compatibility. r=padenot 2015-04-20 15:58:27 +02:00
Paul Adenot
04bd4586cb Bug 1136360 - Take into account the output device latency in the clock, and be more robust about rounding error accumulation, in cubeb_wasapi.cpp. r=kinetik 2015-03-16 18:12:38 +01:00
Matthew Gregan
64571538d7 Bug 1144199 - Require multiple consecutive timeouts to accumulate before triggering timeout error handling in libcubeb's WASAPI backend; this avoids spurious timeout errors triggered by system sleep/wake cycles. r=padenot 2015-04-11 13:24:52 +12:00
Matthew Gregan
7c97f168a6 Bug 1134977 - Release IAudioStreamVolume when closing WASAPI stream. Refixes bug 1109802. r=padenot 2015-04-02 10:08:07 +13:00
Matthew Gregan
7ce379889f Bug 1143968 - Allow a cubeb_stream in error to be stopped without triggering a fatal assert. r=padenot 2015-03-18 15:23:19 +13:00
Alexandre Ratchov
deb1ad625a Bug 1144087 - "Audio glitches on OpenBSD caused by rounding errors." r=kinetik 2015-03-18 12:19:00 +01:00
Matthew Gregan
00f0163e46 Bug 1142746 - Make unexpected SL_PLAYEVENT_HEADATMARKER notification non-fatal. r=brsun 2015-03-17 13:30:40 +13:00
Ryan VanderMeulen
4311846b80 Backed out changeset 7a53ee0cc3ae (bug 1136360) for Windows mochitest crashes. 2015-03-16 15:04:51 -04:00
Paul Adenot
cce8353510 Bug 1136360 - Take into account the output device latency in the clock, and be more robust about rounding error accumulation, in cubeb_wasapi.cpp. r=kinetik 2015-03-16 18:12:38 +01:00
Matthew Gregan
22dda7e265 Bug 1136107 - Handle reconfiguring audio device if it went away while the stream was stopped. r=padenot 2015-03-02 18:07:43 +13:00
Matthew Gregan
c1533d6866 Bug 1135878 - Simply post-error cleanup logic in WASAPI cubeb backend. r=padenot 2015-02-24 13:42:33 +13:00
Matthew Gregan
bfd5b15175 Bug 1133386 - Introduce an XASSERT() macro to libcubeb rather than (ab)using assert(). r=padenot f=dmajor 2015-02-20 13:42:14 +13:00