1
0
Fork 0

Mark hyperlinks in doc comments

This commit is contained in:
Robbert van der Helm 2022-01-28 18:10:28 +01:00
parent 6b7acb7cb5
commit 59b1132d3b
2 changed files with 2 additions and 5 deletions

View file

@ -97,7 +97,7 @@ pub trait Vst3Plugin: Plugin {
const VST3_CLASS_ID: [u8; 16];
/// One or more categories, separated by pipe characters (`|`), up to 127 characters. Anything
/// logner than that will be truncated. See the VST3 SDK for examples of common categories:
/// https://github.com/steinbergmedia/vst3_pluginterfaces/blob/2ad397ade5b51007860bedb3b01b8afd2c5f6fba/vst/ivstaudioprocessor.h#L49-L90
/// <https://github.com/steinbergmedia/vst3_pluginterfaces/blob/2ad397ade5b51007860bedb3b01b8afd2c5f6fba/vst/ivstaudioprocessor.h#L49-L90>
const VST3_CATEGORIES: &'static str;
}

View file

@ -19,10 +19,7 @@ use std::os::raw::c_char;
use vst3_sys::vst::TChar;
use widestring::U16CString;
/// A Rabin fingerprint based string hash compatible with JUCE's implementation.
///
/// https://github.com/juce-framework/JUCE/blob/0abbba3b18c3263137eeaeaa11c917a3425ce585/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp#L585-L601
/// https://github.com/juce-framework/JUCE/blob/46ea879739533ca0cdc689b967edfc5390c46ef7/modules/juce_core/text/juce_String.cpp#L541-L556
/// A Rabin fingerprint based string hash for parameter ID strings.
pub fn hash_param_id(id: &str) -> u32 {
let mut hash: u32 = 0;
for char in id.bytes() {