Oh, and there should also be an arrow from “configuring” to “doing nothing”, because obviously the device can become unavailable while you are in the configuring state.

Cheers,
Timur

On 19 Jun 2019, at 18:13, Timur Doumler via SG13 <sg13@lists.isocpp.org> wrote:

Hi again,

On 19 Jun 2019, at 15:55, Peter Sommerlad (CPP) <peter.cpp@sommerlad.ch> wrote:
Drawing the actual state diagram of the lifetime of a system audio device can help to figure out where to make the cut and figure out, if there are even more things lurking, such as the interdependency of sample rate and buffer size. 

Here’s my very crude attempt at a state machine diagram for the audio device.

Cheers,
Timur

<audio_device_diagram.png>
--
SG13 mailing list
SG13@lists.isocpp.org
http://lists.isocpp.org/mailman/listinfo.cgi/sg13