Merge pull request #4490 from wwylele/teakra-new
audio: implement DSP LLE
This commit is contained in:
commit
4f23d5d69e
23 changed files with 766 additions and 61 deletions
|
@ -43,6 +43,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