mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-17 05:33:46 -04:00
Thomas Charbonnel <thomas@undata.org>:
updated to version 1.2.
This commit is contained in:
parent
a66f2e98b6
commit
6498fd396f
39 changed files with 1155 additions and 158 deletions
|
|
@ -21,7 +21,7 @@
|
|||
#pragma implementation
|
||||
#include "HC_SpdifFreq.h"
|
||||
|
||||
extern char *freqs[7];
|
||||
extern char *freqs[10];
|
||||
|
||||
HC_SpdifFreq::HC_SpdifFreq(int x, int y, int w, int h):Fl_Widget(x, y, w, h, "SPDIF Freq.")
|
||||
{
|
||||
|
|
@ -64,6 +64,15 @@ void HC_SpdifFreq::setFreq(int f)
|
|||
case 96000:
|
||||
freq = 5;
|
||||
break;
|
||||
case 128000:
|
||||
freq = 7;
|
||||
break;
|
||||
case 176400:
|
||||
freq = 8;
|
||||
break;
|
||||
case 192000:
|
||||
freq = 9;
|
||||
break;
|
||||
default:
|
||||
freq = 6;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue