Struct ether_dream_dac_emulator::stream::Output [] [src]

pub struct Output { /* fields omitted */ }

A handle for receiving the Output produced by the processor.

This type may be used to yield "frames" of DacPoints emitted by the Processor.

Methods

impl Output
[src]

[src]

Yields the next Frame if there is one pending.

Once the yielded Frame is dropped, it sends the buffer back to the DAC for reuse.

Returns None if there are no pending frames.

[src]

Yields the next Frame.

If there are no Frames queue in the inner buffer, this method will block until there is one.

Once the yielded Frame is dropped, it sends the buffer back to the DAC for reuse.

Returns None if there are no pending frames.

Trait Implementations

impl Clone for Output
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Output

impl Sync for Output