diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2019-03-10 23:12:58 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2019-03-10 23:12:58 +0300 |
commit | e62c5354bdd09564a01ec4660ca90baf02e0d7f8 (patch) | |
tree | 795e9062c7fbc4111834a733c5aa7c1e9095b4b3 /include | |
parent | 25984d3be326d1208a35aac7af79353bbc50e151 (diff) | |
download | libADLMIDI-e62c5354bdd09564a01ec4660ca90baf02e0d7f8.tar.gz libADLMIDI-e62c5354bdd09564a01ec4660ca90baf02e0d7f8.tar.bz2 libADLMIDI-e62c5354bdd09564a01ec4660ca90baf02e0d7f8.zip |
Added sample rate tip for adl_init() call documentation
Diffstat (limited to 'include')
-rw-r--r-- | include/adlmidi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h index bec31d0..b3652e1 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -714,6 +714,7 @@ extern ADLMIDI_DECLSPEC const char *adl_errorInfo(struct ADL_MIDIPlayer *device) * Tip 1: You can initialize multiple instances and run them in parallel * Tip 2: Library is NOT thread-safe, therefore don't use same instance in different threads or use mutexes * Tip 3: Changing of sample rate on the fly is not supported. Re-create the instance again. + * Top 4: To generate output in OPL chip native sample rate, please initialize it with sample rate value as `ADL_CHIP_SAMPLE_RATE` * * @param sample_rate Output sample rate * @return Instance of the library. If NULL was returned, check the `adl_errorString` message for more info. |