1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-11-14 18:27:36 +01:00

sdvxio-bio2: Add better comments to amp command, and sleep in fini

This commit is contained in:
Will Xyen 2020-08-15 11:37:03 -07:00
parent 60b081b01c
commit f1700ca551
2 changed files with 8 additions and 2 deletions

View File

@ -98,8 +98,12 @@ uint16_t sdvx_io_get_input_gpio(uint8_t gpio_bank);
uint16_t sdvx_io_get_spinner_pos(uint8_t spinner_no);
/* Sets the volume of the digital amps if possible */
/* Sets the volume of the digital amps if possible.
Range is between 0-96, where 0 is MAX and 96 is LOW. */
bool sdvx_io_set_amp_volume(uint8_t primary, uint8_t headphone, uint8_t subwoofer);
bool sdvx_io_set_amp_volume(
uint8_t primary,
uint8_t headphone,
uint8_t subwoofer);
#endif

View File

@ -150,6 +150,8 @@ void sdvx_io_fini(void)
{
running = false;
while (processing_io) {
// avoid banging
Sleep(1);
}
}