/** @packageDocumentation Audio properties implementation for the DSDIFF (DSD Interchange File Format). */ import { AudioProperties } from "../audioProperties.js"; import type { ReadStyle } from "../toolkit/types.js"; /** * Audio properties for DSD Interchange File Format (DSDIFF). * * Unlike most properties classes, DSDIFF properties are constructed from * pre-computed values extracted during the chunk-walking phase of file * parsing, rather than from raw byte data. */ export declare class DsdiffProperties extends AudioProperties { /** Sample rate in Hz (e.g. 2822400 for DSD64). */ private _sampleRate; /** Number of audio channels. */ private _channels; /** Total number of DSD sample frames (per channel). */ private _sampleCount; /** Approximate bitrate in kbit/s. */ private _bitrate; /** Track duration in milliseconds. */ private _lengthInMs; /** * Constructs DSDIFF audio properties from pre-computed values. * @param sampleRate Sample rate in Hz. * @param channels Number of audio channels. * @param sampleCount Total DSD sample frames (per channel). * @param bitrate Approximate bitrate in kbit/s. * @param readStyle Read style hint (passed to the base class). */ constructor(sampleRate: number, channels: number, sampleCount: bigint, bitrate: number, readStyle: ReadStyle); /** Track duration in milliseconds. */ get lengthInMilliseconds(): number; /** Approximate bitrate in kbit/s. */ get bitrate(): number; /** Sample rate in Hz. */ get sampleRate(): number; /** Number of audio channels. */ get channels(): number; /** DSD audio is always 1 bit per sample. */ get bitsPerSample(): number; /** Total number of DSD sample frames per channel. */ get sampleCount(): bigint; } //# sourceMappingURL=dsdiffProperties.d.ts.map