aboutsummaryrefslogtreecommitdiff
path: root/utils/vlc_codec
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2024-09-04 05:37:14 +0300
committerWohlstand <admin@wohlnet.ru>2024-09-04 05:37:14 +0300
commitdb6044a26d35f598e4495b4ee1a6e39ba2eeb2eb (patch)
tree610ba5694dfaa34022621165cf24a10fa33bcdb5 /utils/vlc_codec
parent5418e7a65a8936a638be885e88faeef2791d8433 (diff)
downloadlibADLMIDI-db6044a26d35f598e4495b4ee1a6e39ba2eeb2eb.tar.gz
libADLMIDI-db6044a26d35f598e4495b4ee1a6e39ba2eeb2eb.tar.bz2
libADLMIDI-db6044a26d35f598e4495b4ee1a6e39ba2eeb2eb.zip
VLC Plugin: Added the "experimental" mark for the Serial feature
Especially in the VLC, this feature doesn't work ideally, and may give glitches.
Diffstat (limited to 'utils/vlc_codec')
-rw-r--r--utils/vlc_codec/libadlmidi.c13
1 files 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_( \