Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 117802 | Differences between
and this patch

Collapse All | Expand All

(-)SDL_mixer-1.2.6-orig/native_midi/native_midi_mac.c (-2 / +6 lines)
Lines 591-598 Link Here
591
		qtma_StuffGeneralEvent(*myPos1, *myPos2, part, kGeneralEventNoteRequest, kNoteRequestEventLength);
591
		qtma_StuffGeneralEvent(*myPos1, *myPos2, part, kGeneralEventNoteRequest, kNoteRequestEventLength);
592
		myNoteRequest = (NoteRequest *)(myPos1 + 1);
592
		myNoteRequest = (NoteRequest *)(myPos1 + 1);
593
		myNoteRequest->info.flags = 0;
593
		myNoteRequest->info.flags = 0;
594
		myNoteRequest->info.polyphony = part_poly_max[part];
594
		BigEndianShort bes;
595
		myNoteRequest->info.typicalPolyphony = 0x00010000;
595
		bes.bigEndianValue = part_poly_max[part];
596
		myNoteRequest->info.polyphony = bes;
597
		BigEndianFixed bef;
598
		bef.bigEndianValue = 0x00010000;
599
		myNoteRequest->info.typicalPolyphony = bef;
596
		myErr = NAStuffToneDescription(myNoteAllocator,part_to_inst[part],&myNoteRequest->tone);
600
		myErr = NAStuffToneDescription(myNoteAllocator,part_to_inst[part],&myNoteRequest->tone);
597
		if (myErr != noErr)
601
		if (myErr != noErr)
598
			goto bail;
602
			goto bail;

Return to bug 117802