Преглед на файлове

Update SGTL5000 keywords

dds
PaulStoffregen преди 10 години
родител
ревизия
66bb0f0c81
променени са 2 файла, в които са добавени 20 реда и са изтрити 20 реда
  1. +0
    -4
      control_sgtl5000.h
  2. +20
    -16
      keywords.txt

+ 0
- 4
control_sgtl5000.h Целия файл

@@ -63,8 +63,6 @@ public:
unsigned short adcHighPassFilterEnable(void);
unsigned short adcHighPassFilterFreeze(void);
unsigned short adcHighPassFilterDisable(void);
//unsigned short adcHighPassFilterControl(uint8_t bypass, uint8_t freeze);
//unsigned short adcHighPassFilterControl(uint8_t bypass);
unsigned short audioPreProcessorEnable(void);
unsigned short audioPostProcessorEnable(void);
unsigned short audioProcessorDisable(void);
@@ -91,9 +89,7 @@ protected:
bool muted;
bool volumeInteger(unsigned int n); // range: 0x00 to 0x80
uint16_t ana_ctrl;

unsigned char calcVol(float n, unsigned char range);

unsigned int read(unsigned int reg);
bool write(unsigned int reg, unsigned int val);
unsigned int modify(unsigned int reg, unsigned int val, unsigned int iMask);

+ 20
- 16
keywords.txt Целия файл

@@ -72,22 +72,26 @@ unmuteLineout KEYWORD2
micGain KEYWORD2
lineInLevel KEYWORD2
lineOutLevel KEYWORD2
lo_lvl KEYWORD2
dac_vol KEYWORD2
dap_mix_enable KEYWORD2
dap_enable KEYWORD2
dap_peqs KEYWORD2
dap_audio_eq KEYWORD2
dap_audio_eq_band KEYWORD2
dap_audio_eq_geq KEYWORD2
dap_audio_eq_tone KEYWORD2
load_peq KEYWORD2
dap_avc KEYWORD2
dap_avc_enable KEYWORD2
dap_bass_enhance KEYWORD2
dap_bass_enhance_enable KEYWORD2
dap_surround KEYWORD2
dap_surround_enable KEYWORD2
dacVolume KEYWORD2
adcHighPassFilterEnable KEYWORD2
adcHighPassFilterFreeze KEYWORD2
adcHighPassFilterDisable KEYWORD2
audioPreProcessorEnable KEYWORD2
audioPostProcessorEnable KEYWORD2
audioProcessorDisable KEYWORD2
eqFilterCount KEYWORD2
eqSelect KEYWORD2
eqBand KEYWORD2
eqBands KEYWORD2
eqFilter KEYWORD2
autoVolumeControl KEYWORD2
autoVolumeEnable KEYWORD2
autoVolumeDisable KEYWORD2
enhanceBass KEYWORD2
enhanceBassEnable KEYWORD2
enhanceBassDisable KEYWORD2
surroundSound KEYWORD2
surroundSoundEnable KEYWORD2
calcBiquad KEYWORD2



Loading…
Отказ
Запис