Realization of audio data playback through WASAPI (Windows Audio Session API).(minimal)
WASAPI model:
- Find a playback device (in the default system)
- Register the client on the playback device.
- Create a playback format for audio data.
- Initialize the client with the created format, and access mode, ....
- Take the object-rendering from the client for play the data stream.
- Play data stream
ecore_audio model:
- create a object for play the data stream(out object)
- create a object to receive the data stream(in object)
- register in the out-object the in-object
- play data stream
Necessary:
Realize the ecore_audio object to play the data stream using the WASAPI model.
How implemented:
- The object ecore_audio_out_wasapi is implemented
- object ecore_audio_out_wasapi - the object constructor is find a playback device (in the default system)(WASAPI)
- _ecore_audio_out_wasapi_ecore_audio_out_input_attach - register in the out-object the in-object
3.1 Register the client on the playback device.(WASAPI)
3.2 Create a playback format for audio data.(WASAPI)
3.3 Initialize the client with the created format, and access mode, ....(WASAPI)
- _write_cb - play data
4.1 Take the object-rendering from the client for play the data stream.(WASAPI)
4.2 Play data stream(WASAPI)