THwDeviceInitParams Class Reference

class THwDeviceInitParams

Type class for Hardware initialization parameters. The implementation specific initialization attributes are passed in this structure. Elements common to all HwDevices are defined here. These are the pointer to the observer and stream connection identification for the HwDevice.

These stream connections are defined as follows:
  • SrcStream is the source data stream to the HwDevice for a decoder/player.

  • OutStream is the counterpart stream of data out of the HwDevice of processed source data.

  • InStream is the input stream of data to the HwDevice for an encoder/recorder.

  • DestStream is the destination data stream of this InStream after it has been processed.

The last element is a pointer to a buffer of the rest of the initialization data for the HwDevice. This data will vary for different HwDevices. However, the first element is always the number of internal connections (TUint8) required by the HwDevice. Following this, is an element (TUint8) for each of the required connection ID's. The elements following this are only known by the HwDevice.

Constructor & Destructor Documentation

THwDeviceInitParams()

THwDeviceInitParams()[inline]

Member Data Documentation

TConnection iDestStream

TConnection iDestStream

Destination stream attributes.

TPtr8 iHwDeviceInitArgsPtr

TPtr8 iHwDeviceInitArgsPtr

Pointer to a buffer.

MMMFHwDeviceObserver * iHwDeviceObserver

MMMFHwDeviceObserver *iHwDeviceObserver

Pointer to an observer.

TConnection iInStream

TConnection iInStream

Input stream attributes.

TConnection iOutStream

TConnection iOutStream

Output stream attributes.

TConnection iSrcStream

TConnection iSrcStream

Source stream attributes.