Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284118
b: refs/heads/master
c: 862e141
h: refs/heads/master
v: v3
  • Loading branch information
Eliot Blennerhassett authored and Takashi Iwai committed Dec 22, 2011
1 parent 6d50070 commit 422a318
Show file tree
Hide file tree
Showing 3 changed files with 14 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: 50d5f773ecc42fec029530f0e2e22686ccdf0ac7
refs/heads/master: 862e14185b46e1d65d560c7dbaa0f2c842b71d20
3 changes: 3 additions & 0 deletions trunk/sound/pci/asihpi/hpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1347,6 +1347,9 @@ u16 hpi_volume_auto_fade_profile(u32 h_control,
short an_stop_gain0_01dB[HPI_MAX_CHANNELS], u32 duration_ms,
u16 profile);

u16 hpi_volume_query_auto_fade_profile(const u32 h_control, const u32 i,
u16 *profile);

/*****************/
/* Level control */
/*****************/
Expand Down
10 changes: 10 additions & 0 deletions trunk/sound/pci/asihpi/hpifunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2826,6 +2826,16 @@ u16 hpi_volume_auto_fade(u32 h_control,
duration_ms, HPI_VOLUME_AUTOFADE_LOG);
}

u16 hpi_volume_query_auto_fade_profile(const u32 h_volume, const u32 i,
u16 *profile)
{
u16 e;
u32 u;
e = hpi_control_query(h_volume, HPI_VOLUME_AUTOFADE, i, 0, &u);
*profile = (u16)u;
return e;
}

u16 hpi_vox_set_threshold(u32 h_control, short an_gain0_01dB)
{
struct hpi_message hm;
Expand Down

0 comments on commit 422a318

Please sign in to comment.