truehd: break out part of output_data into platform-specific callback.