Commit Graph

293 Commits

Author SHA1 Message Date
Landry Breuil
d7b696d54c 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
ae2decfeda Bug 928615 - Pass valid pointer to waveOutGetDevCaps. r=padenot 2013-10-21 14:19:05 +13:00
Paul Adenot
4c8c44228f 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
ececd6c386 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
6d4e01d3c2 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
3ab666560e Bug 899050 - Add rudimentary support for multichannel files when using WASAPI. r=kinetik 2013-10-12 13:53:11 -04:00
Paul Adenot
1165a8cfdd 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
ac7c2e3abd Backed out changeset 58dbd84ae828 (bug 917246) for crashes on a CLOSED TREE 2013-09-17 17:24:30 +01:00
Ed Morley
94fdad4a1d Backed out changeset 7d17f2d129e3 (bug 881959) 2013-09-17 17:14:26 +01:00
Ed Morley
a8fe3b72e1 Backed out changeset 7469a58a5f3d (bug 908669) 2013-09-17 17:14:23 +01:00
Paul Adenot
b9e4f4113e Bug 908669 - Remove an unrelated chunk that sneaked in, on a CLOSED TREE. 2013-09-17 17:30:30 +02:00
Paul Adenot
8f2783b9fe Bug 881959 - Fix inbound bustage on XP again, on a CLOSED TREE. 2013-09-17 17:25:33 +02:00
Paul Adenot
0d3b9c3113 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
71aa4ff23c 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
4abe2b9d25 Backed out changeset acf80b86d630 (bug 904617) for compilation failures 2013-09-16 08:44:44 +01:00
Ed Morley
77ff767b7d Backed out changeset a317a2d59ed5 (bug 904617) 2013-09-16 08:43:37 +01:00
Paul Adenot
7f3a3729b9 Bug 904617: Part 4 - Add windows wasapi latency entries for cubeb r=kinetik 2013-09-16 03:26:31 -04:00
Paul Adenot
d480d1b82e Bug 904617: Part 1 - Add a way to get cube latency r=kinetik 2013-09-16 03:25:54 -04:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
bdfaa84f5b 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
54f5b5ae26 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
a4e67abf5e Bug 897921 - Remove some dead assignments in makefiles; r=mshal 2013-08-02 09:03:55 +02:00
Ehsan Akhgari
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Paul Adenot
50350a9383 Bug 893307 - Handle surround speaker setups when using the WASAPI cubeb backend. r=kinetik 2013-07-26 14:17:30 +02:00
Michael Wu
f64248cf41 Bug 889652 - Add support for building with pulseaudio support on gonk, r=glandium,kinetik 2013-07-17 15:01:42 -04:00
Michael Wu
a90a7c5677 Update libcubeb to pick up bug 895378 (r=kinetik) and bug 889652 (r=kinetik) 2013-07-19 21:16:41 -04:00
Jacek Caban
0b3661c310 Bug 893540 - Update cubeb to recent version (fixes mingw compilation). r=padenot 2013-07-15 13:39:43 +02:00
Paul Adenot
e76036feda Bug 866675 - Add a WASAPI backend to cubeb. r=kinetik 2013-07-09 11:59:47 +02:00
Brian O'Keefe
11bcc1cd9e 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
d2f909144d Bug 865244 - Bustage fix again, on a CLOSED TREE. 2013-06-10 21:43:05 +02:00
Paul Adenot
215c801905 Bug 865244 - Fix bustage on Android. 2013-06-10 19:58:14 +02:00
Paul Adenot
0ba5918cf5 Bug 865244 - Update in-tree cubeb to have cubeb_get_max_channels. r=kinetik 2013-06-10 19:32:28 +02:00
Joey Armstrong
05956ba0cd bug 870406: move CSRCS to mozbuild (config batch #2) r=mshal 2013-06-04 11:08:44 -04:00
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ted Mielczarek
3cfd62c3d2 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
309c03f3b5 Bug 867871 - Support building cubeb opensles backend on JB, r=kinetik 2013-05-01 21:43:55 -04:00
Paul Adenot
480557614f 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
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Paul Adenot
d77643f51a Bug 859805 - Fix bustage. 2013-04-12 16:13:41 +02:00
Paul Adenot
9687e79ef5 Bug 859805 - Make libcubeb work on Android 2.3. r=kinetik 2013-04-12 14:50:02 +02:00
Wes Johnston
2fb4020107 Bug 809558 - Turn on audiochannels for Android AudioTrack. r=kinetic 2013-04-11 15:37:35 -07:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 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
334c0800cf 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
173b19e7f1 Bug 853077 - Don't queue empty buffers in the opensles cubeb backend, r=kinetik 2013-03-25 18:16:31 -04:00
Michael Wu
a9f2f659de Bug 852966 - Free audio buffers when freeing stream in opensl cubeb backend, r=kinetik 2013-03-20 18:31:36 -04:00
Gregory Szorc
89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Landry Breuil
dc0dc4bc30 Bug 851149 - Fix cubeb_sndio build after switchable-backends landing. r=kinetik 2013-03-15 16:28:07 +13:00
Paul Adenot
0994e31e10 Bug 698328 - Add a new cubeb backend based on AudioTrack.cpp. r=kinetik 2013-03-13 19:36:46 +01:00
Phil Ringnalda
d0d78e1063 Back out 0044e4c2dc53 (bug 851149), 3080f18ba53d (bug 698328), 0b147c3f682b (bug 850713) for Android bustage
CLOSED TREE
2013-03-14 21:19:40 -07:00
Landry Breuil
5d4108bc84 Bug 851149 - Fix cubeb_sndio build after switchable-backends landing. r=kinetik
--HG--
extra : rebase_source : 6130904c7e96e4a942eeaf87723d6766d70c3b55
2013-03-15 16:28:07 +13:00
Paul Adenot
7cac48124a Bug 698328 - Add a new cubeb backend based on AudioTrack.cpp. r=kinetik
--HG--
extra : rebase_source : ec59b20cc746e052c1627285929138f34a349c00
2013-03-13 19:36:46 +01:00
Marco Chen
a598ed8dc0 Bug 839415 - [Audio] Add support of SLAndroidConfigurationItf into backend of Cubeb + OpenSLES. r=kinetik 2013-03-12 11:46:32 +08:00
Matthew Gregan
95a1fe0680 Bug 837564 - Implement switchable backends for cubeb. r=padenot 2013-03-08 17:51:59 +13:00
Gregory Szorc
2fa6d9d925 Bug 784841 - Part 18u: Convert /media; r=glandium 2013-02-25 12:47:22 -08:00
Marco Chen
2c2cf35e0a Bug 839007 - Destroy outMix & engine before closing the openSLES lib. r=kinetik 2013-02-20 18:56:32 +08:00
Matthew Gregan
488cbf6168 Bug 842176 - Partial revert of bug 839319; use WAVE_FORMATEX when channels <= 2. r=doublec 2013-02-18 15:06:30 +13:00
Matthew Gregan
ecd6a178ef Bug 752401 - Drain timing and error handling fixes for PulseAudio cubeb backend. r=doublec,jesup 2013-02-04 17:58:29 +13:00
Matthew Gregan
aa5551739a Bug 839319 - Initialize WAVE_FORMAT_EXTENSIBLE correctly in cubeb winmm backend. r=doublec 2013-02-08 14:00:24 +13:00
Matthew Gregan
023547f5e6 Bug 818364 - Update libcubeb to 0.2. r=doublec 2012-12-05 17:20:47 +13:00
Matthew Gregan
6d7b9bf264 Bug 797517 - Switch order of cubeb WinMM latency kludges. r=doublec 2012-11-19 11:41:32 +13:00
Jan Beich
0fa18fa36a Bug 807683 - Convert ALSA to a configure option. r=khuey 2012-11-26 20:38:21 -05:00
Matthew Gregan
23815ea3d0 Bug 788005 - Work around Vista's higher latency requirements in WinMM. r=doublec 2012-11-13 18:19:00 +13:00
Matthew Gregan
cea3e17458 Bug 779392 - Improve cubeb_alsa workaround for bug 761274. r=doublec 2012-11-13 18:09:10 +13:00
Matthew Gregan
40e3745cb6 Bug 805352 - Make cubeb_stream_destroy errors non-fatal in AudioUnit backend. r=doublec 2012-10-26 17:09:12 +13:00
Matthew Gregan
835308e5d2 No bug - Update media/libcubeb's import script to include upstreamed OpenSL backend.
--HG--
extra : rebase_source : 522aed702afc506555ed62a6b903b2bd2c4c314a
2012-10-23 17:22:10 +13:00
Matthew Gregan
f996fdbef1 Bug 778675 - Make cubeb_stream_init errors non-fatal in AudioUnit backend. r=doublec 2012-10-18 18:03:45 +13:00
Michael Wu
9cf7fe3bbd Bug 792109 - Generate an outmix per opensl cubeb context not stream, r=kinetik 2012-09-19 13:51:34 -04:00
Michael Wu
74b74d66d7 Bug 791269 - dlopen opensl library, r=kinetik 2012-09-15 15:52:34 -04:00
Michael Wu
0976560f44 Bug 788402 - Improve queue handling in opensl backend, r=kinetik 2012-09-13 14:34:54 -04:00
Michael Wu
a2f4fba3b5 Bug 694484 - OpenSL backend for libcubeb, r=kinetik 2012-09-04 17:45:08 -03:00
Matthew Gregan
6e84e4fd57 Bug 778675 - Add some more logging to debug a cubeb_audiounit test failure. 2012-09-03 13:18:42 +12:00
Matthew Gregan
1277af9c08 Bug 778675 - Add some logging to debug a cubeb_audiounit test failure. 2012-08-17 17:16:35 +12:00
Matthew Gregan
ceb96ddab3 Bug 761917 - Fail when stream restart is attempted on a dead PCM. r=doublec 2012-08-16 18:48:40 +12:00
Jan Beich
9237dae01b Bug 780432 - Explicitly pass CFLAGS for ALSA and PulseAudio. r=kinetik
--HG--
extra : rebase_source : 829d51b17390d44fa31b786408e632844ad12473
2012-08-08 10:27:44 +12:00
Jan Beich
d7bf07283f Bug 780432 - Add experimental --enable-pulseaudio configure option. r=kinetik,khuey
--HG--
extra : rebase_source : 9bf00787997d4ed465427e6570c5d937c1cb9ff4
2012-08-08 10:26:04 +12:00
Matthew Gregan
4a025b6513 Bug 779187 - Fix nsBufferedAudioStream's sample format selection for big endian machines. r=doublec 2012-08-06 15:26:41 +12:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Matthew Gregan
7c54dee4c4 Bug 761274 - Work around buffer sizing bug in PulseAudio ALSA plugin. r=doublec 2012-07-16 17:15:24 -04:00
Matthew Gregan
209519736f Bug 757034 - Add sndio to cubeb update.sh. 2012-06-02 19:16:32 +12:00
Landry Breuil
4ba2f1c06a Bug 757034 - Import openbsd cubeb sndio backend. r=kinetik 2012-06-02 19:10:42 +12:00
Matthew Gregan
b4e55eeefb Bug 759677 - Increase cubeb_run_thread stack size to avoid blowing the stack with some ALSA configurations. r=doublec 2012-06-02 19:09:27 +12:00
Matthew Gregan
cadf177fc3 Bug 756944 - Import ALSA cubeb backend. r=doublec 2012-05-21 15:54:17 +12:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matthew Gregan
e80c8caef9 Bug 747793 - Use a ring buffer for audio buffered by nsBufferedAudioStream. Remove generic sample copy out with volume adjustment and replace with the lightly optimized version from nsNativeAudioStream. Add a fast path for the unity volume case. Bump cubeb's refill thread priority on Win32. r=cpearce 2012-05-03 16:48:54 +12:00
Matthew Gregan
ecdebc1da8 Bug 751030 - Import PulseAudio backend for cubeb (NPOTB). r=mwu 2012-05-02 16:24:36 +12:00
Matthew Gregan
b7d73586bb Bug 742160 - Import AudioUnit cubeb backend. r=doublec 2012-04-16 15:04:42 +12:00
Matthew Gregan
2152e9f321 Bug 742154 - Work around media crashtest shutdown hang in cubeb_winmm. r=cpearce 2012-04-16 15:00:40 +12:00
Jacek Caban
1e53ec0bd9 Bug 740324 - cubeb_winmm.c fails to compile on GCC r=jimm 2012-03-30 13:26:32 +02:00
Jim Mathies
93ef4685f4 Bug 731807 - Fix for error building with VC11 - 'ksguid.lib' not found. r=khuey 2012-03-27 08:36:57 -05:00
Justin Lebar
69fb6f1047 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Matthew Gregan
576ad01988 Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey 2012-01-13 14:38:39 +13:00