The OpenD Programming Language

AudioStream.seekPosition

Seeking. Subsequent reads start from multi-channel frame index frames. Only available for input streams, for streams whose canSeek() returns true. Warning: seekPosition(lengthInFrames) is Undefined Behaviour for now. (it works in MP3).

  1. bool seekPosition(int pattern, int row)
  2. bool seekPosition(int frame)
    struct AudioStream
    nothrow @nogc
    bool
    seekPosition
    (
    int frame
    )

Meta