Nathan Froyd
52e2e05296
Bug 1055141 - use a UniquePtr for AudioStream's mCubebStream member; r=kinetik
2014-08-18 13:12:08 -04:00
JW Wang
ab70178851
Bug 1046756 - Wait until AudioInitTask finished before proceeding to Shutdown(). r=kinetik
2014-08-13 20:08:00 -04:00
Paul Adenot
c8c196a723
Bug 1046470 - Only reset low latency stream, and properly unlock the Mutex. r=jesup
2014-08-01 14:12:10 +02:00
Paul Adenot
b91a3b3a98
Bug 1023947 - Part 3 - Reset the output AudioStream when switching to an audio input device that uses the headphone jack on osx. r=jesup
2014-07-18 19:22:03 +02:00
Paul Adenot
508c71953a
Bug 1023947 - Part 1 - Drop frame instead of buffering them when we are swiching device. r=jesup
2014-07-18 19:20:00 +02:00
Paul Adenot
b2c10649c1
Bug 1027713 - Part 4 - Pan audio to the right when we are using gUM and outputing sound using MacBookPro speakers. r=jesup
2014-07-29 18:45:03 +02:00
Paul Adenot
90c7b668ff
Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik
2014-07-29 18:45:02 +02:00
Wes Kocher
04a9c3cb26
Backed out 8 changesets (bug 1023947, bug 1027713) for frequent Cppunit test failures
...
Backed out changeset 03edb1ab3182 (bug 1027713)
Backed out changeset ad05dc816fa0 (bug 1023947)
Backed out changeset a56aad94c7c9 (bug 1023947)
Backed out changeset 63af4528bd9c (bug 1023947)
Backed out changeset b6bb38846333 (bug 1027713)
Backed out changeset c0045bb1849e (bug 1027713)
Backed out changeset 274b2b25d167 (bug 1027713)
Backed out changeset e0bba6f4966f (bug 1027713)
2014-07-24 13:57:03 -07:00
Paul Adenot
9944fe8ee3
Bug 1023947 - Part 3 - Reset the output AudioStream when switching to an audio input device that uses the headphone jack on osx. r=jesup
...
--HG--
extra : rebase_source : 7b7bc135dbc5ea9d2b76738ff3fc57cbb962eed2
2014-07-18 19:22:03 +02:00
Paul Adenot
637f84f99a
Bug 1023947 - Part 1 - Drop frame instead of buffering them when we are swiching device. r=jesup
...
--HG--
extra : rebase_source : 9e5f70c2c8aa9bc826e8bee561285da5220bf895
2014-07-18 19:20:00 +02:00
Paul Adenot
8c440dbba5
Bug 1027713 - Part 4 - Pan audio to the right when we are using gUM and outputing sound using MacBookPro speakers. r=jesup
...
--HG--
extra : rebase_source : d77a3e6d17b237dc46301a34ed36b6d3e8e0aeda
2014-07-24 17:05:23 +02:00
Paul Adenot
876688d0d4
Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik
...
--HG--
extra : rebase_source : c94c9f6792c002d515f2fee0cf708928e76f91a8
2014-07-24 17:05:23 +02:00
Matthew Gregan
47c6cac901
Bug 948269 - Refactor MediaDecoderStateMachine::AudioLoop into a standalone AudioSink class. r=cpearce
2013-12-11 18:03:30 +13:00
JW Wang
96b561801d
Bug 1020538 - Fix frame position adjustment algorithm in AudioStream. r=kinetik
2014-06-26 14:56:23 +12:00
Benoit Jacob
59535f575b
Bug 1027251 - Fix or whitelist dangerous public destructors in content/media - r=cpearce
2014-06-20 07:08:24 -04:00
Randell Jesup
7683f60604
Bug 1006641: add telemetry for AudioStream open times r=jib
2014-06-04 14:52:32 -04:00
JW Wang
54b86897a5
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
df234f1d00
Bug 921622 - AudioStream rework. r=padenot
2014-05-21 03:28:22 -04:00
Randell Jesup
a39021aa83
Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg
2014-04-22 15:32:13 -04:00
Eric Rahm
314e9711f0
Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn
2014-04-13 11:08:10 -07:00
Randell Jesup
b945edf9dc
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
1977552fae
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
4266c27429
Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent
2014-04-10 18:39:20 +01:00
Carsten "Tomcat" Book
ae409227bd
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
190cf6a2a2
Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent
2014-04-10 11:49:23 +01:00
Wes Kocher
3053bbf32b
Backed out changeset 2e2c930a960c (bug 948269) for android 4.0 mochitest-2 permaorange
2013-12-19 19:24:42 -08:00
Matthew Gregan
f06a701660
Bug 948269 - Split MediaDecoderStateMachine::AudioLoop out into new AudioSink class. r=cpearce
2013-12-20 13:52:06 +13:00
Alexandros Chronopoulos
997a41c02c
Bug 911482 - Perform audio downmix inside AudioStream class. r=rillian
2013-09-26 22:06:59 +03:00
Paul Adenot
2d7afabc14
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
45ee5216e9
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
732a48c7f8
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
e004ec8ac0
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Matthew Gregan
a5ea556613
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
01aa87182d
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
2ca1434c82
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Benjamin Peterson
02f058e57a
backout dc9ebdf27e98 (bug 942657) for bustage
2013-11-28 20:50:16 -06:00
Matthew Gregan
93237d768e
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Paul Adenot
7f90ed61c6
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
25107fe5c3
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
6540e33b98
backout 5f38b1bd3358 for bustage CLOSED TREE
2013-10-25 19:25:54 -04:00
Randell Jesup
f299c1fdbc
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
Paul Adenot
6a1e6061fb
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
5d07a5937b
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
4127d9fdaa
Bug 917491: Guarantee cleanup of AsyncLatencyLogger on xpcom-shutdown r=bsmedberg
2013-09-24 22:10:24 -04:00
Ehsan Akhgari
210ba12d7c
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-05 16:25:17 -04:00
Ehsan Akhgari
45746b149c
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
66abd6bfb5
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-04 17:58:14 -04:00
Paul Adenot
502d1c06bb
Bug 865244 - Expose the maximum channel count in the AudioStream. r=kinetik
2013-06-10 19:32:28 +02:00
Paul Adenot
9feb56ad34
Bug 825329 - Fix a stupid error in playbackRate. r=kinetik
2012-12-28 23:01:38 +01:00
Matthew Gregan
92db67a1a7
Bug 852401 - Remove sydneyaudio. r=doublec
...
--HG--
rename : media/libsydneyaudio/src/gonk/AudioSystem.h => dom/system/gonk/android_audio/AudioSystem.h
rename : media/libsydneyaudio/src/gonk/AudioTrack.h => dom/system/gonk/android_audio/AudioTrack.h
rename : media/libsydneyaudio/src/gonk/EffectApi.h => dom/system/gonk/android_audio/EffectApi.h
rename : media/libsydneyaudio/src/gonk/IAudioFlinger.h => dom/system/gonk/android_audio/IAudioFlinger.h
rename : media/libsydneyaudio/src/gonk/IAudioFlingerClient.h => dom/system/gonk/android_audio/IAudioFlingerClient.h
rename : media/libsydneyaudio/src/gonk/IAudioRecord.h => dom/system/gonk/android_audio/IAudioRecord.h
rename : media/libsydneyaudio/src/gonk/IAudioTrack.h => dom/system/gonk/android_audio/IAudioTrack.h
rename : media/libsydneyaudio/src/gonk/IEffect.h => dom/system/gonk/android_audio/IEffect.h
rename : media/libsydneyaudio/src/gonk/IEffectClient.h => dom/system/gonk/android_audio/IEffectClient.h
2013-03-19 17:12:36 +13:00