AudioStream.writeSamplesDouble

Write interleaved double samples to the stream, from the given buffer inData[0..frames].

  1. int writeSamplesDouble(double* inData, int frames)
    struct AudioStream
    nothrow @nogc
    int
    writeSamplesDouble
    (
    double* inData
    ,
    int frames
    )
  2. int writeSamplesDouble(double[] inData)

Return Value

Type: int

Number of actually written frames. Multiply by getNumChannels() to get the number of written samples. When that number is less than frames, it means the stream had a write error.

Meta