Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248311
b: refs/heads/master
c: dad31ec
h: refs/heads/master
i:
  248309: d938e30
  248307: 5df63cc
  248303: cac388c
v: v3
  • Loading branch information
Peter Hsiang authored and Mark Brown committed Apr 20, 2011
1 parent b215efa commit b328a04
Show file tree
Hide file tree
Showing 4 changed files with 435 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dea8b6eef03afdec475b981fca8622c41f8de7e2
refs/heads/master: dad31ec133adb20c8fd10bfd9379da3f08b8721e
28 changes: 28 additions & 0 deletions trunk/include/sound/max98095.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,36 @@
#ifndef __SOUND_MAX98095_PDATA_H__
#define __SOUND_MAX98095_PDATA_H__

/* Equalizer filter response configuration */
struct max98095_eq_cfg {
const char *name;
unsigned int rate;
u16 band1[5];
u16 band2[5];
u16 band3[5];
u16 band4[5];
u16 band5[5];
};

/* Biquad filter response configuration */
struct max98095_biquad_cfg {
const char *name;
unsigned int rate;
u16 band1[5];
u16 band2[5];
};

/* codec platform data */
struct max98095_pdata {

/* Equalizers for DAI1 and DAI2 */
struct max98095_eq_cfg *eq_cfg;
unsigned int eq_cfgcnt;

/* Biquad filter for DAI1 and DAI2 */
struct max98095_biquad_cfg *bq_cfg;
unsigned int bq_cfgcnt;

/* Analog/digital microphone configuration:
* 0 = analog microphone input (normal setting)
* 1 = digital microphone input
Expand Down
Loading

0 comments on commit b328a04

Please sign in to comment.