Commit Graph

143 Commits

Author SHA1 Message Date
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
Gregory Szorc
09e7b06723 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
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Landry Breuil
ef9ad97952 Bug 851149 - Fix cubeb_sndio build after switchable-backends landing. r=kinetik 2013-03-15 16:28:07 +13:00
Paul Adenot
a2b7c56784 Bug 698328 - Add a new cubeb backend based on AudioTrack.cpp. r=kinetik 2013-03-13 19:36:46 +01:00
Phil Ringnalda
4f7b6b562a 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
ba16f23ad6 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
84e2f21337 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
2f154ff82a Bug 839415 - [Audio] Add support of SLAndroidConfigurationItf into backend of Cubeb + OpenSLES. r=kinetik 2013-03-12 11:46:32 +08:00
Matthew Gregan
487ab4ba4e Bug 837564 - Implement switchable backends for cubeb. r=padenot 2013-03-08 17:51:59 +13:00
Gregory Szorc
fbba84d69e Bug 784841 - Part 18u: Convert /media; r=glandium 2013-02-25 12:47:22 -08:00
Marco Chen
a37a26ce2c Bug 839007 - Destroy outMix & engine before closing the openSLES lib. r=kinetik 2013-02-20 18:56:32 +08:00
Matthew Gregan
5d6eaa1ca9 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
6d497ec059 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
1d5f0aa655 Bug 839319 - Initialize WAVE_FORMAT_EXTENSIBLE correctly in cubeb winmm backend. r=doublec 2013-02-08 14:00:24 +13:00
Matthew Gregan
57e243db3e Bug 818364 - Update libcubeb to 0.2. r=doublec 2012-12-05 17:20:47 +13:00
Matthew Gregan
1c69ff1f7b Bug 797517 - Switch order of cubeb WinMM latency kludges. r=doublec 2012-11-19 11:41:32 +13:00
Jan Beich
e6f9803bf5 Bug 807683 - Convert ALSA to a configure option. r=khuey 2012-11-26 20:38:21 -05:00
Matthew Gregan
50843d2e4c Bug 788005 - Work around Vista's higher latency requirements in WinMM. r=doublec 2012-11-13 18:19:00 +13:00
Matthew Gregan
1818762288 Bug 779392 - Improve cubeb_alsa workaround for bug 761274. r=doublec 2012-11-13 18:09:10 +13:00
Matthew Gregan
cc30487cfd Bug 805352 - Make cubeb_stream_destroy errors non-fatal in AudioUnit backend. r=doublec 2012-10-26 17:09:12 +13:00
Matthew Gregan
8679053e85 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
58eb48540b Bug 778675 - Make cubeb_stream_init errors non-fatal in AudioUnit backend. r=doublec 2012-10-18 18:03:45 +13:00
Michael Wu
9bbdf52cab Bug 792109 - Generate an outmix per opensl cubeb context not stream, r=kinetik 2012-09-19 13:51:34 -04:00
Michael Wu
f1dfdbbad0 Bug 791269 - dlopen opensl library, r=kinetik 2012-09-15 15:52:34 -04:00
Michael Wu
304335b415 Bug 788402 - Improve queue handling in opensl backend, r=kinetik 2012-09-13 14:34:54 -04:00
Michael Wu
d165dedcc9 Bug 694484 - OpenSL backend for libcubeb, r=kinetik 2012-09-04 17:45:08 -03:00
Matthew Gregan
009e79b3eb Bug 778675 - Add some more logging to debug a cubeb_audiounit test failure. 2012-09-03 13:18:42 +12:00
Matthew Gregan
bd910b928e Bug 778675 - Add some logging to debug a cubeb_audiounit test failure. 2012-08-17 17:16:35 +12:00
Matthew Gregan
8af8793f29 Bug 761917 - Fail when stream restart is attempted on a dead PCM. r=doublec 2012-08-16 18:48:40 +12:00
Jan Beich
473317e3a9 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
9cc81dcf5d 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
e274db737a Bug 779187 - Fix nsBufferedAudioStream's sample format selection for big endian machines. r=doublec 2012-08-06 15:26:41 +12:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Matthew Gregan
9ae4b13c59 Bug 761274 - Work around buffer sizing bug in PulseAudio ALSA plugin. r=doublec 2012-07-16 17:15:24 -04:00
Matthew Gregan
2d215348c1 Bug 757034 - Add sndio to cubeb update.sh. 2012-06-02 19:16:32 +12:00
Landry Breuil
28782d202a Bug 757034 - Import openbsd cubeb sndio backend. r=kinetik 2012-06-02 19:10:42 +12:00
Matthew Gregan
ba35fa8f59 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
806cc4fe30 Bug 756944 - Import ALSA cubeb backend. r=doublec 2012-05-21 15:54:17 +12:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matthew Gregan
b9b643548f 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
8c53d6f7dc Bug 751030 - Import PulseAudio backend for cubeb (NPOTB). r=mwu 2012-05-02 16:24:36 +12:00
Matthew Gregan
b5111a2ca4 Bug 742160 - Import AudioUnit cubeb backend. r=doublec 2012-04-16 15:04:42 +12:00
Matthew Gregan
c6d2de46e7 Bug 742154 - Work around media crashtest shutdown hang in cubeb_winmm. r=cpearce 2012-04-16 15:00:40 +12:00
Jacek Caban
6c1ff32885 Bug 740324 - cubeb_winmm.c fails to compile on GCC r=jimm 2012-03-30 13:26:32 +02:00
Jim Mathies
515eed55ec Bug 731807 - Fix for error building with VC11 - 'ksguid.lib' not found. r=khuey 2012-03-27 08:36:57 -05:00
Justin Lebar
b682bbe4a5 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
99c543fe5d Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey 2012-01-13 14:38:39 +13:00