rem: printf("### quicktime extractor bug workaround activated, changing buffer size from 548 into 4096\n");
add: ERROR("Mixer: quicktime extractor bug workaround activated, changing buffer size from 548 into 4096\n");
context: fix_multiaudio_format(media_multi_audio_format *format){	if (format->format == media_raw_audio_format::B_AUDIO_INT) {		if (format->valid_bits != 0 && (format->valid_bits < 16 || format->valid_bits >= 32))			format->valid_bits = 0;	}	switch (format->channel_count) {		case 0:			format->channel_mask = 0;			format->matrix_mask = 0;			break;		case 1:			if (count_nonzero_bits(format->channel_mask) != 1) {				format->channel_mask = B_CHANNEL_LEFT;				format->matrix_mask = 0;			}			break;		case 2:			if (count_nonzero_bits(format->channel_mask) != 2) {				format->channel_mask = B_CHANNEL_LEFT | B_CHANNEL_RIGHT;				format->matrix_mask = 0;			}			break;		case 3:			if (count_nonzero_bits(format->channel_mask) != 3) {				format->channel_mask = B_CHANNEL_LEFT | B_CHANNEL_RIGHT | B_CHANNEL_CENTER;				format->matrix_mask = 0;			}			break;		case 4:			if (count_nonzero_bits(format->channel_mask) != 4) {				format->channel_mask = B_CHANNEL_LEFT | B_CHANNEL_RIGHT | B_CHANNEL_REARLEFT | B_CHANNEL_REARRIGHT;				format->matrix_mask = 0;			}			break;		case 5:			if (count_nonzero_bits(format->channel_mask) != 5) {				format->channel_mask = B_CHANNEL_LEFT | B_CHANNEL_RIGHT | B_CHANNEL_REARLEFT | B_CHANNEL_REARRIGHT | B_CHANNEL_CENTER;				format->matrix_mask = 0;			}			break;		case 6:			if (count_nonzero_bits(format->channel_mask) != 6) {				format->channel_mask = B_CHANNEL_LEFT | B_CHANNEL_RIGHT | B_CHANNEL_REARLEFT | B_CHANNEL_REARRIGHT | B_CHANNEL_CENTER | B_CHANNEL_SUB;				format->matrix_mask = 0;			}			break;		case 7:			if (count_nonzero_bits(format->channel_mask) != 7) {				format->channel_mask = B_CHANNEL_LEFT | B_CHANNEL_RIGHT | B_CHANNEL_REARLEFT | B_CHANNEL_REARRIGHT | B_CHANNEL_CENTER | B_CHANNEL_SUB | B_CHANNEL_BACK_CENTER;				format->matrix_mask = 0;			}			break;				default:			break;	}	// XXX Workaround for broken BeOS R5 quicktime extractor media node	if (format->channel_count == 1			&& format->format == media_multi_audio_format::B_AUDIO_UCHAR			&& int(format->frame_rate + 0.5) == 11025			&& format->byte_order == B_MEDIA_BIG_ENDIAN			&& format->buffer_size == 548) {		printf("### quicktime extractor bug workaround activated, changing buffer size from 548 into 4096\n");		format->buffer_size = 4096;	}}