Mercurial > sdl-ios-xcode
comparison src/audio/mint/SDL_mintaudio_dma8.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 | 2911ff0a32bb |
children | 3692456e7b0f |
comparison
equal
deleted
inserted
replaced
1106:524fd51f5d2c | 1107:856f76a099c7 |
---|---|
248 break; | 248 break; |
249 } | 249 } |
250 | 250 |
251 MINTAUDIO_freqcount=0; | 251 MINTAUDIO_freqcount=0; |
252 for (i=sfreq;i<4;i++) { | 252 for (i=sfreq;i<4;i++) { |
253 SDL_MintAudio_AddFrequency(this, masterclock/(masterprediv*(1<<i)), masterclock, i-sfreq); | 253 SDL_MintAudio_AddFrequency(this, masterclock/(masterprediv*(1<<i)), |
254 masterclock, i-sfreq, -1); | |
254 } | 255 } |
255 | 256 |
256 #if 1 | 257 #if 1 |
257 for (i=0; i<MINTAUDIO_freqcount; i++) { | 258 for (i=0; i<MINTAUDIO_freqcount; i++) { |
258 DEBUG_PRINT((DEBUG_NAME "freq %d: %lu Hz, clock %lu, prediv %d\n", | 259 DEBUG_PRINT((DEBUG_NAME "freq %d: %lu Hz, clock %lu, prediv %d\n", |