Commit Graph

14 Commits

Author SHA1 Message Date
Sylvestre Ledru
804b8b8883 Bug 1204606 - Reformat of dom/media r=jya
# skip-blame

Differential Revision: https://phabricator.services.mozilla.com/D12251

--HG--
extra : moz-landing-system : lando
2018-11-19 13:25:37 +00:00
Karl Tomlinson
ad45a8d475 Bug 1500238 correct mono-to-stereo panning at centre position r=padenot
and re-use input buffer instead of copying.

Depends on D9211

Differential Revision: https://phabricator.services.mozilla.com/D9212

--HG--
extra : moz-landing-system : lando
2018-10-19 09:25:27 +00:00
alwu
6ac9eb0021 Bug 1496496 - part1 : add IsAudible() to detect audible data. r=padenot
Add method to help us know whether audio block is audible or not, so that we won't
show the sound indicator for silent web audio.

Differential Revision: https://phabricator.services.mozilla.com/D7819

--HG--
extra : moz-landing-system : lando
2018-10-11 18:17:41 +00:00
Karl Tomlinson
d7e9aa7cc4 bug 1172979 use AutoTArray for AudioChunk::mChannelData to reduce allocations r=padenot
MozReview-Commit-ID: wabk0WlLv5

--HG--
extra : rebase_source : c7477c47a50c46ffdb3f3b10c9497eaec1bf02dd
2017-08-11 11:54:36 +12:00
Karl Tomlinson
2cec449882 bug 1172979 correct mBufferIsDownstreamRef documentation r=padenot
MozReview-Commit-ID: B0imfszv4CA

--HG--
extra : rebase_source : d44c842c377f939f05a3ddf4153f59e90b271688
2017-08-10 16:55:05 +12:00
Karl Tomlinson
82019c145c bug 1205540 initialize mBufferFormat when constructing silent block r=padenot
This makes an AudioBlock valid for code testing mBufferFormat without IsNull(),
without the need for explicit SetNull().

This is useful so that setting AudioNodeStream::mLastChunks each iteration is
not required for inactive nodes.

--HG--
extra : rebase_source : 171b7339bfe91e15b070f03bd5e0b784b58a217a
2015-09-21 11:37:55 +12:00
Karl Tomlinson
99e730c642 bug 1203380 add custom AudioBlock copy constructor and make AudioChunk conversion constructor explicit r=padenot
Making the conversion constructor explicit means that it will be obvious if
a temporary is created to pass an AudioChunk as an AudioBlock parameter.

--HG--
extra : rebase_source : 54bf8acdb42499a0e0d66cfc138ff6fb6f1ef4da
2015-09-10 09:29:34 +12:00
Karl Tomlinson
965591c713 bug 1203380 add custom assignment operator to AudioBlock r=padenot
--HG--
extra : rebase_source : 620bcfe8e7841ab1b19790abbf4df87a3e083c35
2015-09-10 08:39:12 +12:00
Karl Tomlinson
99d66c32cb bug 1203380 tighten not-sharing assertion in ChannelFloatsForWrite() r=padenot
--HG--
extra : rebase_source : 5206ae1ae59bade7f2b40400e0f851bf26df5d9c
2015-09-10 09:01:55 +12:00
Karl Tomlinson
bae5d8a742 bug 1203380 ClearDownstreamMark() before returning AsMutableChunk() r=padenot
--HG--
extra : rebase_source : ddc5b3f2ec5238688bc13ed7d4c007fe91f42b85
2015-09-10 14:47:31 +12:00
Karl Tomlinson
4852256c3a bug 1197028 add MOZ_IMPLICIT for AudioBlock constructor from base AudioChunk on CLOSED TREE 2015-09-09 23:04:02 +12:00
Karl Tomlinson
e74d20e2da bug 1197028 use AudioBlock for web audio processing to reuse buffers shared downstream r=padenot
--HG--
extra : rebase_source : d2e403ae64a314177cba4d596ea235eb351ad3bc
2015-09-03 19:01:50 +12:00
Karl Tomlinson
c5c6b3c71f bug 1197028 introduce AudioBlock to keep track of downstream references to AudioBlockBuffer r=padenot
--HG--
extra : rebase_source : 18b55c10869e58cda0b3c9e99e4c97bd76f26359
2015-09-08 12:04:16 +12:00
Karl Tomlinson
68df460f8c bug 1197028 move AllocateAudioBlock to AudioBlock.h r=padenot
In a subsequent patch, AllocateAudioBlock will become part of an AudioBlock
class derived from AudioChunk and used for AudioNodeStream members.

--HG--
extra : rebase_source : a3bfde8345995865c6f8e46abed24f008c112702
2015-09-03 19:05:02 +12:00