Method

PwgParamdup_audio_format

since: 0.1

Declaration [src]

PwgAudioFormat*
pwg_param_dup_audio_format (
  PwgParam* self
)

Description [src]

Parses this parameter as a raw audio SPA Format object.

Stability: Unstable

Available since: 0.1

Return value

Type: PwgAudioFormat

A parsed audio format descriptor, or NULL if this parameter is not a raw audio format.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.