Skip to main content

MediaCreateSinkWriterFromMediaSink

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword MediaCreateSinkWriterFromMediaSink(dword mediaSinkHandle);

Description

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

Parameters

  • mediaFileHandle: The media sink to create the sink writer from. This is the handle returned by the MediaCreateAudioRenderer function.

Return Values

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

Example

See Also