Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
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