paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
writer Struct Reference

Data Fields

void(* pre_monitor )(struct sched *s, void *context)
 
int(* post_monitor )(struct sched *s, void *context)
 
void(* close )(struct writer_node *)
 

Detailed Description

Describes a data sink for audio streams.

A paraslash writer obtains data via the buffer tree mechanism from its parent node. It consumes data without producing output on its own.

This structure contains the methods which have to be implemented by each writer.

See also
struct writer_node, struct receiver, struct filter, struct sched.

Field Documentation

◆ pre_monitor

void(* pre_monitor) (struct sched *s, void *context)

Ask the scheduler to check whether data can be written.

Referenced by register_writer_node().

◆ post_monitor

int(* post_monitor) (struct sched *s, void *context)

Write audio data.

Referenced by register_writer_node().

◆ close

void(* close) (struct writer_node *)

Close one instance of the writer.

This function is assumed to succeed.


The documentation for this struct was generated from the following file: