File: sliderdata.c

package info (click to toggle)
audacity 2.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 86,844 kB
  • sloc: ansic: 225,005; cpp: 221,240; sh: 27,327; python: 16,896; makefile: 8,186; lisp: 8,002; perl: 317; xml: 307; sed: 16
file content (18 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* sliderdata.c -- shared data for slider abstraction in nyquist
 *
 * Roger B. Dannenberg
 * Jan 2013
 */

#include "sliderdata.h"

float slider_array[SLIDERS_MAX];

void set_slider(int index, float value)
{
    if (index >= 0 && index < SLIDERS_MAX) {
        slider_array[index] = value;
    }
}