/* * Copyright (C) 2004 Steve Harris * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * $Id: meters.c,v 1.1.1.1 2004/02/17 23:33:50 swh Exp $ */ #include #include #include #include #include #include "main.h" #include "gtkmeter.h" #include "threads.h" #include "support.h" #define lin2db(lin) (20.0f * log10(lin)) static GtkAdjustment *meter_adj[MAX_PORTS]; void bind_meters() { unsigned int i; for (i=0; i