Mercurial > sdl-ios-xcode
comparison src/audio/mint/SDL_mintaudio_gsxb.c @ 1107:856f76a099c7
Can use both clocks of FDI interface on Falcon, plus digital output
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Sun, 07 Aug 2005 12:17:28 +0000 |
parents | c83fa1c650dd |
children | 3692456e7b0f |
comparison
equal
deleted
inserted
replaced
1106:524fd51f5d2c | 1107:856f76a099c7 |
---|---|
274 } | 274 } |
275 | 275 |
276 /* Calculate and select the closest frequency */ | 276 /* Calculate and select the closest frequency */ |
277 MINTAUDIO_freqcount=0; | 277 MINTAUDIO_freqcount=0; |
278 for (i=1;i<4;i++) { | 278 for (i=1;i<4;i++) { |
279 SDL_MintAudio_AddFrequency(this, MASTERCLOCK_44K/(MASTERPREDIV_MILAN*(1<<i)), MASTERCLOCK_44K, (1<<i)-1); | 279 SDL_MintAudio_AddFrequency(this, |
280 MASTERCLOCK_44K/(MASTERPREDIV_MILAN*(1<<i)), MASTERCLOCK_44K, | |
281 (1<<i)-1, -1); | |
280 } | 282 } |
281 | 283 |
282 #if 1 | 284 #if 1 |
283 for (i=0; i<MINTAUDIO_freqcount; i++) { | 285 for (i=0; i<MINTAUDIO_freqcount; i++) { |
284 DEBUG_PRINT((DEBUG_NAME "freq %d: %lu Hz, clock %lu, prediv %d\n", | 286 DEBUG_PRINT((DEBUG_NAME "freq %d: %lu Hz, clock %lu, prediv %d\n", |