aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/quicktime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/midi/quicktime.cpp')
-rw-r--r--backends/midi/quicktime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/quicktime.cpp b/backends/midi/quicktime.cpp
index 07d184331e..afd6eeb539 100644
--- a/backends/midi/quicktime.cpp
+++ b/backends/midi/quicktime.cpp
@@ -84,8 +84,8 @@ int MidiDriver_QT::open() {
goto bail;
simpleNoteRequest.info.flags = 0;
- simpleNoteRequest.info.polyphony = 11; // simultaneous tones
- simpleNoteRequest.info.typicalPolyphony = 0x00010000;
+ WRITE_BE_UINT16(& simpleNoteRequest.info.polyphony, 11); // simultaneous tones
+ WRITE_BE_UINT16(& simpleNoteRequest.info.typicalPolyphony, 0x00010000);
qtErr = NAStuffToneDescription(qtNoteAllocator, 1, &simpleNoteRequest.tone);
if (qtErr != noErr)