audio_core/lle: link ahbm and audio callback
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user