pub fn write_interval(&self) -> Time {
        let bytes_per_sample = mem::size_of::<SampleData>();
        let bytes_per_frame = bytes_per_sample * OUTPUT_CHANNELS as usize;
        let frames_per_write = (self.write_chunk_size / bytes_per_frame) as u64;

        Time(frames_per_write*Time::NANOSECONDS_PER_SECOND/(OUTPUT_SAMPLE_RATE as u64))
    }
/// The time between each consecutive write. If one write occured at t0, the next call to write
/// must be somewhere between `t0 + interval` and `t0 + 2*interval`. The data must be written by
/// `t0 + 2*interval`
The time between each consecutive write. If one write occured at t0, the next call to write
must be somewhere between `t0 + interval` and `t0 + 2*interval`. The data must be written by
`t0 + 2*interval`
The time between each consecutive write . If one write occured at t0 the next call to write must be somewhere between ` t0 + interval ` and ` t0 + 2 * interval ` . The data must be written by ` t0 + 2 * interval `
pub fn write_interval(&self) -> Time {
        let bytes_per_sample = mem::size_of::<SampleData>();
        let bytes_per_frame = bytes_per_sample * OUTPUT_CHANNELS as usize;
        let frames_per_write = (self.write_chunk_size / bytes_per_frame) as u64;
        Time(frames_per_write*Time::NANOSECONDS_PER_SECOND/(OUTPUT_SAMPLE_RATE as u64))
    }
pub fn write_interval ( & self ) -> Time { let bytes_per_sample = mem :: size_of :: < SampleData > ( ) ; let bytes_per_frame = bytes_per_sample * OUTPUT_CHANNELS as usize ; let frames_per_write = ( self . write_chunk_size / bytes_per_frame ) as u64 ; Time ( frames_per_write * Time :: NANOSECONDS_PER_SECOND / ( OUTPUT_SAMPLE_RATE as u64 ) ) }
The time between each consecutive write.
The time between each consecutive write .
&self
&self