Class I2sConnectionSettings
The connection settings of a device on a I2Sbus.
public sealed class I2sConnectionSettings
- Inheritance
-
I2sConnectionSettings
- Inherited Members
- Extension Methods
Constructors
I2sConnectionSettings(int)
Initializes a new instance of the I2sConnectionSettings class.
public I2sConnectionSettings(int busId)
Parameters
busId
intThe bus ID the device is connected to.
Properties
BitsPerSample
Bits per sample
public I2sBitsPerSample BitsPerSample { get; set; }
Property Value
BufferSize
Buffer Size used to define the DMA buffer.
This size is required to calculate the right amount of dma_buf_count
.
public int BufferSize { get; set; }
Property Value
Remarks
Defaults to 10000
.
BusId
The bus ID the device is connected to.
public int BusId { get; set; }
Property Value
ChannelFormat
I2S Channel Format
public I2sChannelFormat ChannelFormat { get; set; }
Property Value
CommunicationFormat
Specifies communication format on the I2Sbus.
public I2sCommunicationFormat CommunicationFormat { get; set; }
Property Value
Mode
The I2Smode being used.
public I2sMode Mode { get; set; }
Property Value
SampleRate
Sample Rate.
public int SampleRate { get; set; }