JW Wang
221afb22dc
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
6536a96fff
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
cc24600c70
Bug 1007552 - To support publicnotification audio channel type for camera shutter. r=kinetik
2014-05-22 15:08:05 +08:00
Matthew Gregan
cf9ea1745a
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
e72ed36015
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
f2ecdd9d43
Bug 996770 - Add logging to cubeb's test_latency. r=kinetik
2014-04-17 15:42:00 +02:00
Paul Adenot
2c550c746f
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
314ee9d604
Bug 992854 - [tarako] No sound when play some specific m4a music r=kinetik
2014-04-09 18:10:00 +02:00
Arun Raghavan
868bd3671a
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
2d520f1828
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
bdf73646ad
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
ba92d7c5b8
Bug 946618 - Add native tests for cubeb. r=kinetik
...
--HG--
extra : rebase_source : 9b2e8e702ce5f8ea4d5416f3b45c91bc4cd94432
2014-02-25 14:21:59 +01:00
Paul Adenot
1140f95c5d
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
fd16aeaa78
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
567b36ad22
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
bf4f10c102
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
b9d7b5a74c
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
4e69f36cf8
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
1f6542ef22
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
0708e4810e
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
b705425133
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
545b765abe
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
d0e7bc8938
Bug 943618 - complete audio silence with some USB headsets, r=padenot.
2014-01-31 16:16:09 +01:00
Star Cheng
a377d6645e
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
d1b1ddf693
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
1e8856d4e9
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
12bf01a140
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
2c7b0bb860
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
64c8309484
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
358b7e64f0
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Benjamin Peterson
168ae22e9f
backout dc9ebdf27e98 (bug 942657) for bustage
2013-11-28 20:50:16 -06:00
Matthew Gregan
647694fec9
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Mike Hommey
fc98abb416
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
9245936f8b
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
fe1329b80e
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
2b828323f2
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
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Mike Hommey
1b90f90106
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
7ac70ef780
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
af07e0a7ab
Bug 934232 - Handle pa_stream_new failure in libcubeb's PulseAudio backend. r=padenot
2013-11-21 10:59:48 +13:00
Mike Hommey
a65383e1e9
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
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
57a2dfcb91
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
d7b6f95761
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
7c1a2e55fc
Bug 939593 - Resync libcubeb with upstream. r=kinetik
2013-11-18 11:47:24 +13:00
Matthew Gregan
1ee3c50886
Bug 929009 - Support mono configurations in WASAPI backend. r=padenot
2013-11-12 15:48:29 +13:00
Matthew Gregan
01798a142c
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
34e1a4a3c9
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
154a815b9e
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
a3710e5c11
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Ed Morley
0e69a1acf6
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
2e1d674768
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
269783051e
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
d3bf9fd216
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
724172f22d
Bug 928615 - Pass valid pointer to waveOutGetDevCaps. r=padenot
2013-10-21 14:19:05 +13:00
Paul Adenot
9c08b365a4
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
bfd396be8d
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
ff057a7a78
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
56b07f07c2
Bug 899050 - Add rudimentary support for multichannel files when using WASAPI. r=kinetik
2013-10-12 13:53:11 -04:00
Paul Adenot
bfa902f4ae
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
cb991ebb51
Backed out changeset 58dbd84ae828 (bug 917246) for crashes on a CLOSED TREE
2013-09-17 17:24:30 +01:00
Ed Morley
5ec4d375ee
Backed out changeset 7d17f2d129e3 (bug 881959)
2013-09-17 17:14:26 +01:00
Ed Morley
934ad01583
Backed out changeset 7469a58a5f3d (bug 908669)
2013-09-17 17:14:23 +01:00
Paul Adenot
aaab9cfc05
Bug 908669 - Remove an unrelated chunk that sneaked in, on a CLOSED TREE.
2013-09-17 17:30:30 +02:00
Paul Adenot
35cd2c5606
Bug 881959 - Fix inbound bustage on XP again, on a CLOSED TREE.
2013-09-17 17:25:33 +02:00
Paul Adenot
870a95a6c4
Bug 917246 - Make the tree compile with --enable-pulse. r=jesup
...
--HG--
extra : rebase_source : 83d648e4af08e27bc9b29a9450722c3d5d2278c7
2013-09-17 15:23:43 +02:00
Paul Adenot
e8c8b37d54
Bug 904617: Part 1 - Add a way to get cube latency, add wasapi latency functions r=kinetik
2013-09-17 02:39:30 -04:00
Ed Morley
1ad3ba2005
Backed out changeset acf80b86d630 (bug 904617) for compilation failures
2013-09-16 08:44:44 +01:00
Ed Morley
d7d92ba551
Backed out changeset a317a2d59ed5 (bug 904617)
2013-09-16 08:43:37 +01:00
Paul Adenot
3183f0edf4
Bug 904617: Part 4 - Add windows wasapi latency entries for cubeb r=kinetik
2013-09-16 03:26:31 -04:00
Paul Adenot
33610c2195
Bug 904617: Part 1 - Add a way to get cube latency r=kinetik
2013-09-16 03:25:54 -04:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Paul Adenot
dad80e5e14
Bug 899050, 900380 - Update cubeb. r=kinetik
...
Update cubeb to pick up three WASAPI fixes:
- This fixes the resampling path when playing on a surround setup
- Also fixes mono playback on a surround setup.
- Fix a weird crash where the struct we get out of GetMixFormat was not of the
right type.
--HG--
extra : rebase_source : c5b62032a88a3c1379a33d12510944cc11f51184
2013-08-08 19:48:18 +02:00
Ms2ger
061d88874c
Bug 897921 - Remove some dead assignments in makefiles; r=mshal
2013-08-02 09:03:55 +02:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Paul Adenot
879637359e
Bug 893307 - Handle surround speaker setups when using the WASAPI cubeb backend. r=kinetik
2013-07-26 14:17:30 +02:00
Michael Wu
cc328ff111
Bug 889652 - Add support for building with pulseaudio support on gonk, r=glandium,kinetik
2013-07-17 15:01:42 -04:00
Michael Wu
52dee3bd78
Update libcubeb to pick up bug 895378 (r=kinetik) and bug 889652 (r=kinetik)
2013-07-19 21:16:41 -04:00
Jacek Caban
45ac145993
Bug 893540 - Update cubeb to recent version (fixes mingw compilation). r=padenot
2013-07-15 13:39:43 +02:00
Paul Adenot
6e6e7b19dc
Bug 866675 - Add a WASAPI backend to cubeb. r=kinetik
2013-07-09 11:59:47 +02:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Paul Adenot
0a96bc22c0
Bug 865244 - Bustage fix again, on a CLOSED TREE.
2013-06-10 21:43:05 +02:00
Paul Adenot
a85f91cef7
Bug 865244 - Fix bustage on Android.
2013-06-10 19:58:14 +02:00
Paul Adenot
0a3c8e5c01
Bug 865244 - Update in-tree cubeb to have cubeb_get_max_channels. r=kinetik
2013-06-10 19:32:28 +02:00
Joey Armstrong
6829937e70
bug 870406: move CSRCS to mozbuild (config batch #2 ) r=mshal
2013-06-04 11:08:44 -04:00
Gregory Szorc
14c4938355
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Michael Wu
678787f6b0
Bug 867871 - Support building cubeb opensles backend on JB, r=kinetik
2013-05-01 21:43:55 -04:00
Paul Adenot
fb304375b7
Bug 861936 - Allow calling cubeb_stream_get_position while in the callback when using the pulseaudio backend. r=kinetik
2013-04-17 14:02:01 +02:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Paul Adenot
daa53a8453
Bug 859805 - Fix bustage.
2013-04-12 16:13:41 +02:00
Paul Adenot
b761c78600
Bug 859805 - Make libcubeb work on Android 2.3. r=kinetik
2013-04-12 14:50:02 +02:00
Wes Johnston
b1f0a674a3
Bug 809558 - Turn on audiochannels for Android AudioTrack. r=kinetic
2013-04-11 15:37:35 -07:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Michael Wu
200dbc2b6d
Bug 853077 - Don't queue empty buffers in the opensles cubeb backend, r=kinetik
2013-03-25 18:16:31 -04:00
Michael Wu
7ff887c7d2
Bug 852966 - Free audio buffers when freeing stream in opensl cubeb backend, r=kinetik
2013-03-20 18:31:36 -04:00