rust-jack
rust-jack copied to clipboard
Client.sample_rate() returns wrong type
Client.sample_rate() returns a usize
usize is for memory addresses. Indexing arrays and the like. It is related to the platform's pointer size, so could be 32 or 64 bits (or something else?)
The correct type would be u32 which is 32 bits.
This makes sense. Feel free to send a PR or I can do one over the weekend.