Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | output: semi-asynchronous playback | Max Kellermann | 2008-09-24 | 1 | -0/+12 |
| | | | | | | | Send an output buffer to all output plugins at the same time, instead of waiting for each of them separately. Make several functions non-blocking, and introduce the new function audio_output_wait_all() to synchronize with all audio output threads. | ||||
* | output: document the audio_output elements | Max Kellermann | 2008-09-24 | 1 | -4/+58 |
| | |||||
* | output: make "struct audio_output" opaque for output plugins | Max Kellermann | 2008-09-24 | 1 | -0/+58 |
We have eliminated direct accesses to the audio_output struct from the all output plugins. Make it opaque for them, and move its real declaration to output_internal.h, similar to decoder_internal.h. Pass the opaque structure to plugin.init() only, which will return the plugin's data pointer on success, and NULL on failure. This data pointer will be passed to all other methods instead of the audio_output struct. |