audio_core/lle: implement RecvDataIsReady

This commit is contained in:
Weiyi Wang 2018-12-06 07:30:10 -05:00
parent 14eb3561de
commit 4671ccf416
2 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,10 @@ u16 DspLle::RecvData(u32 register_number) {
return impl->teakra.RecvData(static_cast<u8>(register_number)); return impl->teakra.RecvData(static_cast<u8>(register_number));
} }
bool DspLle::RecvDataIsReady(u32 register_number) const {
return impl->teakra.RecvDataIsReady(register_number);
}
DspLle::DspLle() : impl(std::make_unique<Impl>()) {} DspLle::DspLle() : impl(std::make_unique<Impl>()) {}
DspLle::~DspLle() = default; DspLle::~DspLle() = default;

View File

@ -14,6 +14,7 @@ public:
~DspLle(); ~DspLle();
u16 RecvData(u32 register_number) override; u16 RecvData(u32 register_number) override;
bool RecvDataIsReady(u32 register_number) const override;
private: private:
struct Impl; struct Impl;