Files
itgmania212121/src
sukibaby 0aa41b305d Make static vectors of default driver lists
Currently we are storing the default driver lists as a macro, and splitting them into RString vectors every time they are needed. This commit changes the macros in `arch_default.h` into vectors of RStrings, so that they do not need to be split each time.

I have updated all references where the default driver lists are being called so that the vector is used directly.

A new function is added to RageUtil to make a compatible vector of RStrings from user input which may be separated with a comma.

RageSoundDriver was refactored to check user input in Preferences.ini against the default driver list, and in case of incorrect spelling or failure, provides a detailed error message (including a list of valid options) in logs so the user can resolve the problem.

`fix_bogus_sound_driver_pref` is no longer needed, since we are now telling the user what their valid options are if the user provides an incorrect entry for the `SoundDrivers` preference, instead of silently attempting to guess what the user wanted. Since I think it's rare that someone wants to specify a driver to begin with, we should let them know their exact options if they put something wrong here, instead of silently failing or using an unwanted driver.

I tested this on Windows by specifying `DirectSound-sw` in Preferences.ini, and it worked as expected. I also tried putting an unusable value in, and got the error in logs letting me know what my valid driver options were. Of course, input and movies all work as expected too.
2024-09-22 10:51:58 -07:00
..
2023-04-21 22:13:41 +02:00
2024-05-28 09:34:59 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2024-06-18 06:37:44 -07:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2011-10-02 21:40:33 -05:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2019-06-22 12:35:38 -07:00
2023-04-21 22:13:41 +02:00
2011-10-02 21:40:33 -05:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2024-05-04 10:52:43 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2013-04-30 22:00:20 -04:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2013-05-05 09:34:57 -04:00
2022-05-28 11:21:13 +02:00
2013-01-25 15:57:57 -05:00
2024-04-17 00:20:03 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2011-10-02 21:40:33 -05:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-04-17 00:20:03 -07:00
2024-04-17 00:20:03 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-08-26 10:52:19 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2024-08-26 10:52:19 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2011-05-23 20:27:31 -04:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2011-10-02 21:40:33 -05:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-08-26 10:52:19 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-19 19:31:40 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2011-10-02 21:40:33 -05:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2011-10-02 21:40:33 -05:00
2024-09-03 20:50:48 -07:00
2023-02-02 11:54:17 -08:00
2023-02-02 11:54:17 -08:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-02-02 11:54:17 -08:00
2023-04-20 11:21:29 +02:00
2024-09-03 20:50:48 -07:00
2024-03-06 16:10:21 -08:00
2024-09-03 20:50:48 -07:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2024-09-04 20:15:35 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-06-08 16:18:01 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2021-08-31 18:25:09 +02:00
2023-06-10 17:42:19 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-19 19:31:40 +02:00
2023-02-02 11:54:17 -08:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-08-07 10:05:13 -07:00
2023-04-21 22:13:41 +02:00
2024-03-06 16:10:21 -08:00
2024-03-06 16:10:21 -08:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-12-13 08:53:08 -08:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-20 11:21:29 +02:00
2023-04-20 11:21:29 +02:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2019-06-22 12:35:38 -07:00
2023-04-21 22:13:41 +02:00
2024-09-20 22:03:15 -07:00
2024-09-20 22:03:15 -07:00
2024-09-03 20:50:48 -07:00
2024-07-10 22:09:23 -07:00
2023-04-21 22:13:41 +02:00
2024-05-14 09:35:38 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2024-09-03 20:50:48 -07:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2024-09-03 20:50:48 -07:00
2023-02-19 19:04:23 +01:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-08-07 10:05:13 -07:00
2023-04-21 22:13:41 +02:00
2011-10-02 21:40:33 -05:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-19 19:31:40 +02:00
2023-04-19 19:31:40 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-08-26 10:52:19 -07:00
2024-08-26 10:52:19 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-19 19:31:40 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-19 19:31:40 +02:00
2024-03-06 16:10:21 -08:00
2023-04-19 19:31:40 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2011-06-14 13:15:54 -04:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2022-06-08 20:12:57 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-19 19:31:40 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-19 19:31:40 +02:00
2011-10-02 21:40:33 -05:00
2011-10-02 21:40:33 -05:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-08-19 09:24:36 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2011-10-08 13:01:28 -05:00
2011-10-02 21:40:33 -05:00
2023-04-19 19:31:40 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2011-10-02 21:40:33 -05:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2022-06-10 19:33:23 +02:00
2022-06-10 19:33:23 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2022-03-31 12:06:18 -07:00
2024-09-03 20:50:48 -07:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-21 22:13:41 +02:00
2023-04-20 11:21:29 +02:00