mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 01:48:21 -07:00
HDD audio setting now populates audio profiles for selected HDD rpm
This commit is contained in:
@@ -234,6 +234,7 @@ extern double hdd_seek_get_time(hard_disk_t *hdd, uint32_t dst_addr, uint8_
|
||||
int hdd_preset_get_num(void);
|
||||
const char *hdd_preset_getname(int preset);
|
||||
extern const char *hdd_preset_get_internal_name(int preset);
|
||||
extern uint32_t hdd_preset_get_rpm(int preset);
|
||||
extern int hdd_preset_get_from_internal_name(char *s);
|
||||
extern void hdd_preset_apply(int hdd_id);
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ typedef struct {
|
||||
int id;
|
||||
char name[128];
|
||||
char internal_name[64];
|
||||
uint32_t rpm;
|
||||
hdd_audio_sample_config_t spindlemotor_start;
|
||||
hdd_audio_sample_config_t spindlemotor_loop;
|
||||
hdd_audio_sample_config_t spindlemotor_stop;
|
||||
@@ -47,6 +48,7 @@ extern int hdd_audio_get_profile_count(void);
|
||||
extern const hdd_audio_profile_config_t *hdd_audio_get_profile(int id);
|
||||
extern const char *hdd_audio_get_profile_name(int id);
|
||||
extern const char *hdd_audio_get_profile_internal_name(int id);
|
||||
extern uint32_t hdd_audio_get_profile_rpm(int id);
|
||||
extern int hdd_audio_get_profile_by_internal_name(const char *internal_name);
|
||||
|
||||
/* HDD audio initialization and cleanup */
|
||||
|
||||
Reference in New Issue
Block a user