Mercurial > sdl-ios-xcode
comparison src/audio/dart/SDL_dart.c @ 3807:da371472162f SDL-ryan-multiple-audio-device
DART allegedly does up to quad output.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 04 Oct 2006 22:51:30 +0000 |
parents | c8b3d3d13ed1 |
children | b225d9820ee3 |
comparison
equal
deleted
inserted
replaced
3806:1485d42cf1a0 | 3807:da371472162f |
---|---|
105 // Save the device ID we got from DART! | 105 // Save the device ID we got from DART! |
106 // We will use this in the next calls! | 106 // We will use this in the next calls! |
107 iDeviceOrd = AmpOpenParms.usDeviceID; | 107 iDeviceOrd = AmpOpenParms.usDeviceID; |
108 | 108 |
109 // Determine the audio parameters from the AudioSpec | 109 // Determine the audio parameters from the AudioSpec |
110 if (spec->channels > 2) | 110 if (spec->channels > 4) |
111 spec->channels = 2; // !!! FIXME: more than stereo support in OS/2? | 111 spec->channels = 4; |
112 | 112 |
113 while ((!valid_datatype) && (test_format)) { | 113 while ((!valid_datatype) && (test_format)) { |
114 spec->format = test_format; | 114 spec->format = test_format; |
115 valid_datatype = 1; | 115 valid_datatype = 1; |
116 switch (test_format) { | 116 switch (test_format) { |