soundio_outstream_open

After you call this function, SoundIoOutStream::software_latency is set to the correct value.

The next thing to do is call ::soundio_outstream_start. If this function returns an error, the outstream is in an invalid state and you must call ::soundio_outstream_destroy on it.

Possible errors: * #SoundIoErrorInvalid * SoundIoDevice::aim is not #SoundIoDeviceAimOutput * SoundIoOutStream::format is not valid * SoundIoOutStream::channel_count is greater than #SOUNDIO_MAX_CHANNELS * #SoundIoErrorNoMem * #SoundIoErrorOpeningDevice * #SoundIoErrorBackendDisconnected * #SoundIoErrorSystemResources * #SoundIoErrorNoSuchClient - when JACK returns JackNoSuchClient * #SoundIoErrorIncompatibleBackend - SoundIoOutStream::channel_count is greater than the number of channels the backend can handle. * #SoundIoErrorIncompatibleDevice - stream parameters requested are not compatible with the chosen device.

extern (C) @nogc nothrow
int
soundio_outstream_open

Meta