Commit Graph

209 Commits

Author SHA1 Message Date
Matthew Gregan
f2754755d5 Bug 1105901 - Update cubeb from upstream to pick up compilation fix for glibc 2.20. r=padenot
--HG--
extra : rebase_source : cb04020b3c502f51e2411b1984bb42d8423d524b
2014-12-02 12:04:16 +13:00
Paul Adenot
4264f93f66 Bug 1083664 - Disable an assert in cubeb_audiounit.c for investigation.
--HG--
extra : rebase_source : d46b6fb9d3da9a45ea94435a15bfc3bfee85e9d3
2014-11-12 20:05:05 +01:00
Matthew Gregan
e92942a07e Bug 1092859 - Always use soft volume in WinMM cubeb backend. r=padenot
waveOutSetVolume adjusts the system (or app, on Vista up, but we only use
WinMM on XP) "PCM Volume" rather than a per-waveOut volume, which means any
audio stream we adjust the volume on has an undesirable higher-level effect.
Fix this by dropping the support for waveOutSetVolume and always using the
soft volume support.

While here, fix a bug in the soft volume code where float32 samples are
handled.
2014-11-11 12:38:54 +13:00
Mike Hommey
21ec48314e Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Matthew Gregan
2fe2d95e6c Bug 1074010 - Update cubeb from upstream. r=padenot
--HG--
rename : media/libcubeb/README => media/libcubeb/README.md
2014-09-29 13:19:09 +13:00
Fabian Raetz
25ba5af908 Bug 1085127 - cubeb_sndio.c: error when compiling with debug enabled (undeclared identifier "false") - include stdbool.h r=kinetik 2014-10-21 15:59:55 +02:00
Matthew Gregan
dacf20746e Bug 1074004 - Fix WebMioData implementation in TestWebMWriter. r=giles 2014-09-29 13:13:21 +13:00
JW Wang
f01955ee26 Bug 1038091 - Pause the player instead of stopping it to avoid resetting playback position and resulting in audio clock going backward. r=kinetik 2014-09-28 19:36:00 -04:00
Gian-Carlo Pascutto
57952a8bcb Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted 2014-09-24 19:11:58 +02:00
Matthew Gregan
d5d3ee2608 Bustage fix (update test to new values) for bd132d164dc9/bug 1065250 on a CLOSED TREE. 2014-09-17 17:08:35 +12:00
Matthew Gregan
e8ceb789f4 Bug 847903 - Drop OS X AudioUnit stream limit even further on 10.6 to fix crashtests/691096-1.html 2014-09-17 15:06:30 +12:00
Mike Hommey
c2a27deef9 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
8fd95ad480 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Paul Adenot
c3d097a232 Bug 1062293 - Fix opensl's cubeb backend draining. r=kinetik
This ensures the callback won't be called when draining is done.

--HG--
extra : rebase_source : b876e19d03aa58105eceba341e7a394f1f25473c
2014-09-03 15:54:03 +02:00
JW Wang
2ca331b2d3 Bug 1057199 - Fix signed/unsigned error when calculating position in opensl_stream_get_position(). r=cpearce 2014-08-27 02:29:00 -04:00
Paul Adenot
0a5475461d Bug 848954 - 17 - Increase the size of the stack for the audio threads on Windows. r=kinetik 2014-08-26 17:02:08 +02:00
Paul Adenot
fb4bd96e79 Bug 848954 - Part 12 - Make sure COM is initialized when calling into WASAPI functions. r=kinetik 2014-08-26 17:01:35 +02:00
Landry Breuil
f82402f483 Bug 1054176 - fix some warnings about unitialized values and bad assign r=kinetik 2014-08-18 11:38:08 +02:00
Landry Breuil
50da64b073 Bug 1054176 : fix cubeb sndio build after bug 1027713 r=kinetik 2014-08-18 11:37:30 +02:00
Gabriele Svelto
6457d628ad Bug 1052923 - Fix the volume conversion in millibels. r=padenot 2014-08-15 11:36:49 +02:00
Paul Adenot
6f496e4255 Bug 1046592 - Fix bustage.
--HG--
extra : rebase_source : ca08f9c642c8ab6463551cf00ad8f4d9c9be02df
2014-08-08 14:19:14 +02:00
Paul Adenot
ccbbdd0298 Bug 1046592 - Fix volume computation in cubeb's opensl backend. r=kinetik 2014-08-08 13:26:42 +02:00
Paul Adenot
a5628808a9 Bug 1049478 - Fix volume handling in cubeb's PulseAudio backend: revert to soft-volume when needed. r=kinetik
--HG--
extra : rebase_source : 16c2702a4304047e266c07c02f868510c9860f75
2014-08-08 13:26:02 +02:00
Matthew Gregan
4085fd52ae Bug 992238 - Disable test_init_destroy_multiple_contexts_and_streams on Windows 7. r=padenot 2014-08-05 21:57:00 -04:00
Mike Hommey
cbe32e4bb3 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
1cb5547cd1 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Paul Adenot
cbf00b035a Bug 1046470 - Properly unregister property listeners in AudioUnit cubeb backend. r=kinetik 2014-08-01 14:12:17 +02:00
Nathan Froyd
d86ff9f990 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Paul Adenot
63a1c179c9 Bug 1045018 - Make cubeb_audiounit.c use the new cubeb_set_coreaudio_notification_runloop function. r=kinetik 2014-07-29 18:45:06 +02:00
Paul Adenot
52fca951d9 Bug 1027713 - Disable test_stress on windows 8 as well. 2014-07-29 18:45:05 +02:00
Paul Adenot
2b12c90e8a Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik 2014-07-18 19:21:27 +02:00
Paul Adenot
b3e9ed1e0d Bug 1027713 - Part 3 - Add a cubeb API to signal that the output device changed. r=kinetik
The reentrant mutex is needed so that users can call back into cubeb's API from
the callback.
2014-07-29 18:45:03 +02:00
Paul Adenot
1b94212208 Bug 1027713 - Part 2 - Add a cubeb API to query the name of the audio output device in use. r=kinetik 2014-07-29 18:45:03 +02:00
Paul Adenot
9c87d86e7e Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik 2014-07-29 18:45:02 +02:00
Gian-Carlo Pascutto
3021450e1b Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
195aa1baa8 Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
45ecd2ab6d Backed out changeset 10f8441b42a1 (bug 1015932) 2014-07-28 11:52:04 +02:00
Carsten "Tomcat" Book
59d5dc5477 Backed out changeset 6289b18d2127 (bug 1015932) 2014-07-28 11:51:58 +02:00
Gian-Carlo Pascutto
d57b13ec07 Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-28 11:29:31 +02:00
Gian-Carlo Pascutto
9530283dbf Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-28 11:29:31 +02:00
Carsten "Tomcat" Book
32b3ef21f1 Backed out changeset b652396e9fd7 (bug 1015932) 2014-07-28 08:21:19 +02:00
Carsten "Tomcat" Book
739fa1ca5d Backed out changeset 689b75c98f2f (bug 1015932) 2014-07-28 08:21:16 +02:00
Gian-Carlo Pascutto
ae88e7b948 Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-28 08:10:21 +02:00
Gian-Carlo Pascutto
53dfe1167a Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-28 08:09:48 +02:00
Ehsan Akhgari
e4e48ec561 Bug 1044478 - Just use the libraries that we really need when linking cubeb tests; r=padenot 2014-07-27 13:08:43 -04:00
Wes Kocher
a77e5f5308 Backed out 8 changesets (bug 1023947, bug 1027713) for frequent Cppunit test failures
Backed out changeset 03edb1ab3182 (bug 1027713)
Backed out changeset ad05dc816fa0 (bug 1023947)
Backed out changeset a56aad94c7c9 (bug 1023947)
Backed out changeset 63af4528bd9c (bug 1023947)
Backed out changeset b6bb38846333 (bug 1027713)
Backed out changeset c0045bb1849e (bug 1027713)
Backed out changeset 274b2b25d167 (bug 1027713)
Backed out changeset e0bba6f4966f (bug 1027713)
2014-07-24 13:57:03 -07:00
Paul Adenot
a3e265b8ee Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik
--HG--
extra : rebase_source : bc273a2f790b2fa09e8c50c95091f5db9856d42b
2014-07-18 19:21:27 +02:00
Paul Adenot
ab8eadeff3 Bug 1027713 - Part 3 - Add a cubeb API to signal that the output device changed. r=kinetik
The reentrant mutex is needed so that users can call back into cubeb's API from
the callback.

--HG--
extra : rebase_source : 42e7c8f09d02b30b35a7f80418df5e722b52faae
2014-07-24 17:05:23 +02:00
Paul Adenot
42b2a87851 Bug 1027713 - Part 2 - Add a cubeb API to query the name of the audio output device in use. r=kinetik
--HG--
extra : rebase_source : fed39350db9e7c56c003a288e040fd6f901088d2
2014-07-24 17:05:23 +02:00