Commit Graph

130 Commits

Author SHA1 Message Date
Ehsan Akhgari
178f47f91d Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
Paul Adenot
09c30b81f7 Bug 980052 - Compare the value and not the pointer when checking validity of the preferred sample rate in the OpenSL cubeb backend. r=kinetik
--HG--
extra : rebase_source : 4a65dffc002cd1fc1dc3fcf2b5472ba44196fbbc
2014-03-11 09:42:10 +08:00
Paul Adenot
68e4c1d151 Bug 971693 - Fallback properly when WASAPI does not give us a stream format suggestion. r=kinetik
--HG--
extra : rebase_source : 495fdf5ad7f4a1069d9c0b9db186a0b717d18759
2014-02-27 14:36:58 +01:00
Paul Adenot
7a1a4298ce Bug 970147 - Don't assume WASAPI can give us a channel layout suggestion. r=kinetik 2014-02-11 15:48:49 -08:00
Matthew Gregan
19b8e9ce82 Bug 962346 - Pass STACK_SIZE_PARAM_IS_A_RESERVATION to _beginthreadex in Windows cubeb backends to save address space. r=padenot 2014-01-22 13:52:46 +13:00
Florian Quèze
0641c92729 Bug 943618 - complete audio silence with some USB headsets, r=padenot. 2014-01-31 16:16:09 +01:00
Star Cheng
d5e150280b Bug 940177 - Refill the queues before starting playback in order to avoid racing with refills started by SetPlayState on OpenSLES ndk threads. r=kinetik 2014-01-06 18:21:19 +08:00
Paul Adenot
7ef2bfd8c8 Bug 950026 - Bail out when we don't get an expected return value from AudioClient::IsFormatSupported, instead of asserting. r=kinetik
This will fall back to our own channel mapping code, instead of trying to use
the platform's.
2013-12-13 18:11:06 +01:00
Paul Adenot
2dc49f94bd Bug 947431 - Be more robust when getting the preferred sample rate when using the OpenSL backend. r=kinetik
--HG--
extra : rebase_source : a55d98b9ce2cc6a9c2559d9589984faf8063c301
2013-12-12 18:35:39 +01:00
Paul Adenot
6ec73a8679 Bug 944132 - Make sure we don't loose precision when computing the audio clock when using opensl. r=sotaro 2013-11-28 18:15:54 +01:00
Paul Adenot
2101aeefea Bug 940707 - Get more accurate latency numbers when using OpenSL. r=sotaro,kinetik
This dlopen libmedia.so, fetches some symbols and use that to determine the
output latency of the stream.

This also includes some fixes to get the minimal latency on Android 4.0.4, and
makes the latency a bit better.
2013-11-28 17:32:50 +01:00
Matthew Gregan
578edc402c Bug 923992 - Call GetDefaultAudioEndpoint when needed rather than caching its result when called at cubeb init time. r=padenot 2013-11-28 14:12:45 +13:00
Matthew Gregan
96b0a6e352 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Benjamin Peterson
479abf96d4 backout dc9ebdf27e98 (bug 942657) for bustage 2013-11-28 20:50:16 -06:00
Matthew Gregan
8ed6660e86 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Mike Hommey
334e43f829 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-22 23:03:21 +09:00
Mike Hommey
fdd3247a81 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Carsten "Tomcat" Book
6688f74375 Backed out changeset de7d74796ced (bug 923992) for frequent mochitest-1 orange on a CLOSED TREE 2013-11-28 09:06:42 +01:00
Mike Hommey
2f727b6d62 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
b038245b8d Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
59b2136630 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-28 12:49:43 +09:00
Matthew Gregan
9b330bf74a Bug 923992 - Call GetDefaultAudioEndpoint when needed rather than caching its result when called at cubeb init time. r=padenot
--HG--
extra : rebase_source : 3eaf73bf5a19e0b1997f7943bd29aa3e232c019f
2013-11-28 14:12:45 +13:00
Matthew Gregan
54d64ccc28 Bug 934232 - Handle pa_stream_new failure in libcubeb's PulseAudio backend. r=padenot 2013-11-21 10:59:48 +13:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
9c5c5d8f00 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Paul Adenot
c232937fab Bug 939593 - Resync libcubeb with upstream. r=kinetik 2013-11-18 11:47:24 +13:00
Matthew Gregan
129811355d Bug 929009 - Support mono configurations in WASAPI backend. r=padenot 2013-11-12 15:48:29 +13:00
Matthew Gregan
1f0eb4748b Bug 933284 - Initialize cubeb_audiotrack's get_output_samplingrate even on non-Froyo systems. r=padenot 2013-11-04 11:37:04 +13:00
Matthew Gregan
d2cc9f5398 Bug 933198 - gum_test.html doesn't provide audio on Windows nightly builds. r=jesup 2013-11-01 15:49:55 -04:00
Ted Mielczarek
46db2c02bd Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal 2013-10-24 15:06:19 -04:00
Cykesiopka
e0bcd6aebc Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Ed Morley
fd28f5ff9a Backed out changeset 38414f29834c (bug 928797) on suspicion of turning bug 701384 permaorange on a CLOSED TREE 2013-10-24 18:21:12 +01:00
Paul Adenot
7b11495d28 Bug 928797 - Only set the audio output latency on mac if it is lower than the default. r=kinetik 2013-10-23 17:33:41 +02:00
Mark Banner
834e9fa7ae Bug 930189 Round up values when getting the minimum latency to avoid values of zero. Patch suggested by jesup. r=padenot 2013-10-24 14:30:01 +01:00
Landry Breuil
c8cca7d9a2 Bug 928651: #include <assert.h> in cubeb_sndio.c to fix libxul linking r=padenot
../../../libcubeb/src/cubeb_sndio.o(.text+0x686): In function `sndio_get_max_channel_count':
undefined reference to `assert'
2013-10-22 11:24:30 +02:00
Matthew Gregan
971c010dec Bug 928615 - Pass valid pointer to waveOutGetDevCaps. r=padenot 2013-10-21 14:19:05 +13:00
Paul Adenot
20fdbb4c19 Bug 918861 - Add an API to get the native samplerate for a given audio backend. r=kinetik
--HG--
extra : rebase_source : 592445a01f00a89289d52c52d9c758e10b9d9a00
2013-10-17 15:44:52 +02:00
Paul Adenot
5aef43ebba Bug 907817 - Add a cubeb API to get a valid audio latency range per platform. r=kinetik
--HG--
extra : rebase_source : 06999c8009f2828ee0f6f49e0cdb5cbc86d785cc
2013-10-17 15:44:52 +02:00
Paul Adenot
2951ed071c Bug 907817 - Actually set the latency when using the audiounit cubeb backend. r=kinetik
--HG--
extra : rebase_source : a24f4511e22465d736423c5af275021101c2898b
2013-10-17 15:44:51 +02:00
Paul Adenot
f2ef50854e Bug 899050 - Add rudimentary support for multichannel files when using WASAPI. r=kinetik 2013-10-12 13:53:11 -04:00
Paul Adenot
3dd360bcae Bug 917246 - Make the tree compile with --enable-pulse. r=jesup
--HG--
extra : rebase_source : 9496c74dcc81cef40cf6e0f49b47c9c6c06a52d4
2013-09-17 15:23:43 +02:00
Ed Morley
4ff4e8564b Backed out changeset 58dbd84ae828 (bug 917246) for crashes on a CLOSED TREE 2013-09-17 17:24:30 +01:00
Ed Morley
d18e1da31d Backed out changeset 7d17f2d129e3 (bug 881959) 2013-09-17 17:14:26 +01:00
Ed Morley
4beae2a7f1 Backed out changeset 7469a58a5f3d (bug 908669) 2013-09-17 17:14:23 +01:00
Paul Adenot
184f41b451 Bug 908669 - Remove an unrelated chunk that sneaked in, on a CLOSED TREE. 2013-09-17 17:30:30 +02:00
Paul Adenot
be744b48ec Bug 881959 - Fix inbound bustage on XP again, on a CLOSED TREE. 2013-09-17 17:25:33 +02:00
Paul Adenot
703937d5ac Bug 917246 - Make the tree compile with --enable-pulse. r=jesup
--HG--
extra : rebase_source : 83d648e4af08e27bc9b29a9450722c3d5d2278c7
2013-09-17 15:23:43 +02:00