audio_core/lle: link ahbm and audio callback
This commit is contained in:
parent
21da135cc6
commit
67213ca855
5 changed files with 21 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue