Commit Graph

285 Commits

Author SHA1 Message Date
Randell Jesup
79c5c4f767 Bug 1243275: Update libcubeb to pick up device-change-notification changes and a pulse fix rs=kinetik 2016-01-27 07:57:35 -05:00
Landry Breuil
a61c2fb734 Bug 1242152 - fix sndio build after full-duplex API changes r=kinetik 2016-01-24 10:59:58 +01:00
Randell Jesup
ebe394665e Bug 1241476: Update libcubeb from upstream rs=kinetik
Import of upstream git rev 2de1ab50e16763fd88ec1b5bae30422de598eed0
Updated update.sh script as well
2016-01-21 22:17:46 -05:00
Wes Kocher
fbefc146ba Backed out changeset 01c279ae2fb4 (bug 1241476) for various crashes on win xp mentioning "winmm_stream_init" a=backout 2016-01-21 17:28:32 -08:00
Wes Kocher
12226080e0 Backed out changeset d31752600dfd (bug 1221587) 2016-01-21 17:28:15 -08:00
Randell Jesup
9284d022ef Bug 1221587: temporary Win32 build fixes for cubeb full-duplex patch rs=padenot
To be backed out/overwritten on next merge from upstream libcubeb
2016-01-21 11:51:36 -05:00
Randell Jesup
cc0283aa86 Bug 1241476: Update libcubeb from upstream rs=padenot
Import from libcubeb git commit b364f9ce2f8f7c392055b94c350ce600892ce7bc
2016-01-21 11:51:35 -05:00
Matthew Gregan
802bae01a0 Bug 1236977 - Default initialize IMMDevice temporary to avoid potential garbage CloseHandle on error. r=padenot 2016-01-07 17:53:55 +13:00
Nicholas Nethercote
470fa3e830 Bug 1232219 (part 3) - Fix remaining -Wunused warnings. r=glandium. 2015-12-16 22:57:51 -08:00
Jacek Caban
929e31d00c Bug 1228947 - mingw fixup. 2015-12-07 12:21:45 +01:00
Chris Peterson
7f4c4d76a4 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
Matthew Gregan
442950b2c5 Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Nigel Babu
4d4ae09dce 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
87e515ff72 Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Wes Kocher
757fdbb644 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
cf733b35bd Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-23 15:12:05 +13:00
sajitk
16f44d3d8d Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
James Willcox
f84e552a02 Bug 1221228 - Work around busted OpenSL causing hangs/reboots on Android r=padenot 2015-11-13 08:40:46 -06:00
Mike Hommey
1db89374d8 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
081a405fd8 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
550979e1ec Bug 1041882 - Remove Froyo-specific support from libcubeb. r=snorp, r=padenot 2015-09-26 09:05:00 +02:00
Nicholas Nethercote
7df92b2298 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
c949250be2 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
69d088e45f 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
5c2236fa18 Bug 1197049 - Retain stream volume across device changes. r=padenot 2015-08-21 14:46:22 +12:00
Matthew Gregan
0a16b8f06b Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
b8e7d35ed9 Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan
42e93061e3 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
e640422013 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
1da5a97706 Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan
a4a6d5cc9a Bug 1195058 - Handle pa_context_new returning NULL in OOM situations. r=padenot 2015-08-18 12:34:15 +12:00
Matthew Gregan
f0a620f81a 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
dd02890934 Bug 1189866 - revert code that accidentally got into bug 1187817 patch 5. r=me. 2015-08-01 13:58:39 +08:00
JW Wang
0af35fe560 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
9afacdd82c 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
b0a98f661f Bug 1103824 - Back out changeset for causing regression reported in bug 1176499. 2015-06-23 17:02:51 -07:00
Matthew Gregan
4a86a9bc10 Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot 2015-05-14 18:33:23 +12:00
Ted Mielczarek
fe4092720a bug 1171072 - make libcubeb build on iOS. r=kinetik 2015-02-06 14:50:40 -05:00
Benjamin Chen
e2e98f6828 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
05d3e3d64c 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
ed6ca74f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Chris Pearce
4aa83eaea9 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
df6dbaa8a7 Bug 1155624 - follow up: MSVC requires including <algorithm> for std::max. CLOSED TREE 2015-04-20 18:41:12 +02:00
Jacek Caban
a33ef4a63c 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
8c5829b980 Bug 979705 - Fix typo. 2015-04-20 17:05:26 +02:00
Paul17041993
2af31c5b7f 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
9292d28542 Backed out changeset c511ccad7676 (bug 979705) for bustage on a CLOSED TREE 2015-04-20 16:44:41 +02:00
Paul17041993
510aeb0311 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
8c600ca84e 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
4fc21b3855 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