From e62c5354bdd09564a01ec4660ca90baf02e0d7f8 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 10 Mar 2019 23:12:58 +0300 Subject: Added sample rate tip for adl_init() call documentation --- include/adlmidi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/adlmidi.h') 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. -- cgit v1.2.3