1
0
Fork 0

Fix typo in comment

This commit is contained in:
Robbert van der Helm 2023-03-01 23:49:02 +01:00
parent 2dc0b48f73
commit b840113caf

View file

@ -617,8 +617,9 @@ impl CpalMidir {
) -> impl FnMut(&[T], &InputCallbackInfo) + Send + 'static ) -> impl FnMut(&[T], &InputCallbackInfo) + Send + 'static
where where
T: Sample, T: Sample,
// The CPAL update make the whole interface more complicated by using dasp sample, and then // The CPAL update made the whole interface more complicated by switching to dasp's sample
// they also forgot to expose the `ToSample` trait so now you need to do this // trait, and then they also forgot to expose the `ToSample` trait so now you need to do
// this
f32: FromSample<T>, f32: FromSample<T>,
{ {
// This callback needs to copy input samples to a ring buffer that can be read from in the // This callback needs to copy input samples to a ring buffer that can be read from in the