audio_core/lle: link ahbm and audio callback

This commit is contained in:
Weiyi Wang 2018-12-06 12:19:58 -05:00
parent 21da135cc6
commit 67213ca855
5 changed files with 21 additions and 3 deletions

View file

@ -44,6 +44,13 @@ void DspInterface::OutputFrame(StereoFrame16& frame) {
fifo.Push(frame.data(), frame.size());
}
void DspInterface::OutputSample(std::array<s16, 2> sample) {
if (!sink)
return;
fifo.Push(&sample, 1);
}
void DspInterface::OutputCallback(s16* buffer, std::size_t num_frames) {
std::size_t frames_written;
if (perform_time_stretching) {