~ubuntu-branches/ubuntu/precise/mame/precise-proposed

« back to all changes in this revision

Viewing changes to src/emu/sound/fm2612.c

  • Committer: Package Import Robot
  • Author(s): Cesare Falco
  • Date: 2011-11-30 18:50:10 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111130185010-02hcxybht1mn082w
Tags: 0.144-0ubuntu1
* New upstream release (LP: #913550)
* mame.install:
  - Added artwork/ images to be used with -effect switch
  - Be more selective with hash/ contents
* contrib/mame.ini: added /usr/share/games/mame/artwork/ to artpath

Show diffs side-by-side

added added

removed removed

Lines of Context:
381
381
   5.9 dB = 0, 1, 2, 3, 4, 5, 6, 7, 8....63, 63, 62, 61, 60, 59,.....2,1,0
382
382
   1.4 dB = 0, 0, 0, 0, 1, 1, 1, 1, 2,...15, 15, 15, 15, 14, 14,.....0,0,0
383
383
 
384
 
  (1.4 dB is loosing precision as you can see)
 
384
  (1.4 dB is losing precision as you can see)
385
385
 
386
386
  It's implemented as generator from 0..126 with step 2 then a shift
387
387
  right N times, where N is:
2297
2297
                bufL[i] = lt;
2298
2298
                bufR[i] = rt;
2299
2299
 
2300
 
                /* CSM mode: if CSM Key ON has occured, CSM Key OFF need to be sent       */
 
2300
                /* CSM mode: if CSM Key ON has occurred, CSM Key OFF need to be sent       */
2301
2301
                /* only if Timer A does not overflow again (i.e CSM Key ON not set again) */
2302
2302
                OPN->SL3.key_csm <<= 1;
2303
2303