Skip to content

Commit

Permalink
ALSA: opti-miro: expose ACI mixer to outside drivers
Browse files Browse the repository at this point in the history
The ACI mixer is used to control the radio FM module
installed on the Miro PCM20 sound card. Expose ACI mixer
outside the sound card driver.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Krzysztof Helt authored and Takashi Iwai committed Nov 23, 2009
1 parent 9aeba62 commit 9dc9120
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 105 deletions.
17 changes: 17 additions & 0 deletions include/sound/aci.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,21 @@
#define ACI_SET_EQ6 0x45
#define ACI_SET_EQ7 0x46 /* ... to Treble */

struct snd_miro_aci {
unsigned long aci_port;
int aci_vendor;
int aci_product;
int aci_version;
int aci_amp;
int aci_preamp;
int aci_solomode;

struct mutex aci_mutex;
};

int snd_aci_cmd(struct snd_miro_aci *aci, int write1, int write2, int write3);

struct snd_miro_aci *snd_aci_get_aci(void);

#endif /* _ACI_H_ */

Loading

0 comments on commit 9dc9120

Please sign in to comment.