tag | line | file | source code |
bend | 1841 | drivers/sound/sequencer.c | compute_finetune (unsigned long base_freq, int bend, int range) |
bend | 1846 | drivers/sound/sequencer.c | if (!bend) |
bend | 1857 | drivers/sound/sequencer.c | bend = bend * range / 8192; |
bend | 1858 | drivers/sound/sequencer.c | if (!bend) |
bend | 1861 | drivers/sound/sequencer.c | negative = bend < 0 ? 1 : 0; |
bend | 1863 | drivers/sound/sequencer.c | if (bend < 0) |
bend | 1864 | drivers/sound/sequencer.c | bend *= -1; |
bend | 1865 | drivers/sound/sequencer.c | if (bend > range) |
bend | 1866 | drivers/sound/sequencer.c | bend = range; |
bend | 1872 | drivers/sound/sequencer.c | while (bend > 2399) |
bend | 1875 | drivers/sound/sequencer.c | bend -= 2400; |
bend | 1878 | drivers/sound/sequencer.c | semitones = bend / 100; |
bend | 1879 | drivers/sound/sequencer.c | cents = bend % 100; |
bend | 54 | drivers/sound/sound_calls.h | unsigned long compute_finetune(unsigned long base_freq, int bend, int range); |