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:
parent
60b081b01c
commit
f1700ca551
@ -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
|
||||
|
@ -150,6 +150,8 @@ void sdvx_io_fini(void)
|
||||
{
|
||||
running = false;
|
||||
while (processing_io) {
|
||||
// avoid banging
|
||||
Sleep(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user