Skip to main content

MediaCreateSourceReaderFromMediaSource

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword MediaCreateSourceReaderFromMediaSource(dword mediaSourceHandle);

Description

Creates the source reader from a media source. For more information regarding the source reader see source reader.

Parameters

  • mediaSourceHandle: The media source to create the source reader from. This is the handle returned by the MediaCreateAudioCapturer function.

Return Values

  • 0: The function failed. Call MediaGetLastError to get a more specific error code.
  • ≠0: Source reader handle

Example

See Also