add Copy for SupportedStreamConfigRange (#821)
This commit is contained in:
parent
1847359cae
commit
7d8ee38f31
1 changed files with 2 additions and 2 deletions
|
|
@ -265,7 +265,7 @@ pub struct StreamConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Describes the minimum and maximum supported buffer size for the device
|
/// Describes the minimum and maximum supported buffer size for the device
|
||||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||||
pub enum SupportedBufferSize {
|
pub enum SupportedBufferSize {
|
||||||
Range {
|
Range {
|
||||||
min: FrameCount,
|
min: FrameCount,
|
||||||
|
|
@ -278,7 +278,7 @@ pub enum SupportedBufferSize {
|
||||||
|
|
||||||
/// Describes a range of supported stream configurations, retrieved via the
|
/// Describes a range of supported stream configurations, retrieved via the
|
||||||
/// [`Device::supported_input/output_configs`](traits::DeviceTrait#required-methods) method.
|
/// [`Device::supported_input/output_configs`](traits::DeviceTrait#required-methods) method.
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
pub struct SupportedStreamConfigRange {
|
pub struct SupportedStreamConfigRange {
|
||||||
pub(crate) channels: ChannelCount,
|
pub(crate) channels: ChannelCount,
|
||||||
/// Minimum value for the samples rate of the supported formats.
|
/// Minimum value for the samples rate of the supported formats.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue