Lines Matching refs:target
121 // generate a reference (point) to the target's buffer
163 // as with RawBuffer::adopt(), returns false if the target
166 bool AudioBuffer::adopt(AudioBuffer& target) {
167 m_format = target.m_format;
168 return RawBuffer::adopt(target);
175 // test for format equivalence against target buffer
179 bool AudioBuffer::formatSameAs(const AudioBuffer& target) const {
181 m_format.format == target.m_format.format &&
182 m_format.channel_count == target.m_format.channel_count;
185 // copy to target audio buffer, applying any necessary
189 AudioBuffer& target,
195 if(formatSameAs(target))
196 return rawCopyTo(target, pioFromFrame, pioTargetFrame, frames);
201 ASSERT(target.m_pData);
208 uint32 targetSize = target.m_frames * target.m_frameSize;
212 if(target.m_bCircular) {
227 (void*) ((int8*)target.m_pData + targetOffset),
229 target.m_format.format);
248 AudioBuffer& target,
252 return copyTo(target, pioFromFrame, pioTargetFrame, m_frames);
255 // mix to target audio buffer, applying any necessary
259 AudioBuffer& target,