Matthew Gregan
3357c9afe3
Bug 948269 - Refactor MediaDecoderStateMachine::AudioLoop into a standalone AudioSink class. r=cpearce
2013-12-11 18:03:30 +13:00
JW Wang
e3558ea421
Bug 1020538 - Fix frame position adjustment algorithm in AudioStream. r=kinetik
2014-06-26 14:56:23 +12:00
Wes Kocher
f6bae13ecb
Merge m-c to inbound on a CLOSED TREE
2014-06-04 18:48:20 -07: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
Randell Jesup
cb5c9db6c9
Bug 1006641: add telemetry for AudioStream open times r=jib
2014-06-04 14:52:32 -04:00
JW Wang
f163f19314
Bug 1008057 - fix the stream position adjustment algorithm in AudioStream::GetPositionInFramesUnlocked so it won't over-adjust the position and result in audio clock going backward. r=kinetik.
2014-05-28 01:52:00 +02:00
Randell Jesup
8d3a546993
Bug 921622 - AudioStream rework. r=padenot
2014-05-21 03:28:22 -04:00
Randell Jesup
1f9314c7a8
Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg
2014-04-22 15:32:13 -04:00
Eric Rahm
0c4d54b70f
Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn
2014-04-13 11:08:10 -07:00
Randell Jesup
7164e62f23
Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg
2014-04-17 15:13:44 -04:00
Randell Jesup
2e6f61e3bb
Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg
2014-04-16 16:39:16 -04:00
Randell Jesup
cec7b451da
Bug 919215: Drop queued audio data on low-latency startup, make AudioStream::Init() async r=roc,padenot
2014-04-09 15:59:07 -04:00
Andrea Marchesini
eaa3ff4eed
Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent
2014-04-10 18:39:20 +01:00
Carsten "Tomcat" Book
d8cac0a0f4
Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE
2014-04-10 13:18:18 +02:00
Andrea Marchesini
e7f2c01a1a
Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent
2014-04-10 11:49:23 +01:00
Michael Pruett
558552bcd5
Bug 847827 - Update libsoundtouch to allow changing playback rate with multichannel audio. r=padenot
...
--HG--
extra : rebase_source : ebf10737b048ae3280b9a7706f701337211b2880
2014-04-10 10:37:07 +02:00
Karl Tomlinson
8f6f9169cb
b=966867 don't overwrite preferred sample rate with default r=kinetik
...
--HG--
extra : transplant_source : /S%9D/%BC%80%E0%E3%C3%11%E7%EA%D4%BB%F3%D7%AD%06%B7%25
2014-02-03 17:40:03 +13:00
Wes Kocher
9cc0508903
Backed out changeset 2e2c930a960c (bug 948269) for android 4.0 mochitest-2 permaorange
2013-12-19 19:24:42 -08:00
Matthew Gregan
70951c26f6
Bug 948269 - Split MediaDecoderStateMachine::AudioLoop out into new AudioSink class. r=cpearce
2013-12-20 13:52:06 +13:00
Alexandros Chronopoulos
d471b465db
Bug 911482 - Perform audio downmix inside AudioStream class. r=rillian
2013-09-26 22:06:59 +03:00
Paul Adenot
58cae1ed05
Bug 944707 - Stop locking when getting the preferred samplerate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : bbf7b305d13f252e7c743bb9abf12da078db865b
2013-12-09 20:54:49 +01:00
Paul Adenot
8d8f7eeda7
Bug 916384 and 944707 - Backed out fa872452b89d and 012b1baf2b19 for crashes on a CLOSED TREE.
2013-12-11 16:31:35 +01:00
Paul Adenot
2b28bb15ba
Bug 944707 - Stop locking when getting the preferred sample rate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : f2b5be30c25d71cfdb259cb5035335fb4e8a415c
2013-12-09 20:54:49 +01:00
Ehsan Akhgari
d4490ee3c7
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Matthew Gregan
9d3c6097af
Backed out changeset 66be4716e86e (bug 944707) for regressing lazy libcubeb initialization, startup time, and causing bug 946037.
2013-12-09 11:49:25 +13:00
Paul Adenot
1aa9205cb3
Bug 944707 - Stop locking when getting the preferred samplerate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : 7c9f858a63c41037fd44a85457cbf401f63c07a9
2013-12-02 15:58:11 +01: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
Paul Adenot
bb61e5a5d6
Bug 919215 - Start the AudioStream on creation when in low-latency mode, and let it underrun. r=roc
...
The BufferedAudioStream buffers the data it gets through the Write() calls and
what is consumed by the callback. This means that if the audio producer starts
Write()ing data right after Start()ing the stream, data will accumulate in this
buffer and won't be consumed. Eventually, the buffer will be of a certain size
before it begins to be consumed by the callback, and this means an
umcompressible latency (because the data will be written at more or less the
same rate as it is produced).
This patch start the BufferedAudioStream right away when it is created, dropping
the silent AudioSegment until it finds real data (and padding with silence is
then done at the beginning). The stream will underrun, but the callback will
synthetize silence, avoiding overbuffering in the BufferedAudioStream. This
ensures minimal latency cause by the buffering.
Note that the clock will still advance, so this will not change the behavior of
content that has leading silence.
2013-11-19 10:43:15 +13:00
Randell Jesup
ee8e35ca44
Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot
2013-10-25 18:13:42 -04:00
Randell Jesup
345ac3892d
backout 5f38b1bd3358 for bustage CLOSED TREE
2013-10-25 19:25:54 -04:00
Randell Jesup
2e3491f74c
Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot
2013-10-25 18:13:42 -04:00
Daniel Holbert
11f52e28e2
Bug 930532: Adjust '#if defined(MOZ_CUBEB)' checks to include cubeb-only static functions in AudioStream.cpp, to fix build warnings in non-cubeb builds. r=padenot
2013-10-24 17:26:19 +02:00
Daniel Holbert
a4e08580e0
Bug 928547: Change AudioStream cubeb-dependent logic to handle success cases first, so we can add #ifdef that ends in failure case. r=padenot
2013-10-23 17:44:13 +02:00
Paul Adenot
7e0682e3c8
Bug 918861 - Expose a better samplerate though the AudioStream interface. r=kinetik
...
--HG--
extra : rebase_source : d085d173aeb00f47f56016c0a1d1bf7fe11fb6f3
2013-10-17 15:44:52 +02:00
Paul Adenot
2ecd0a5c7e
Bug 907817 - Allow AudioStream users to pass-in latency requirements. r=kinetik
...
--HG--
extra : rebase_source : 3cf1971913b3cfd8000c58614b0d0be8b7805af0
2013-10-17 15:44:52 +02:00
Randell Jesup
f6a1a85cec
Bug 917491: Guarantee cleanup of AsyncLatencyLogger on xpcom-shutdown r=bsmedberg
2013-09-24 22:10:24 -04:00
Paul Adenot
7a97c91578
Bug 904617: Part 3 - Log latency, and adds a python script to understand the log r=padenot,jesup,ehugg
2013-01-28 19:22:37 +01:00
Paul Adenot
d8cc1467bd
Bug 904617: Part 2 - Expose Audio Stream Latency r=padenot,jesup
2013-09-17 02:39:30 -04:00
Ed Morley
a8ecbf9270
Backed out changeset 9cc6dd50c93a (bug 904617)
2013-09-16 08:43:56 +01:00
Ed Morley
504f2b3fae
Backed out changeset 81cee5ae7973 (bug 904617)
2013-09-16 08:43:47 +01:00
Paul Adenot
ea33beeb7a
Bug 904617: Part 3 - Log latency, and adds a python script to understand the log r=padenot,jesup
2013-01-28 19:22:37 +01:00
Paul Adenot
b435bed8ae
Bug 904617: Part 2 - Expose Audio Stream Latency r=padenot,jesup
2013-09-16 03:26:04 -04:00
Ehsan Akhgari
143454cc1a
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-05 16:25:17 -04:00
Ehsan Akhgari
92ad73ef93
Backed out changeset 2f15518f566e (bug 912702) because of B2G JB Emulator build bustage
...
--HG--
extra : rebase_source : 6c01ad3bc2f91b0e7e3edab84aedbfe064310a8b
2013-09-05 13:29:38 -04:00
Ehsan Akhgari
be1e68caf3
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-04 17:58:14 -04:00
Masatoshi Kimura
af2068ecf9
Bug 859022 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/media. r=roc
2013-06-27 20:30:41 +09:00
Ehsan Akhgari
0cae3ba5bd
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Paul Adenot
4042de8a8d
Bug 865244 - Expose the maximum channel count in the AudioStream. r=kinetik
2013-06-10 19:32:28 +02:00