Граф коммитов

650 Коммитов

Автор SHA1 Сообщение Дата
Alex Chronopoulos 21a1f8e51b Bug 1410456 - Keep the old mechanism for the older versions that jni method is not available. r=padenot
MozReview-Commit-ID: 3jXf3wuXqZu

--HG--
extra : rebase_source : 6b81a313f12c74810e969c9195fcc8113d5bdf89
2018-02-27 13:37:37 +02:00
Alex Chronopoulos 647424824e Bug 1410456 - get mixer latency from JNI instead of system library. r=jchen,padenot,snorp
MozReview-Commit-ID: 3YciuVu25JO

--HG--
extra : rebase_source : e5b3ad2f4b38f4b6454a56434022fce7f2a649cb
2018-02-20 15:37:12 +02:00
Alex Chronopoulos 9dba55fc1f Bug 1410456 - remove preferred sample rate implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: jBZ3oewbjh

--HG--
extra : rebase_source : e983510c4c3e2e046302ea3c0732b25a0cfd2cb1
2018-02-20 15:37:11 +02:00
Alex Chronopoulos cb6847750a Bug 1410456 - remove get latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: 1Mc2dSk0hlc

--HG--
extra : rebase_source : 00c83fb95b4ef5f184bc4c9b7511f53995ad82c4
2018-02-20 15:37:10 +02:00
Alex Chronopoulos 9497b2b3a2 Bug 1410456 - remove get min latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: CD2FCiMobWm

--HG--
extra : rebase_source : 17de7ffc8b93082473beaebabd8354c853f4f20f
2018-02-20 15:37:09 +02:00
Alex Chronopoulos cc9dc0dbeb Bug 1410456 - remove an unused variable that produces a compile warning. r=padenot
MozReview-Commit-ID: Hf7Od37bnzX

--HG--
extra : rebase_source : d53cbf4ef6f79ee9caac4e74a67f67a2e441669f
2018-02-20 15:37:08 +02:00
Dan Glastonbury b486a46d6a Bug 1440538 - P4: Update cubeb-pulse-rs to commit f58dc34. r=kinetik
MozReview-Commit-ID: 5eQV3nUceQe

--HG--
extra : rebase_source : c182a15ceda6ef3bb9e25ca3a4465aba325f32bf
2018-02-23 12:54:14 +10:00
Dan Glastonbury 16617a8283 Bug 1440538 - P3: Update cubeb-pulse-rs update.sh. r=kinetik
MozReview-Commit-ID: 4DiL3XnCpMY

--HG--
extra : rebase_source : 719e2a9a0ec9e3284495f7d460e6762b15af0634
2018-02-13 14:45:51 +10:00
Narcis Beleuzu 5968b0947f Backed out 10 changesets (bug 1410456) for Android mochitest crashes, e.g. in test_postMessages.html. CLOSED TREE
Backed out changeset 7ec175446efd (bug 1410456)
Backed out changeset 94457911bb24 (bug 1410456)
Backed out changeset 5248a21216ae (bug 1410456)
Backed out changeset f182ab7885db (bug 1410456)
Backed out changeset e482347bdae3 (bug 1410456)
Backed out changeset f7b646045e06 (bug 1410456)
Backed out changeset 6a8ed4bf5d2f (bug 1410456)
Backed out changeset 1a9c687ec277 (bug 1410456)
Backed out changeset 82f6667c6758 (bug 1410456)
Backed out changeset 7bf358e3e01b (bug 1410456)
2018-02-26 15:58:20 +02:00
Alex Chronopoulos 1697d603ea Bug 1410456 - Update cubeb from upstream to b1ee1ce. r=padenot
MozReview-Commit-ID: 5PmGUcxB6jv

--HG--
extra : rebase_source : 15e4d33a4d80d5cfedb6b064d9320ae711db73f4
2018-02-26 14:03:36 +02:00
Alex Chronopoulos 2eb404212e Bug 1410456 - Add new files in update.sh script. r=padenot
MozReview-Commit-ID: GD8CHTM1pV8

--HG--
extra : rebase_source : 27a9e05db3831729dc0d6c7f43ba4edca2d39bdc
2018-02-26 13:52:36 +02:00
Alex Chronopoulos 0d15e89258 Bug 1410456 - Keep the old mechanism for the older versions that jni method is not available. r=padenot
MozReview-Commit-ID: IsAOhDkNjHp

--HG--
extra : rebase_source : 375b7db8bc5d0c433aa55f229d8f81c971a6fbde
2018-02-26 13:46:13 +02:00
Alex Chronopoulos 967d8be756 Bug 1410456 - get mixer latency from JNI instead of system library. r=jchen,padenot,snorp
MozReview-Commit-ID: 3YciuVu25JO

--HG--
extra : rebase_source : e5b3ad2f4b38f4b6454a56434022fce7f2a649cb
2018-02-20 15:37:12 +02:00
Alex Chronopoulos 2b7cbda791 Bug 1410456 - remove preferred sample rate implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: jBZ3oewbjh

--HG--
extra : rebase_source : e983510c4c3e2e046302ea3c0732b25a0cfd2cb1
2018-02-20 15:37:11 +02:00
Alex Chronopoulos b3ae975aa1 Bug 1410456 - remove get latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: 1Mc2dSk0hlc

--HG--
extra : rebase_source : 00c83fb95b4ef5f184bc4c9b7511f53995ad82c4
2018-02-20 15:37:10 +02:00
Alex Chronopoulos 3c5238ce8c Bug 1410456 - remove get min latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: CD2FCiMobWm

--HG--
extra : rebase_source : 17de7ffc8b93082473beaebabd8354c853f4f20f
2018-02-20 15:37:09 +02:00
Alex Chronopoulos 26b0a86331 Bug 1410456 - remove an unused variable that produces a compile warning. r=padenot
MozReview-Commit-ID: Hf7Od37bnzX

--HG--
extra : rebase_source : d53cbf4ef6f79ee9caac4e74a67f67a2e441669f
2018-02-20 15:37:08 +02:00
Dorel Luca 037478c033 Backed out 9 changesets (bug 1410456) for Mochitest failure on mobile/android/tests/browser/chrome/test_media_playback.html
Backed out changeset 36f6b40dfa88 (bug 1410456)
Backed out changeset 19f3248502d9 (bug 1410456)
Backed out changeset 18ef18999175 (bug 1410456)
Backed out changeset 0ec75a56b4c7 (bug 1410456)
Backed out changeset f7eae1545d5e (bug 1410456)
Backed out changeset d59060ecd24c (bug 1410456)
Backed out changeset f996b9dce4a6 (bug 1410456)
Backed out changeset 1f75636b5bce (bug 1410456)
Backed out changeset c170d37b1a04 (bug 1410456)
2018-02-19 21:45:10 +02:00
Alex Chronopoulos e63e670281 Bug 1410456 - Update cubeb from upstream to 84e9568. r=achronop
MozReview-Commit-ID: LbKW5KFC37v

--HG--
extra : rebase_source : 83f0a420d9172dfcac47e260cac9675ef8fadc46
2018-02-19 18:38:06 +02:00
Alex Chronopoulos 9c4058b363 Bug 1410456 - Add new files in update.sh script. r=padenot
MozReview-Commit-ID: C9ssWChZclq

--HG--
extra : rebase_source : 20b6f8b97a0aa2156bedc4e11cd419e35802b1cb
2018-02-19 18:35:44 +02:00
Alex Chronopoulos 8f15370f0e Bug 1410456 - get mixer latency from JNI instead of system library. r=jchen,padenot,snorp
MozReview-Commit-ID: FbKvEB6mla

--HG--
extra : rebase_source : 71809dd91edf1e0eac7810dc9e0bea76fcb5d935
2018-02-19 18:35:31 +02:00
Alex Chronopoulos 9afa22dc33 Bug 1410456 - remove preferred sample rate implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: FA8tU5jDoZx

--HG--
extra : rebase_source : 60704befbb819b3788f727004a9281e8ff7cfea5
2018-02-19 18:30:48 +02:00
Alex Chronopoulos 9fe37d2732 Bug 1410456 - remove get latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: ADWuUuJaebU

--HG--
extra : rebase_source : 6becd0e53a79eb22b141de02eff3ac33d2c65919
2018-02-19 18:28:13 +02:00
Alex Chronopoulos 13684405b1 Bug 1410456 - remove get min latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: Lepj0zxiyXb

--HG--
extra : rebase_source : dfbc22d55b173bcfead47c9fb3d236b5c88393bc
2018-02-19 18:28:12 +02:00
Alex Chronopoulos f7c4614917 Bug 1410456 - remove an unused variable that produces a compile warning. r=padenot
MozReview-Commit-ID: IerCYxsDQFX

--HG--
extra : rebase_source : bd6384189a686fec9c9b43bdab4e5b9c14a95416
2018-02-19 18:28:11 +02:00
Alex Chronopoulos a9a0f3509a Bug 1438888 - Update cubeb from upstream to 1d53c3a. r=padenot 2018-02-16 18:37:50 +02:00
Alex Chronopoulos d616ec978d Bug 1435307 - Update cubeb from upstream to cc0d538. r=padenot 2018-02-02 19:35:15 +02:00
Bryce Van Dyk 099cc51efe Bug 1432869 - Update cubeb-pulse-rs to git commit deadde7. r=kamidphish
MozReview-Commit-ID: EdtwDx2r2Ta

--HG--
extra : rebase_source : 04324b3269ee38fdf1c9afca980a18d3bc42a853
2018-01-25 10:51:03 -05:00
Bryce Van Dyk 1691d18053 Bug 1432869 - Update cubeb from upstream to 4c18a84. r=achronop
This brings across the WASAPI loopback stream functionality recently
implemented in cubeb.

The README_MOZILLA is reverted to its previous format. Previously a couple of
patches were highlighted as needing application, however these have now been
applied upstream.

MozReview-Commit-ID: CV6FHWXZBK0

--HG--
extra : rebase_source : 2dff33fcff6960d1d5b7d8dfaf35023b9c44d16e
2017-12-05 13:11:01 -05:00
Bryce Van Dyk be0ce1cbb2 Bug 1432869 - Add loopback gtest to cubeb's update.sh. r=achronop
MozReview-Commit-ID: 1SQKMD80CG7

--HG--
extra : rebase_source : 5eb747607b1587676ff0e2fc8082655ae5648934
2017-12-05 13:08:20 -05:00
Alex Chronopoulos 80ad267a67 Bug 1432733 - Update cubeb from upstream to 2b98e3d. r=padenot
MozReview-Commit-ID: 7R7S3MLf6tm

--HG--
extra : rebase_source : ba605c371bb4a27379af26c73ff99b951f669ec6
2018-01-24 12:56:54 +02:00
Dan Glastonbury 1ed8c42458 Bug 1430996 - P2: Remove NIGHTLY_BUILD restriction for using cubeb-pulse-rs. r=kinetik
MozReview-Commit-ID: 6luTT4b9e25

--HG--
extra : rebase_source : 9c110d1d9e2fdfb9882c0d6f4081d436bb15d896
2018-01-17 16:22:54 +10:00
Dan Glastonbury a539d73ba3 Bug 1430996 - P1: Update cubeb-pulse-rs to commit cb7141e. r=kinetik
MozReview-Commit-ID: 2wrPNI9rvKF

--HG--
extra : rebase_source : 2a009c40dfdfd06a20b704ed033a47b93788edf4
2018-01-17 15:24:43 +10:00
Karl Tomlinson 88b88a2384 bug 1429666 cubeb_resampler_speex: don't call data callback while draining r=padenot
MozReview-Commit-ID: 1XEzZjPGai9

--HG--
extra : rebase_source : 56be87525d46ed3850a15e8e4dd19804dd832408
2018-01-11 13:30:24 +13:00
Alex Chronopoulos 6da3011397 Bug 1427702 - Update cubeb from upstream to bda37c2. r=kamidphish
MozReview-Commit-ID: H106jbl4sok
2018-01-03 12:06:11 +02:00
Mike Hommey aaf69c3c9b Bug 1427150 - Update cubeb from upstream to 43e15fc. r=kamidphish
--HG--
extra : rebase_source : 2c1338aa1f138e66ef1925fba760cdfcc7a2480a
2017-12-28 08:41:23 +09:00
Alex Chronopoulos 2fee2a59fa Bug 1426719 - Update cubeb from upstream to e1e8337. r=jesup
MozReview-Commit-ID: E0eHOl3zA0a

--HG--
extra : rebase_source : 679f4125e1966382ea20fc8095a5b29370c22f19
2017-12-21 21:25:40 +02:00
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Alex Chronopoulos 1d4361649f Bug 1423901 - Update cubeb from upstream to a88bf02. r=padenot
MozReview-Commit-ID: Kk8IwJZY0Mt

--HG--
extra : rebase_source : ad8a373b4ae8c29fc245efcfeeaab1e24fc76c0f
2017-12-07 16:42:20 +02:00
Alex Chronopoulos 2e3d7ac97e Bug 1421267 - Update cubeb from upstream to e17ba01. r=padenot
MozReview-Commit-ID: 8s9ZPsZkxD4

--HG--
extra : rebase_source : 540d20626dbe01a317c36ce77f7c2e856996d2e0
2017-11-28 16:27:34 +02:00
Alex Chronopoulos be5209e3f2 Bug 1420930 - Update cubeb from upstream to 8a0a300. r=padenot
MozReview-Commit-ID: 7JriSdO8TTf

--HG--
extra : rebase_source : 37732a6d51ac9bc9cafdbe7d886d7c2e05d88c5f
2017-11-27 18:16:16 +02:00
Paul Adenot 8ad630e34b Bug 1221580 - Update libcubeb to revision 7d00ea6705. r=kinetik,achronop
MozReview-Commit-ID: 8q8Va6I2hru

--HG--
extra : rebase_source : bbc96137fdd4469d57fe99f41ad1baa97e05d468
2017-11-10 12:31:24 +01:00
Alex Chronopoulos 0ae243650c Bug 1411866 - Update cubeb from upstream to cf5ddc5. r=padenot,kinetik
MozReview-Commit-ID: IPgIZ6oBVfg
2017-10-26 10:41:49 +03:00
Chris Manchester c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Paul Adenot 6298126ac4 Bug 1405258 - Update libcubeb to 40cd4ad0 to fix warnings as errors bustage.
MozReview-Commit-ID: 53knVqcswLX

--HG--
extra : rebase_source : 7379c68360a6004da1afcea920195e5dbca4f9c0
2017-10-03 13:40:00 +02:00
Paul Adenot 37bfa43273 Bug 1405258 - Update libcubeb to revision ba2a89611875cd9f2dabae99a362461b03c0dd3d
MozReview-Commit-ID: PngLiVneAh

--HG--
extra : rebase_source : 9f604112fad6cafb0883e3248823f78106ec5e19
2017-10-03 12:18:07 +02:00
Dan Glastonbury e0b3ce467e Bug 1399978 - Update cubeb-pulse-rs to git commit 2e22e53. r=kinetik
MozReview-Commit-ID: INksO0nbT1F

--HG--
extra : rebase_source : ea7936f95c44972478878cb54b1e2a83c4fbc4fe
2017-09-25 15:23:30 +10:00
Alex Chronopoulos af3b468649 Bug 1400671 - Update cubeb from upstream to ac532ad. r=kinetik
MozReview-Commit-ID: Ek4onH23hPc
2017-09-18 01:56:08 +03:00
Alex Chronopoulos fce9feacea Bug 1399905 - Update cubeb from upstream to 09a90a7. r=padenot
MozReview-Commit-ID: JoZj8q2nQPb
2017-09-14 18:35:15 +03:00
Dan Glastonbury 660a0a0bf8 Bug 1399009 - Update cubeb-pulse-rs to a386d91... r=kinetik
MozReview-Commit-ID: BnJpMCuDPOf

--HG--
extra : rebase_source : 37c652b29cc4732153ab5b8a45c0b02837026282
2017-09-12 15:31:18 +10:00
Paul Adenot 133d277e4d Bug 1395393 - Fix bustage on a CLOSED TREE.
MozReview-Commit-ID: BI4fIMikA0J
2017-09-01 18:09:48 +02:00
Paul Adenot 54e3972626 Bug 1395393 - Update libcubeb to 2e5814de. r=achronop
MozReview-Commit-ID: JWDv93mjAAE

--HG--
extra : rebase_source : 170547b55d8b04838523a255502c58991da8ffdb
extra : amend_source : c7f5e99b69e27c40e5fa6ed9054a57dbdf1c2f1c
2017-09-01 17:39:06 +02:00
Matthew Gregan b359c3ce6d Bug 1388229 - Update libcubeb to revision d59010139. r=kamidphish 2017-08-10 13:00:07 +12:00
Matthew Gregan b680d61073 Bug 1386957 -Update libcubeb to revision 0e103884. r=achronop
MozReview-Commit-ID: HFkJ6TPLIfv

--HG--
extra : rebase_source : 19225466d283f999a99589f6afba1315dc1ec041
2017-08-03 18:46:49 +12:00
Alex Chronopoulos ad2bcf909e Bug 1385481 - Update cubeb from upstream to 42da8d2. r=kinetik
MozReview-Commit-ID: HOrC5Iwd92L
2017-07-29 02:45:33 +03:00
Alex Chronopoulos 0335e95f16 Bug 1384053 - Update cubeb from upstream to 09aeb59. r=kinetik
MozReview-Commit-ID: KQRqIGv021z

--HG--
extra : rebase_source : e024379549aa71c831a56dc91b41389838970550
2017-07-25 18:00:35 +03:00
Alex Chronopoulos 7712d5e660 Bug 1381015 - Update cubeb from upstream to a329c6a. r=kinetik
MozReview-Commit-ID: Gfutv4Tnvix

--HG--
extra : rebase_source : 219433f6d6008814f8ce2839700a418cf0fda711
2017-07-17 11:48:15 +03:00
Alex Chronopoulos cfc97eef59 Bug 1380233 - Update cubeb pulse rust backend from upstream to 3b8cfba. r=kamidphish
MozReview-Commit-ID: CKfpyKaqLSe

--HG--
extra : rebase_source : 7675f4a21e45465939b0457e5ed34f88985e53fb
2017-07-13 13:07:32 +03:00
Alex Chronopoulos 90ea6c6cf8 Bug 1380233 - Update cubeb from upstream to bb18984. r=kinetik
MozReview-Commit-ID: FU0a9BWcOoN

--HG--
extra : rebase_source : e40749d95d6928e12a1d5e88c082b3a167e18924
2017-07-13 13:04:52 +03:00
Peter Gerber f6d02d64ec Bug 1375873 - fix panic in cubeb caused by PA_SINK_SET_FORMATS flag r=kamidphish
MozReview-Commit-ID: FQic63gUu51

--HG--
extra : rebase_source : f4e3f5e4258ba4fb08acb4fe85b73404c7bf7afe
2017-06-24 02:42:28 +02:00
Dan Glastonbury 8f2155024b Bug 1376000: Drop any unknown flags in SinkInfo.flags. r=padenot
Rust expect() is bad in C callbacks.  Replace TryFrom() with
from_bits_truncate() to drop any unknown PulseAudio flags.

MozReview-Commit-ID: 4RWFB5iGW6Z

--HG--
extra : rebase_source : 3b05d52ae1295825b4857c41135ff08029ad280c
2017-06-24 08:03:59 +10:00
Dan Glastonbury 39441f1b4c Bug 1374494 - P2: Update cubeb-pulse-rs to commit djg/cubeb-pulse-rs/6451581. r=kinetik
MozReview-Commit-ID: IscK7OpIZbB

--HG--
extra : rebase_source : d2ec3568fedd8f9841c3ecd5f02e434238add889
2017-06-09 12:30:29 +10:00
Dan Glastonbury 310ef6224e Bug 1374494 - P1: Add pulse-rs folder to update.sh. r=kinetik
MozReview-Commit-ID: DNhPe2JhfU2

--HG--
extra : rebase_source : a306bdb305e0eb7042a703b2642d9f737fb14fbc
2017-06-19 17:47:13 +10:00
Alex Chronopoulos 1569d73eef Bug 1374275 - Update cubeb from upstream to 18153b9. r=kinetik
MozReview-Commit-ID: 4PKadUfp0Bc

--HG--
extra : rebase_source : 430224ccb31ba49c6c980529af3ba8385005f8be
2017-06-20 12:09:28 +03:00
Dan Glastonbury 79484d5aa4 Bug 1373475: Remove panic from pulse_format_to_cubeb_format. r=kinetik
Remove left-over panic! from this function and return default values
of F32NE, just as cubeb_pulse.c does.

MozReview-Commit-ID: 5MgIOSaexF2

--HG--
extra : rebase_source : b1159b09c97df8a41811a85cb0f1674062d5cd92
2017-06-16 11:15:48 +10:00
Dan Glastonbury a74de3d86f Bug 1372057 - Limit pulse-rust to nightly builds. r=kinetik
MozReview-Commit-ID: Ev4GSuEN5Xa

--HG--
extra : rebase_source : 0e3910ffa437963810d5f42d5e2f3486e72801ef
2017-06-12 11:26:33 +10:00
Dan Glastonbury 0170a00894 Bug 1371319 - null out pulse pointers on destruction. r=kinetik
To avoid a double freeing of pa_context and pa_threaded_mainloop on
error, null out pointers once the object is freed.

Added assertions that pointer are null after destroy()'ing.

MozReview-Commit-ID: 1Ycmkrc2kWe

--HG--
extra : rebase_source : 1074ba307a45f9714b07c66d112a1b4b190c4540
2017-06-09 10:33:17 +10:00
Dan Glastonbury 839fad3c98 Bug 1360060 - P3: device_collection_destroy for cubeb-pulse-rs. r=kinetik
MozReview-Commit-ID: Hvn12h4O4FE

--HG--
extra : rebase_source : 9a689bcc516c1a3d363c2996bce67a083970aad9
2017-05-24 19:33:19 +10:00
Dan Glastonbury d8f7d93bff Bug 1360060 - P2: Add patch to libcubeb/update.sh r=kinetik
MozReview-Commit-ID: CPSGDKtrJZI

--HG--
extra : rebase_source : 14dbf4d6af2104f6043f4269cc8522ce946e8ffe
2017-05-24 20:48:00 +10:00
Dan Glastonbury 11c2d37f9d Bug 1360060 - P1: Enable selection of cubeb-pulse-rust over cubeb-pulse. r=kinetik
MozReview-Commit-ID: GN5POBqy56W

--HG--
extra : rebase_source : 0af5972b29c2209beef82ef109e0b5f10613848e
2017-04-27 10:51:52 +10:00
Alex Chronopoulos 4c1cef4cb9 Bug 1368910 - Update cubeb from upstream to 3428c2b. r=kinetik
MozReview-Commit-ID: FIUMIri84Wr
2017-05-31 07:59:22 +03:00
Dan Glastonbury 9224fdaf13 Bug 1367646 - Update cubeb from upstream to 087dc94. r=kinetik
MozReview-Commit-ID: E1D2XCtugqW

--HG--
extra : rebase_source : 20d630e763aa840d1a07e0edf128206dd8b679e8
2017-05-25 14:45:04 +10:00
Alex Chronopoulos 9281e65d26 Bug 1366707 - Update cubeb from upstream to 96cdb17. r=kinetik
MozReview-Commit-ID: 3aiEtrl289U

--HG--
extra : rebase_source : 16ebdb2e20fc516047cc8f4974d6c9e6ec638fcb
2017-05-23 11:29:33 +03:00
Alex Chronopoulos 517b0f8cbf Bug 1362334 - Update cubeb from upstream to 26a50b0. r=kinetik
MozReview-Commit-ID: KQXwt0DJHvP
2017-05-09 09:49:30 +03:00
Dan Glastonbury 4f5a7952ca Bug 1360053 - Fetch version dbcd7f of cubeb-pulse-rs from github. r=kinetik
MozReview-Commit-ID: 8vy5Sy1430s

--HG--
extra : rebase_source : 72b3370258affb14dfa2754b1816eea13a4d1e2e
2017-04-27 10:06:33 +10:00
Alex Chronopoulos ff2192eef4 Bug 1359451 - Update cubeb from upstream to 17503c4. r=padenot
MozReview-Commit-ID: C3NXIvjwjgD

--HG--
extra : rebase_source : 06cc2449c9892ba431662e9cd72633a91efcba2e
2017-04-25 18:25:01 +03:00
Dan Glastonbury 42bf7f5ae3 Bug 1358938 - Remove gonk config from moz.build. r=SingingTree
Re-applying Bug 1357323.

MozReview-Commit-ID: 6UcfIHWDwn5

--HG--
extra : rebase_source : 71b61606cfbc03c5b5d7064154f0e035c8393b32
2017-04-24 11:20:03 +10:00
Dan Glastonbury 92a65a96fb Bug 1346665 - P2: Import rustified cubeb_pulse.c. r=kinetik,rillian
Enable by setting:

  media.cubeb.backend = "pulse-rust"

MozReview-Commit-ID: EZXJAzN3X7c
2017-04-21 14:01:01 +10:00
Dan Glastonbury 709bb40008 Bug 1346665 - P1: Enable USE_PULSE_RUST in libcubeb. r=kinetik,rillian
MozReview-Commit-ID: 5ZQLFXNFWdB
2017-04-21 14:01:00 +10:00
Alex Chronopoulos 939147b2d1 Bug 1357683 - Update cubeb from upstream to 6e52314. r=padenot
MozReview-Commit-ID: FKxbO0W50Xk
2017-04-20 12:01:37 +03:00
Mike Hommey 34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Paul Adenot ebfeb605e3 Bug 1348344 - Backed out changeset c72cf98f1527. r=achronop
This was meant to be temporary, and we can remove it now.

MozReview-Commit-ID: 2A9RKIabYIZ

--HG--
extra : source : e6cd7e39bfdd77772ffd3a36448b7763db7ec6d1
extra : histedit_source : dcb1bd9d144aaa9abeef38107a6ee6d85cdf7b2f
2017-04-10 17:15:29 +02:00
Paul Adenot b37280c289 Bug 1337641 - Temporarily disable an assert in cubeb duplex. r=achronop
MozReview-Commit-ID: GD57nZRoXFj

--HG--
extra : rebase_source : 638d4e3f38fb3f4989758f0f1ad7f9d5dc4680ab
2017-04-10 19:26:44 +02:00
Carsten "Tomcat" Book 5d99fc5820 Merge mozilla-central to autoland 2017-04-04 12:38:55 +02:00
Paul Adenot 8db2de79d7 Bug 1351803 - Statically link to avrt.lib on Windows, when compiling cubeb. r=glandium
We used to get the symbols we need using `LoadLibrary`, but now (since
661c653c86),
we can statically link to avrt.lib, because we only support Windows OSes that
have this library. For now, this works because avrt.lib is linked in
webrtc-land somewhere with a #pragma, but:
- We're going to stop using this bit of webrtc in the near future (around
  Firefox 54)
- Not linking this explicitely where it's used breaks --disable-webrtc, that is
  a popular option

MozReview-Commit-ID: 7b16Kdl3VUu

--HG--
extra : rebase_source : b4159872427b4e9d912e1228e75563ca9a8e828d
2017-03-30 06:26:19 -07:00
Matthew Gregan 2174e12534 Bug 1352929 - Update libcubeb to 04826edb. r=padenot 2017-04-04 14:02:04 +12:00
Paul Adenot 3fe3b37a3f Bug 1348344 - Add a way to disable the aggregate audio device on OSX, and log the resampler internal state. r=achronop,kinetik
MozReview-Commit-ID: C23SsRNfq2A

--HG--
extra : histedit_source : 654a54d4a2367595cd7acff6e473d191c4787754
2017-03-17 18:21:35 +01:00
Paul Adenot d608b2fd6e Bug 1341238 - Update cubeb to revision 4ab45776. r=kinetik 2017-03-16 18:26:32 +13:00
Alex Chronopoulos 44ce83037f Bug 1345049 - Update cubeb from upstream to f07ee6d. r=kinetik
MozReview-Commit-ID: 9vApWUIieJH

--HG--
extra : rebase_source : 02de16b962218747a52b5c6f71c2d681b8485fc6
2017-03-09 19:47:39 +01:00
Joel Maher 43d997b5a3 Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot
MozReview-Commit-ID: C7xWOE0OwIK
2017-03-07 13:06:45 -05:00
Alex Chronopoulos c4f0fcd254 Bug 1344653 - Update cubeb from upstream to a3c012f. r=kinetik
MozReview-Commit-ID: 3jQt8zdukUm
2017-03-06 11:34:52 +02:00
Alex Chronopoulos b232ff8649 Bug 1343780 - Update cubeb from upstream to 0753297. r=kinetik
MozReview-Commit-ID: Byuw5tH6wjs
2017-03-02 13:45:08 +02:00
Tom Ritter e275b0a019 Bug 1342212 - Add the commit date to the cubeb README_MOZILLA file to allow automated tooling to detect too-old libraries. r=kinetik
MozReview-Commit-ID: CbBlmy1jZU

--HG--
extra : rebase_source : 5c61711a1ad9c60f6180f67f6c8f1c49df91ff69
2017-02-27 13:53:41 -06:00
Alex Chronopoulos 6b65c12c74 Bug 1342363 - Update cubeb from upstream to 25b593f. r=padenot
MozReview-Commit-ID: BAwQSDLJoMx

--HG--
extra : rebase_source : 01c1c72c3b287f6e6608b84fc00cd80177ae65cc
2017-02-24 13:24:32 +02:00
Alex Chronopoulos 3d4c312be6 Bug 1339816 - Update cubeb from upstream to 8977c13b. r=padenot a=needmacnightlyrespin
MozReview-Commit-ID: 942LCa6dOzJ

--HG--
extra : source : 9416a107fa60f31c745acf7821b52cd5a8ef8e98
2017-02-17 19:20:34 +02:00
Paul Adenot add4b47dc6 Bug 1332937 - Use MOZ_RELEASE_ASSERT behind cubeb's XASSERT so it's enabled in release. r=achronop
MozReview-Commit-ID: ISAb2ops8iq

--HG--
extra : rebase_source : be0b14e0edc823c847f72bacf7adf10d5e56ed9e
2017-02-10 15:15:06 +01:00
Alex Chronopoulos c0634dbb84 Bug 1337805 - Update cubeb from upstream 21e96ac. r=padenot
MozReview-Commit-ID: 62VM613n915

--HG--
extra : rebase_source : 5a58866e8e3a0458eacabcdbb894bffcebe3467f
2017-02-10 13:20:15 +02:00
Sebastian Hengst 64e3711920 Backed out changeset a3faba8c3991 (bug 1337805) for frequently failing test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_byte.html. r=backout 2017-02-09 21:21:51 +01:00
Alex Chronopoulos b90787dd1c Bug 1337805 - Update cubeb from upstream 21e96ac. r=padenot
MozReview-Commit-ID: 4WVSRHoUYAJ

--HG--
extra : rebase_source : 113cec5e8875fb3f4dfae6cdb9251a0831089069
2017-02-08 17:33:43 +02:00
Paul Adenot 42b97bbf05 Bug 1337328 - Uplift cubeb to revision 927877. r=achronop
MozReview-Commit-ID: 1VxCdWZQtR4

--HG--
extra : rebase_source : 5430bd5c97d4cbd3854e0089bac324b5a4b134f7
2017-02-07 12:13:30 +01:00
Alex Chronopoulos 538d575a01 Bug 1331869 - Update cubeb from upstream to d96e35f02d. r=kinetik,padenot
MozReview-Commit-ID: 9H3cKh82Jwv

--HG--
extra : rebase_source : fc8f877e627aced0ff0fcc2d18766ba05560d6af
2017-01-19 18:02:42 +02:00
Matthew Gregan 5d52935243 Bug 1319623 - Update libcubeb to 051cd847. r=achronop 2016-11-24 06:59:32 +13:00
Matthew Gregan 9905c5e828 Bug 1318619 - Update libcubeb to 13f167c2. 2016-11-21 07:30:16 +13:00
Alex Chronopoulos 315350e00b Bug 1221574 - [08] Add new file cubeb_array_queue.h. r=bustage-fix on a CLOSED TREE
MozReview-Commit-ID: F4aI4R8Zelg
2016-11-18 19:21:57 +02:00
Alex Chronopoulos 8c162d5faa Bug 1221574 - [07] Update cubeb to b6315bb including full duplex for OpenSL ES. r=kinetik, r=padenot
MozReview-Commit-ID: 6VmQ4jccpJx
2016-11-18 18:00:49 +02:00
Alex Chronopoulos a237a9fa61 Bug 1221574 - [01] Add queue array in update.sh script. r=padenot
MozReview-Commit-ID: IbFQeza1x2l
2016-11-18 18:00:47 +02:00
Alex Chronopoulos 8ca2f49e54 Bug 1318619 - Update cubeb upstream to 7f74039f92. r=kinetik
MozReview-Commit-ID: HDOkLLKKsm7
2016-11-18 12:30:23 +02:00
Matthew Gregan 81105ff0ba Bug 1314514 - Update libcubeb to 8bab182c. r=padenot
--HG--
rename : media/libcubeb/tests/common.h => media/libcubeb/gtest/common.h
rename : media/libcubeb/tests/moz.build => media/libcubeb/gtest/moz.build
rename : media/libcubeb/tests/test_audio.cpp => media/libcubeb/gtest/test_audio.cpp
rename : media/libcubeb/tests/test_devices.cpp => media/libcubeb/gtest/test_devices.cpp
rename : media/libcubeb/tests/test_duplex.cpp => media/libcubeb/gtest/test_duplex.cpp
rename : media/libcubeb/tests/test_record.cpp => media/libcubeb/gtest/test_record.cpp
rename : media/libcubeb/tests/test_resampler.cpp => media/libcubeb/gtest/test_resampler.cpp
rename : media/libcubeb/tests/test_sanity.cpp => media/libcubeb/gtest/test_sanity.cpp
rename : media/libcubeb/tests/test_tone.cpp => media/libcubeb/gtest/test_tone.cpp
2016-11-11 15:01:56 +13:00
Wes Kocher 791bd2888f Backed out changeset 359999c77a46 (bug 1314514) for build bustage a=backout CLOSED TREE
--HG--
rename : media/libcubeb/gtest/common.h => media/libcubeb/tests/common.h
rename : media/libcubeb/gtest/moz.build => media/libcubeb/tests/moz.build
rename : media/libcubeb/gtest/test_audio.cpp => media/libcubeb/tests/test_audio.cpp
rename : media/libcubeb/gtest/test_devices.cpp => media/libcubeb/tests/test_devices.cpp
rename : media/libcubeb/gtest/test_duplex.cpp => media/libcubeb/tests/test_duplex.cpp
rename : media/libcubeb/gtest/test_record.cpp => media/libcubeb/tests/test_record.cpp
rename : media/libcubeb/gtest/test_resampler.cpp => media/libcubeb/tests/test_resampler.cpp
rename : media/libcubeb/gtest/test_sanity.cpp => media/libcubeb/tests/test_sanity.cpp
rename : media/libcubeb/gtest/test_tone.cpp => media/libcubeb/tests/test_tone.cpp
2016-11-15 12:03:51 -08:00
Matthew Gregan 2b9aa95d4c Bug 1314514 - Update libcubeb to 8bab182c. r=padenot
--HG--
rename : media/libcubeb/tests/common.h => media/libcubeb/gtest/common.h
rename : media/libcubeb/tests/moz.build => media/libcubeb/gtest/moz.build
rename : media/libcubeb/tests/test_audio.cpp => media/libcubeb/gtest/test_audio.cpp
rename : media/libcubeb/tests/test_devices.cpp => media/libcubeb/gtest/test_devices.cpp
rename : media/libcubeb/tests/test_duplex.cpp => media/libcubeb/gtest/test_duplex.cpp
rename : media/libcubeb/tests/test_record.cpp => media/libcubeb/gtest/test_record.cpp
rename : media/libcubeb/tests/test_resampler.cpp => media/libcubeb/gtest/test_resampler.cpp
rename : media/libcubeb/tests/test_sanity.cpp => media/libcubeb/gtest/test_sanity.cpp
rename : media/libcubeb/tests/test_tone.cpp => media/libcubeb/gtest/test_tone.cpp
2016-11-11 15:01:56 +13:00
Alex Chronopoulos eefc8725dd Bug 1315928 - Update cubeb from upstream to f8467510a8b. r=kinetik
MozReview-Commit-ID: 7M6LVOGxTVB
2016-11-08 14:02:49 +02:00
Matthew Gregan 100e73de5a Bug 1315495 - Update libcubeb to 98b189d2. r=achronop 2016-11-06 11:51:33 +13:00
Matthew Gregan e692f60826 Bug 1314496 - Update libcubeb to 8c41e564. r=padenot 2016-11-06 10:43:11 +13:00
Alex Chronopoulos 0dc4f7ef3b Bug 1314316 - Restore use of ceilf method instead of roundf. r=jesup
MozReview-Commit-ID: 5Wv5dqSy3B8

--HG--
extra : rebase_source : 23e09c1e37fc70626d8ef4178b7342117ddfc92f
2016-11-01 18:34:55 +02:00
Matthew Gregan 02eeb9d19a Bug 1311346 - Remove obsoleted patches. r=me 2016-10-21 13:06:24 +13:00
Paul Adenot 262e1f8a04 Bug 1311346 - add cubeb_log.h to the tree
MozReview-Commit-ID: BHvbZzns6WK
2016-10-20 16:36:29 +02:00
Paul Adenot 3dd5af16d3 Bug 1311346 - Add cubeb_export.h to the tree.
--HG--
extra : histedit_source : 7d538af3b6990e25fa4e4c6257589d5977fa3d95
2016-10-20 16:17:25 +02:00
Paul Adenot 527bc745cd Bug 1311346 - Update libcubeb to revision 9eacd3144. r=kinetik
--HG--
extra : rebase_source : efeb55082e9a1a0a60d96b717dbb3767e9a54280
2016-10-20 16:01:01 +02:00
Matthew Gregan b123dc8ba5 Bug 1308418 - Avoid double-constructing owned_critical_section via copy constructor. r=jya
This uplifts the upstream change 22557d466eceb6ff6ba70ae30d2dcd87648cde0b from
https://github.com/kinetiknz/cubeb as a standalone patch suitable for uplift.
2016-10-19 14:42:03 +13:00
Paul Adenot d31503d9d3 Bug 1307724 - Cherry-pick cubeb revision 50d92c. r=kinetik
MozReview-Commit-ID: 2ibCLal3BVD

--HG--
extra : rebase_source : 42dbab3510abdb390c6287df95721a17be7a1e4d
2016-10-05 12:20:06 +02:00
Paul Adenot dbae1f1510 Bug 1306570 - Cherry-pick cubeb revision 6ae23a63 to fix a clock drift on Windows. r=kinetik
MozReview-Commit-ID: 3gC8dDAlkEM

--HG--
extra : rebase_source : 22b489cc5d7d3f91e9cfeab749fd41bd2300b652
2016-10-03 10:08:26 +02:00
Alex Chronopoulos 5a929bb3b5 Bug 1286041 - Update cubeb library on commit a317ba0. r=kinetik 2016-09-23 19:16:17 +03:00
Matthew Gregan 20f697690e Bug 1274479 - Update libcubeb. r=padenot 2016-09-13 13:23:46 +12:00
Wes Kocher 677438b338 Backed out 4 changesets (bug 1286041) for making various media tests really failure prone a=backout
Backed out changeset af4c053741f1 (bug 1286041)
Backed out changeset b5be689abefa (bug 1286041)
Backed out changeset 2aad01ffac9f (bug 1286041)
Backed out changeset 48117ed311a1 (bug 1286041)
2016-09-12 15:17:23 -07:00
Alex Chronopoulos 7c62351e09 Bug 1286041 - Update cubeb library on commit 2f3b9eb. r=kinetik 2016-09-12 12:24:54 +03:00
Matthew Gregan d586aee8fd Bug 1278612 - Use DefaultOutputUnit as the default output device. r=jesup
https://github.com/kinetiknz/cubeb/commit/6b2c610 changed the output unit
from kAudioUnitSubType_DefaultOutput to kAudioUnitSubType_HALOutput because
capture is never available on the DefaultOutputUnit.  For the case where
we're doing output only to the default device, this regressed the automatic
device switching when the output device was changed in the Sound system
preferences.  Reverting to the DefaultOutputUnit for this case restores the
previous behaviour.  This addresses BMO #1278612.
2016-08-15 13:07:50 +12:00
Jan-Ivar Bruaroey 23c8aa8b52 Bug 1290625 - Make libcubeb mutex recurse again, to avoid deadlock when getting microphone. r=achronop
MozReview-Commit-ID: AvYa8ylsdOf

--HG--
extra : rebase_source : 111b2954a089fcacc530f7d9babed5de298b5b78
2016-07-29 20:03:35 -04:00
Paul Adenot f6b4822250 Bug 1290425 - Update cubeb to e40741 to fix bustage. 2016-07-29 14:04:09 +02:00
Alex Chronopoulos ae1e3599d8 Bug 1290425 - Update cubeb to revision 6278ef2f73. r=padenot 2016-07-29 13:40:52 +02:00
Paul Adenot 6c72456425 Bug 1285541 - Update cubeb to revision 2a5fd74b. r=padenot,achronop
Patches by padenot and achronop.

MozReview-Commit-ID: G00OFgHdKne

--HG--
rename : media/libcubeb/src/cubeb_audiounit.c => media/libcubeb/src/cubeb_audiounit.cpp
2016-07-20 15:02:29 +02:00
Paul Adenot 6100b0f94e Bug 1285541 - Update moz.build and update.sh for the new version of cubeb. r=achronop
MozReview-Commit-ID: 27b5L7ilGEg
2016-07-20 15:02:23 +02:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Damien Zammit 44e85908a4 Bug 783733 - Wire up the jack cubeb backend in the build system. r=glandium
It's disabled by default for now.

MozReview-Commit-ID: CPrJQ07n26t
2016-07-18 13:28:39 +02:00
Paul Adenot df4b0d9571 Bug 1283850 - Uplift cubeb to revision b8aebef. r=padenot,kinetik,achronop
MozReview-Commit-ID: IjlWPClDuFg
2016-07-01 15:43:16 +02:00
Paul Adenot 378278ea83 Bug 1281402 - Uplift cubeb to revision 9a1d6ccd2. r=kinetik
MozReview-Commit-ID: 36jF493k7XW

--HG--
extra : rebase_source : ce0e2bf4c0a8ae671e0633b17a4339b9bea2e3b8
2016-06-22 15:12:58 +02:00
Paul Adenot 279fbfd34c Bug 1280280 - Update cubeb to 073c9f011114. r=kinetik
MozReview-Commit-ID: 8mARVNKAG7P
2016-06-16 14:52:51 +01:00
Paul Adenot 6145a952fe Bug 1280280 - Update `media/libcube/update.sh` to add `cubeb_jack.cpp`, and sort the list of files. r=kinetik
MozReview-Commit-ID: 5gwM71sotV2
2016-06-15 17:26:54 +01:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Matthew Gregan dc5d4004b3 Bug 1270004 - Update libcubeb. rs=jesup 2016-05-06 10:36:41 +12:00
Matthew Gregan 463eeffbb8 Bug 1270062 - Update libcubeb. rs=jesup 2016-05-05 07:55:13 +12:00
Sebastian Hengst 364419d47c Backed out changeset 6cfa5e25f30c (bug 1270062) for build bustage on Windows x64. r=bustage on a CLOSED TREE 2016-05-04 19:29:13 +02:00
Paul Adenot a81dba9199 Bug 1270062 - Update libcubeb to revision 95b115e10e6280b934fc7d09a2c801055a2207f9.
Review by jesup on IRC.
2016-05-04 18:45:45 +02:00
Paul Adenot fc68be72fb Bug 1270062 - Unbust Windows full duplex. a=Tomcat
MozReview-Commit-ID: EApTXpnCjz4
2016-05-04 13:28:50 +02:00
Paul Adenot 3ef0477eee Bug 1269692 - Update cubeb to revision 17e3048d0afa1152776fb1867cdb61c49fae69e4.
This picks up the fixes for bug 1268675 and bug 1268499, both reviewed by
kinetik.

MozReview-Commit-ID: GLIDQgIGqch
2016-05-03 11:53:19 +02:00
Carsten "Tomcat" Book caa14246b6 Backed out changeset 094a64103807 (bug 1269692) for bustage on a CLOSED TREE 2016-05-03 12:13:49 +02:00
Paul Adenot 235503ca90 Bug 1269692 - Update cubeb to revision 17e3048d0afa1152776fb1867cdb61c49fae69e4.
This picks up the fixes for bug 1268675 and bug 1268499, both reviewed by
kinetik.

MozReview-Commit-ID: GLIDQgIGqch
2016-05-03 11:53:19 +02:00
Paul Adenot 3b6d6ce4d6 Bug 1267930 - When the wasapi rendering loop is stuck and we're shuttin down, leak the thread and continue the shutdown process. r=kinetik
It's probably better to not TerminateThread here, because we don't really know
what happened down the stack of the rendering loop, so we just leak it. This
happens during shutdown so it's not really an issue, it's going to be cleaned
up by the OS anyways.

MozReview-Commit-ID: 4o3Krj7L7m2
2016-04-28 12:02:14 +02:00
Matthew Gregan ff1d7be7b4 Bug 1266623 - Up/down mix WASAPI capture streams when stream formats don't match. r=padenot 2016-04-26 13:31:49 +12:00
Alex Chronopoulos 6f159ce8bf Bug 1266753 - Fix mac bustage: use the old enum values, on a CLOSED TREE. r=padenot
MozReview-Commit-ID: 3wr3iTG6IWY
2016-04-22 18:42:11 +02:00
Alex Chronopoulos a60e62f398 Bug 1266753 - Update cubeb to revision dbdfb to pick up OSX device notification changes. r=padenot
MozReview-Commit-ID: 7N66FmG9P5u
2016-04-22 16:36:39 +02:00
Paul Adenot f1ecd64200 Bug 1265692 - Update cubeb to 0bc02f9. r=padenot,kinetik
This picks up fixes for:

- bug 1264892
- bug 1265541
- bug 1263514
- bug 1263505

MozReview-Commit-ID: CaNRARFO9UD
2016-04-19 14:02:23 +02:00
Thomas Zimmermann 4fd6e14941 Bug 1264892: Use system declaration of |__system_property_get| on B2G, r=padenot 2016-04-18 14:32:29 +02:00
Paul Adenot c769964bb2 Bug 1264594 - Update libcubeb to revision 727121. r=kinetik
MozReview-Commit-ID: 26uBiAvDcFy
2016-04-14 12:33:18 +02:00
Randell Jesup cb5f591b1b Bug 1263735: Update libcubeb to remove wasapi stubbing for enumeration r=kinetik
Also removes two spurious includes that were landed as possible bustage fixes in mozilla

MozReview-Commit-ID: 5PIxLpEAFmI
2016-04-11 17:19:46 -04:00
Nathan Froyd d7dfb00a02 Bug 1261116 - only compile libcubeb's test_resampler if PulseAudio is enabled; r=kinetik 2016-03-31 13:06:04 -04:00
Randell Jesup e8ac0554c8 Bug 1251502: _XOPEN_SOURCE level fix rs=bustage
on a CLOSED TREE

MozReview-Commit-ID: JUCRshXkC83
2016-03-27 19:06:37 -04:00
Randell Jesup 21d6b08430 Bug 1251502: include bustage fix rs=bustage
MozReview-Commit-ID: HTnSyDGKddY
2016-03-27 17:32:33 -04:00
Alex Chronopoulos 8747368bb1 Bug 1251502 - Add a duplex AudioUnit implementation. r=kinetik,padenot
MozReview-Commit-ID: Fbx9Qlsc50j
2016-03-25 17:44:37 +01:00
Paul Adenot aba1a5fcce Bug 1251502 - Add a generic duplex resampler and a duplex WASAPI implementation. r=kinetik
This also imports various other commits from cubeb.

MozReview-Commit-ID: 4oUwHR8EUvd
2016-03-25 17:44:02 +01:00
Alex Chronopoulos 15a8cce414 Bug 1251502 - Update cubeb's udpate.sh script to account for new files. r=kinetik
MozReview-Commit-ID: 6sA4rvsoczP
2016-03-25 17:43:02 +01:00
Alex Chronopoulos 97cb78e3ec Bug 1251502 - Update moz.build for cubeb tests. r=kinetik
MozReview-Commit-ID: DBUde7unwfL
2016-03-25 17:42:44 +01:00
Alex Chronopoulos f8e11f59de Bug 1251502 - Compile the resampling code in cubeb for OSX and Linux. r=kinetik
MozReview-Commit-ID: FqDBIojiAuF
2016-03-25 17:42:30 +01:00
Alex Chronopoulos 8c04e867b0 Bug 1251502 - cubeb does not use cubeb-stdint.h anymore, remove it from moz.build. r=kinetik
MozReview-Commit-ID: AzEmEec1jS
2016-03-25 17:42:10 +01:00
Randell Jesup 2f02d39ab8 Bug 1243275: Update libcubeb to pick up device-change-notification changes and a pulse fix rs=kinetik
--HG--
extra : commitid : JltP68111Xr
2016-01-27 07:57:35 -05:00
Landry Breuil 041d318a87 Bug 1242152 - fix sndio build after full-duplex API changes r=kinetik 2016-01-24 10:59:58 +01:00
Randell Jesup 7fc3f9bbc1 Bug 1241476: Update libcubeb from upstream rs=kinetik
Import of upstream git rev 2de1ab50e16763fd88ec1b5bae30422de598eed0
Updated update.sh script as well

--HG--
extra : commitid : IsUrg2XOTM2
2016-01-21 22:17:46 -05:00
Wes Kocher 25c1f56cee Backed out changeset 01c279ae2fb4 (bug 1241476) for various crashes on win xp mentioning "winmm_stream_init" a=backout
--HG--
extra : commitid : Cix5ETsOD0B
extra : amend_source : 1929a90c36b2f8426bfe9c0815931136acb4c95e
2016-01-21 17:28:32 -08:00
Wes Kocher 6166dbbd53 Backed out changeset d31752600dfd (bug 1221587)
--HG--
extra : commitid : 7u1Rh7nXdPT
2016-01-21 17:28:15 -08:00
Randell Jesup 5cb957d7fb Bug 1221587: temporary Win32 build fixes for cubeb full-duplex patch rs=padenot
To be backed out/overwritten on next merge from upstream libcubeb

--HG--
extra : commitid : CQtyLPoncz2
2016-01-21 11:51:36 -05:00
Randell Jesup ef9e20cf89 Bug 1241476: Update libcubeb from upstream rs=padenot
Import from libcubeb git commit b364f9ce2f8f7c392055b94c350ce600892ce7bc

--HG--
extra : commitid : 49ZDL6OsQel
2016-01-21 11:51:35 -05:00
Matthew Gregan 1527ec8a56 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 57bef6b196 Bug 1232219 (part 3) - Fix remaining -Wunused warnings. r=glandium.
--HG--
extra : rebase_source : 357474b4c7729b78a3030dfefd720aad4e1b2576
2015-12-16 22:57:51 -08:00
Jacek Caban 317f57fccc Bug 1228947 - mingw fixup. 2015-12-07 12:21:45 +01:00
Chris Peterson 46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Matthew Gregan 9a273aba8d Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Nigel Babu 80fe8e107c Backed out changeset 8631caf756eb (bug 1225703) for Cpp bustage on OS X 10.10 debug
--HG--
extra : amend_source : 0bacde9a70f022e574c638e207d4786a0572ef7b
2015-11-27 12:20:58 +05:30
Matthew Gregan 44147bd7ac Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Wes Kocher 6b785bc5a4 Backed out changeset 3f51676191a6 (bug 1225703) for cpp unittest failures on at least Windows CLOSED TREE
--HG--
extra : commitid : CP7XWRFUyfV
2015-11-22 23:00:58 -08:00
Matthew Gregan 43f3a0941b Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-23 15:12:05 +13:00
sajitk 582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
James Willcox f15ace1296 Bug 1221228 - Work around busted OpenSL causing hangs/reboots on Android r=padenot 2015-11-13 08:40:46 -06:00
Mike Hommey 4d40edea15 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 3de00b45dd 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 06ee049247 Bug 1041882 - Remove Froyo-specific support from libcubeb. r=snorp, r=padenot 2015-09-26 09:05:00 +02:00
Nicholas Nethercote 24cd9d5226 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.

--HG--
extra : rebase_source : 00a89fed733008785429827408a0c6c466971080
2015-09-09 04:57:44 -07:00
Matthew Gregan 4a3512acbf Bug 1199794 - Add NULL checks to avoid crashing during media playback if the audio device removed. r=padenot
--HG--
extra : rebase_source : fc390ed0cd902c2195cdaf8c151fcbe69050beb3
2015-08-28 19:13:00 -04:00
Nicholas Nethercote f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Matthew Gregan bd4557d750 Bug 1197049 - Retain stream volume across device changes. r=padenot 2015-08-21 14:46:22 +12:00
Matthew Gregan da63388633 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan 7de719b648 Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan cea13e8bed 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 52219f5e5c Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan 5faa47f98e Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan c953f0aca1 Bug 1195058 - Handle pa_context_new returning NULL in OOM situations. r=padenot 2015-08-18 12:34:15 +12:00
Matthew Gregan 63b1424f7e 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 48d9740581 Bug 1189866 - revert code that accidentally got into bug 1187817 patch 5. r=me. 2015-08-01 13:58:39 +08:00
JW Wang 17e42272cd 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 5988d4015d 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 ac2b9444ba Bug 1103824 - Back out changeset for causing regression reported in bug 1176499. 2015-06-23 17:02:51 -07:00
Matthew Gregan bf4e15de86 Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot
--HG--
extra : rebase_source : 344380ef08d44983c745bea5cee792140ca7ca66
2015-05-14 18:33:23 +12:00
Ted Mielczarek 1c8dfe9741 bug 1171072 - make libcubeb build on iOS. r=kinetik
--HG--
extra : commitid : R5mXVfavLL
extra : rebase_source : 61121b45801e46597047006e9c72e8702a3b0792
2015-02-06 14:50:40 -05:00
Benjamin Chen e787022dbd 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 ddc5295649 Bug 1104643 - Interpolate the audio clock by system clock if the qudio clock is not going forward. r=padenot
--HG--
extra : rebase_source : 819aaab5e8fe182399aaab31ad457819b206df8f
2015-05-05 16:00:14 +08:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Chris Pearce 85e09e9b88 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 af0f3ae86c Bug 1155624 - follow up: MSVC requires including <algorithm> for std::max. CLOSED TREE 2015-04-20 18:41:12 +02:00
Jacek Caban d3b29e6cc5 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 ad1eda7b77 Bug 979705 - Fix typo. 2015-04-20 17:05:26 +02:00
Paul17041993 313bf7beae Bug 979705 - Re-write the upmixing functions in the WASAPI cubeb backend to fix mono audio and surround compatibility. r=padenot
--HG--
extra : source : c511ccad7676e90b0f06cb1d2ee0a7b82eb6d51e
2015-04-20 15:58:27 +02:00
Carsten "Tomcat" Book f857c3a490 Backed out changeset c511ccad7676 (bug 979705) for bustage on a CLOSED TREE 2015-04-20 16:44:41 +02:00
Paul17041993 ad02172e18 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 af76d0abc7 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 63eaf4e78b 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
Matthew Gregan d3ddab98fb Bug 1134977 - Release IAudioStreamVolume when closing WASAPI stream. Refixes bug 1109802. r=padenot 2015-04-02 10:08:07 +13:00
Matthew Gregan e0c1488a4c Bug 1143968 - Allow a cubeb_stream in error to be stopped without triggering a fatal assert. r=padenot 2015-03-18 15:23:19 +13:00
Alexandre Ratchov 22ad88b8fa Bug 1144087 - "Audio glitches on OpenBSD caused by rounding errors." r=kinetik 2015-03-18 12:19:00 +01:00
Matthew Gregan 7395e6dd6c Bug 1142746 - Make unexpected SL_PLAYEVENT_HEADATMARKER notification non-fatal. r=brsun 2015-03-17 13:30:40 +13:00
Ryan VanderMeulen 0f541272f0 Backed out changeset 7a53ee0cc3ae (bug 1136360) for Windows mochitest crashes.
--HG--
extra : rebase_source : 26d25e99c5b375f4e7a440638f897c9ae3b10e94
2015-03-16 15:04:51 -04:00
Paul Adenot 10f63e4d13 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 ee400f62d6 Bug 1136107 - Handle reconfiguring audio device if it went away while the stream was stopped. r=padenot 2015-03-02 18:07:43 +13:00
Matthew Gregan bbfbfbf28c Bug 1135878 - Simply post-error cleanup logic in WASAPI cubeb backend. r=padenot 2015-02-24 13:42:33 +13:00
Matthew Gregan 0bdf32b0cd Bug 1133386 - Introduce an XASSERT() macro to libcubeb rather than (ab)using assert(). r=padenot f=dmajor 2015-02-20 13:42:14 +13:00
Paul Adenot a6a9beffd3 Bug 1124411 - Add timeout when calling WaitForMultipleObjects to wallpaper over a deadlock. r=kinetik 2015-02-19 19:35:07 +13:00
Matthew Gregan eda5e9c69f Bug 1134102 - Move cubeb's stream reconfiguration to render thread. r=padenot 2015-02-18 18:43:07 +13:00
Paul Adenot 67200dd25c Bug 1133190 - Don't use auto_unlock in paths where lock is being destroyed. r=kinetik 2015-02-19 19:35:06 +13:00
Paul Adenot c3491769e4 Bug 1132034 - Properly round the number of frame for the accumulating clock in WASAPI. r=kinetik 2015-02-19 19:35:06 +13:00
Matthew Gregan f7c07beb8f Bug 1134078 - Don't restart stopped cubeb streams when handling device change notifications. r=padenot 2015-02-18 16:06:55 +13:00
Matthew Gregan 8b8ae2538d Bug 1132257 - Update cubeb from upstream. r=padenot 2015-02-17 11:52:59 +13:00
Matthew Gregan 670653d955 Bug 1131788 - cubeb: Unable to use InterlockedAdd64 on MSVC2010 (and mingw). r=padenot 2015-02-10 17:45:00 +13:00
David Major 5e60171da8 Bug 1131871 - auto_com should only uninitialize when successful. r=padenot
--HG--
extra : rebase_source : 4af27a3e50b68ad1ee4d869b1a3bee3eeb4a1141
2015-02-12 10:33:45 +13:00
Paul Adenot c32cf025e7 Bug 1131768 - Unlock before tearing down the stream in case of error, to avoid recursive locking. r=kinetik 2015-02-11 00:12:09 +01:00
Paul Adenot 5098817b4c Bug 1127213 - Fix various issues with the device change notification in the WASAPI cubeb backend. r=kinetik
This patch does the following:
- Introduces an owned_critical_section object to be able to assert that a
  current thread owns a critical section
- Change the auto_lock to use the above, add auto_unlock (basically like the
  Gecko AutoEnter/AutoExit things)
- Fix an issue during audio output device switch where the clock would use the
  old sample rate. Apparently I did not notice this because my headset and the
  sound card on this laptop have the same rate
- Check that we could acquire a device_enumerator in the ctor before
  deallocating in the dtor, as that can happen if a ton of streams are running at
  once (I had this issue running the full mochitest suite)
- Stop getting another device_enumator in unregister_notification_client, fixing a leak
- Assert that setup_wasapi_stream and close_wasapi_stream are called with the lock held, this was the cause of the crash for this bug
- Make close_wasapi_stream clear out its state to make sure setup_wasapi_stream
  and close_wasapi_stream are called in the right order (especially, not two
  setup_wasapi_stream without close in between, since that would leak stuff)
- In wasapi_stream_destroy, unregister the notification client before destroying
  the CRITICAL_SECTION (this was the cause of a crash I duped against this bug)
2015-02-09 14:42:43 +01:00
Carsten "Tomcat" Book b514443060 Backed out changeset 2f46afa97421 (bug 1127213) for another bustage on a CLOSED TREE 2015-02-09 16:51:14 +01:00
Paul Adenot 14201f3594 Bug 1123768 - Backout bug 1108455 to avoid truncating the end of audio streams on Vista+. r=kinetik 2015-02-09 14:43:03 +01:00
Paul Adenot 8b005f3fb1 Bug 1127213 - Fix various issues with the device change notification in the WASAPI cubeb backend. r=kinetik
This patch does the following:
- Introduces an owned_critical_section object to be able to assert that a
  current thread owns a critical section
- Change the auto_lock to use the above, add auto_unlock (basically like the
  Gecko AutoEnter/AutoExit things)
- Fix an issue during audio output device switch where the clock would use the
  old sample rate. Apparently I did not notice this because my headset and the
  sound card on this laptop have the same rate
- Check that we could acquire a device_enumerator in the ctor before
  deallocating in the dtor, as that can happen if a ton of streams are running at
  once (I had this issue running the full mochitest suite)
- Stop getting another device_enumator in unregister_notification_client, fixing a leak
- Assert that setup_wasapi_stream and close_wasapi_stream are called with the lock held, this was the cause of the crash for this bug
- Make close_wasapi_stream clear out its state to make sure setup_wasapi_stream
  and close_wasapi_stream are called in the right order (especially, not two
  setup_wasapi_stream without close in between, since that would leak stuff)
- In wasapi_stream_destroy, unregister the notification client before destroying
  the CRITICAL_SECTION (this was the cause of a crash I duped against this bug)
2015-02-09 14:42:43 +01:00
Paul Adenot 3e77a5e5ed Bug 698079 - Synthetize the clock when using WASAPI to prevent A/V desynchronization issues when switching the default audio output device. r=kinetik
--HG--
extra : rebase_source : c50798149111b680b4565798d33d43e6e062fb2c
2015-01-19 14:17:52 +01:00
Paul Adenot a40d0afff0 Bug 698079 - When using the WASAPI backend, always output audio to the default audio device. r=kinetik
This is implemented by detecting when the default audio output device changes,
stopping the current stream, and starting a new one using the new default audio
output device.

--HG--
extra : rebase_source : 94df344aecca0f940ba7216275176763336beb96
2015-01-19 14:16:36 +01:00
Paul Adenot f1241b66bf Bug 1108455 - r=kinetik 2014-12-16 18:45:40 +01:00
Matthew Gregan 7867c261cc Bug 1109802 - Release IAudioStreamVolume after use in libcubeb's WASAPI backend. r=padenot 2014-12-11 12:17:19 +13:00
Matthew Gregan 73ffa2d5f9 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 6a47f77739 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 652f34cb02 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 47c853314f 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 6e1614d69b 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 49a6738249 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 a7457c180c Bug 1074004 - Fix WebMioData implementation in TestWebMWriter. r=giles 2014-09-29 13:13:21 +13:00
JW Wang 4b96ebb38c 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 6f90e2262a Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted 2014-09-24 19:11:58 +02:00