audio_core/hle,lle: implement SetSemaphore

This commit is contained in:
Weiyi Wang 2018-12-06 07:35:07 -05:00
parent 4671ccf416
commit c9736b3300
6 changed files with 18 additions and 0 deletions

View file

@ -47,6 +47,12 @@ public:
*/
virtual bool RecvDataIsReady(u32 register_number) const = 0;
/**
* Sets the DSP semaphore register
* @param semaphore_value the value set to the semaphore register
*/
virtual void SetSemaphore(u16 semaphore_value) = 0;
/**
* Reads `length` bytes from the DSP pipe identified with `pipe_number`.
* @note Can read up to the maximum value of a u16 in bytes (65,535).