From db6044a26d35f598e4495b4ee1a6e39ba2eeb2eb Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Wed, 4 Sep 2024 05:37:14 +0300 Subject: VLC Plugin: Added the "experimental" mark for the Serial feature Especially in the VLC, this feature doesn't work ideally, and may give glitches. --- utils/vlc_codec/libadlmidi.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/utils/vlc_codec/libadlmidi.c b/utils/vlc_codec/libadlmidi.c index be8664e..f8b7c25 100644 --- a/utils/vlc_codec/libadlmidi.c +++ b/utils/vlc_codec/libadlmidi.c @@ -92,13 +92,18 @@ #ifdef ADLMIDI_ENABLE_HW_SERIAL -#define SERIAL_ENABLE_TEXT N_("Enable Serial hardware mode") +#define SERIAL_ENABLE_TEXT N_("Enable Serial hardware mode [EXPERIMENTAL]") #define SERIAL_ENABLE_LONGTEXT N_( \ - "Use the hardware OPL3 chip via Serial port.") + "Use the hardware OPL3 chip via Serial port.\n\nNote: In the VLC this feature is EXPERIMENTAL and has some deffects like a short tempo boost at begining.") #define SERIAL_NAME_TEXT N_("Serial device name") -#define SERIAL_NAME_LONGTEXT N_( \ - "Name of the Serial device to use.") +#if defined(_WIN32) +# define SERIAL_NAME_LONGTEXT N_( "Name of the Serial device to use. (For example, COM1, COM2, COM3, etc.)") +#elif defined(__APPLE__) +# define SERIAL_NAME_LONGTEXT N_( "Name of the Serial device to use. (For example, ttyACM0, ttyACM1, etc.)") +#else +# define SERIAL_NAME_LONGTEXT N_( "Name of the Serial device to use. (For example, ttyACM0, ttyACM1, etc.)") +#endif #define SERIAL_BAUD_TEXT N_("Serial baud speed") #define SERIAL_BAUD_LONGTEXT N_( \ -- cgit v1.2.3