From a959cd618b344fc28178e06f8d9c9f0cf4a01339 Mon Sep 17 00:00:00 2001 From: Francesco Zardi Date: Wed, 18 Apr 2018 14:53:04 +0200 Subject: [PATCH] Update comments to follow cpal` 0.7 convention --- src/conversions/channels.rs | 2 +- src/conversions/mod.rs | 2 +- src/conversions/sample_rate.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conversions/channels.rs b/src/conversions/channels.rs index 53483b9..5987a75 100644 --- a/src/conversions/channels.rs +++ b/src/conversions/channels.rs @@ -1,6 +1,6 @@ use cpal; -/// Iterator that converts from a certain channels count to another. +/// Iterator that converts from a certain channel count to another. #[derive(Clone, Debug)] pub struct ChannelCountConverter where I: Iterator diff --git a/src/conversions/mod.rs b/src/conversions/mod.rs index 2a97eda..e6ad817 100644 --- a/src/conversions/mod.rs +++ b/src/conversions/mod.rs @@ -1,7 +1,7 @@ /*! This module contains function that will convert from one PCM format to another. -This includes conversion between samples formats, channels or sample rates. +This includes conversion between sample formats, channels or sample rates. */ diff --git a/src/conversions/sample_rate.rs b/src/conversions/sample_rate.rs index 79206b1..72c054a 100644 --- a/src/conversions/sample_rate.rs +++ b/src/conversions/sample_rate.rs @@ -4,7 +4,7 @@ use cpal; use std::mem; -/// Iterator that converts from a certain samples rate to another. +/// Iterator that converts from a certain sample rate to another. #[derive(Clone, Debug)] pub struct SampleRateConverter where I: Iterator