• Max Kellermann's avatar
    output: make "struct audio_output" opaque for output plugins · acc4a0ba
    Max Kellermann authored
    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.
    acc4a0ba
output_init.c 3.01 KB