From 6c95ab94f9f7e8d3156e4e16ecc7c499e141bb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 17 Apr 2012 14:32:35 +0200 Subject: 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 Signed-off-by: malc --- audio/audio_int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'audio/audio_int.h') diff --git a/audio/audio_int.h b/audio/audio_int.h index 2003f8bf20..117f95e36b 100644 --- a/audio/audio_int.h +++ b/audio/audio_int.h @@ -231,6 +231,7 @@ void audio_run (const char *msg); #define VOICE_ENABLE 1 #define VOICE_DISABLE 2 +#define VOICE_VOLUME 3 static inline int audio_ring_dist (int dst, int src, int len) { -- cgit v1.2.1