audio: add VOICE_VOLUME ctl
commit6c95ab94f9f7e8d3156e4e16ecc7c499e141bb1a
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 17 Apr 2012 12:32:35 +0000 (17 14:32 +0200)
committermalc <av1474@comtv.ru>
Tue, 17 Apr 2012 12:57:57 +0000 (17 16:57 +0400)
tree04b8296de6173bcb0ef7a347badc38da0c7935a9
parent158fd3ce98afd21f2e2639600f6414ea703a9121
audio: add VOICE_VOLUME ctl

Add a new PCM control operation to update the stream volume on the
audio backend.  The argument given is a SWVoiceOut/SWVoiceIn.

v4:
- verified other backends didn't fail/assert on this new control
  they randomly return 0 or -1, but we ignore return value.

Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
audio/audio.c
audio/audio_int.h