Commit Graph

149 Commits

Author SHA1 Message Date
Cgg
27b4cd81c9 Bug 1026854 - Add a utility class for array RAII for cubeb's resampler. r=padenot 2014-06-21 17:00:52 +02:00
JW Wang
d1099cd2f3 Bug 1008079 - Add cubeb_resampler.cpp to build files. r=glandium 2014-06-16 19:46:00 -04:00
JW Wang
ce8d46bfc7 Bug 1008079 - Use a resampler when the sample rate is not supported by the audio engine in cubeb_opensl.c. r=padenot 2014-06-16 19:45:00 -04:00
JW Wang
00c34dc9f7 Bug 1008079 - Extract the resampling code from cubeb_wasapi.cpp so it is reusable. r=padenot 2014-06-16 19:27:00 -04:00
Star Cheng
e24a0dc452 Bug 1007552 - To support publicnotification audio channel type for camera shutter. r=kinetik 2014-05-22 15:08:05 +08:00
Matthew Gregan
e61b7687dc Bug 847903 - Limit active cubeb streams to 16 on OS X 10.6 and older. r=padenot 2014-05-19 14:16:56 +12:00
Paul Adenot
1531114c35 Bug 996770 - Properly lock around the wait when getting the preferred sample rate in cubeb's PulseAudio backend. r=kinetik 2014-04-17 15:44:07 +02:00
Paul Adenot
240ddf862e Bug 996770 - Add logging to cubeb's test_latency. r=kinetik 2014-04-17 15:42:00 +02:00
Paul Adenot
579e0bc4c5 Bug 949166 - Actually compile the Windows 7 detection code in cubeb's test to disable part of a test. r=kinetik 2014-04-14 12:07:54 +02:00
James Zhang
2e6caa0b9f Bug 992854 - [tarako] No sound when play some specific m4a music r=kinetik 2014-04-09 18:10:00 +02:00
Arun Raghavan
3fd4a3df16 Bug 986985 - Reconnect to the PulseAudio context if it is disconnected on stream creation. r=padenot,kinetik
--HG--
extra : rebase_source : efb8239b2a3ac73c78185084276d4b9ec53e1a3f
2014-04-02 14:42:11 +02:00
Paul Adenot
18b24590e3 Bug 946618 - Disable part of a cubeb test on Windows 7. r=kinetik
--HG--
extra : rebase_source : 1bf38b7cbb7e023b74ec1226e79f7bf01d739bd0
2014-03-24 11:06:05 +01:00
Paul Adenot
bd86d96aaa Bug 946618 - Disable some cubeb tests on Android. r=kinetik
We still have some kind of smoke test in test_audio.c, so that's kind of okay.

--HG--
extra : rebase_source : a5b760c58e8365a96b310b4bd480c3c2262c0713
2014-03-24 11:06:05 +01:00
Paul Adenot
1a74c7bf11 Bug 946618 - Add native tests for cubeb. r=kinetik
--HG--
extra : rebase_source : 9b2e8e702ce5f8ea4d5416f3b45c91bc4cd94432
2014-02-25 14:21:59 +01:00
Paul Adenot
29ce6e72b4 Bug 946618 - Skip some cubeb tests on some platforms. r=kinetik
For example, skip float tests on platform that don't support floating point
audio, and skip timing test on platform where we don't honor latency request.

--HG--
extra : rebase_source : 6d48b637f18747674d519b586a24a8f4680f293b
2014-03-24 11:06:05 +01:00
Paul Adenot
c554394dfb Bug 946618 - Update cubeb to pick up new tests. r=kinetik
--HG--
extra : rebase_source : 335880c5ecc3ace9cf5260e9e95b668ae00d183a
2014-02-27 16:26:24 +01:00
Paul Adenot
daab4e413e Bug 988827 - Fix more warnings in cubeb on Android/B2G. r=cpeterson
--HG--
extra : rebase_source : 88cb14657c7f2b9d4c1908e6f552ad2e4182b33c
2014-03-27 13:36:46 +01:00
Star Cheng
e579502249 Bug 942988 - Consider audio mixer latency (from audio back end) for opensl_stream_get_position() to improve A/V sync. r=padenot 2014-03-25 20:01:28 +08:00
Paul Adenot
fdf771928d Bug 986793 - Fix warnings in cubeb_audiotrack.c, and allow mixed declaration and code in cubeb_opensl.c. r=cpeterson
--HG--
extra : rebase_source : 91856a5c76063be3d6c180abe34cda5cee9f3d71
2014-03-24 10:58:23 +01:00
Ehsan Akhgari
f1b87eccd8 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
af14f6811a 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
143d5497f6 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
8150931bfa 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
317979a6cd 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
e01ffd58d0 Bug 943618 - complete audio silence with some USB headsets, r=padenot. 2014-01-31 16:16:09 +01:00
Star Cheng
d397d5eeb4 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
6ec0a9470f 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
9c371ba053 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
77915061d2 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
6b3e8ade1b 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
3e21b06488 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
2ca1434c82 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Benjamin Peterson
02f058e57a backout dc9ebdf27e98 (bug 942657) for bustage 2013-11-28 20:50:16 -06:00
Matthew Gregan
93237d768e Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Mike Hommey
a1486ce449 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
8fd06cf41b 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
d969fc65f8 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
b32a4ed166 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
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
0a1fb8d11c 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
9b9b92613e 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
8d8ba44d87 Bug 934232 - Handle pa_stream_new failure in libcubeb's PulseAudio backend. r=padenot 2013-11-21 10:59:48 +13:00
Mike Hommey
2812d11fce 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
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
dda5b915fe Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
ffe0380912 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
ab1b273373 Bug 939593 - Resync libcubeb with upstream. r=kinetik 2013-11-18 11:47:24 +13:00
Matthew Gregan
1b0e7b4249 Bug 929009 - Support mono configurations in WASAPI backend. r=padenot 2013-11-12 15:48:29 +13:00
Matthew Gregan
94e949b282 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
4a4be6685e Bug 933198 - gum_test.html doesn't provide audio on Windows nightly builds. r=jesup 2013-11-01 15:49:55 -04:00