cutcutcodec.core.classes.stream_audio.StreamAudioWrapper

class cutcutcodec.core.classes.stream_audio.StreamAudioWrapper(node: Filter, index: Integral)[source]

Allow to dynamically transfer the methods of an instanced audio stream.

This can be very useful for implementing filters.

Initialise and create the class.

Parameters

nodecutcutcodec.core.classes.filter.Filter

The parent node, transmitted to cutcutcodec.core.classes.stream.Stream.

indexnumber.Integral

The index of the audio stream among all the input streams of the node. 0 for the first, 1 for the second …

property layout: Layout

Return the signification of each channels.