Luna::AHI::DeviceIODesc

Describes properties of the playback or capture audio data stream of one device.

struct Luna::AHI::DeviceIODesc

Member objects

  • IAdapter* adapter

    The adapter bound to this stream. This adapter will be used to playback audio data from this stream, or capture audio data and write to this stream. If this is nullptr, the primary playback or capture device will be used.

  • u32 num_channels

    The number of channels for one audio frame.

  • BitDepth bit_depth

    The bit depth of one audio sample in this stream.