summaryrefslogtreecommitdiffstats
path: root/audio_hw.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2012-10-13 12:55:02 +0200
committerPaul Kocialkowski <contact@paulk.fr>2012-10-13 12:55:02 +0200
commiteae512666c652d8c9efbb5986a43f2f3ae82b687 (patch)
tree051e791839aee850260f094e7842527b2b13f5f3 /audio_hw.h
parent9b78c141abe0dcac335e5423f5ebdd05b481d1cc (diff)
downloadhardware_tinyalsa-audio-eae512666c652d8c9efbb5986a43f2f3ae82b687.zip
hardware_tinyalsa-audio-eae512666c652d8c9efbb5986a43f2f3ae82b687.tar.gz
hardware_tinyalsa-audio-eae512666c652d8c9efbb5986a43f2f3ae82b687.tar.bz2
Output: Set sample rate, channels and format from mixer values
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'audio_hw.h')
-rw-r--r--audio_hw.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio_hw.h b/audio_hw.h
index 7343fb2..cc7f963 100644
--- a/audio_hw.h
+++ b/audio_hw.h
@@ -25,11 +25,23 @@
struct tinyalsa_audio_stream_out {
struct audio_stream_out stream;
struct tinyalsa_audio_device *device;
+
+ struct tinyalsa_mixer_io_props *mixer_props;
+
+ int rate;
+ audio_channels_t channels;
+ audio_format_t format;
};
struct tinyalsa_audio_stream_in {
struct audio_stream_in stream;
struct tinyalsa_audio_device *device;
+
+ struct tinyalsa_mixer_io_props *mixer_props;
+
+ int rate;
+ audio_channels_t channels;
+ audio_format_t format;
};
struct tinyalsa_audio_device {