diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2012-10-13 12:55:02 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2012-10-13 12:55:02 +0200 |
commit | eae512666c652d8c9efbb5986a43f2f3ae82b687 (patch) | |
tree | 051e791839aee850260f094e7842527b2b13f5f3 /audio_hw.h | |
parent | 9b78c141abe0dcac335e5423f5ebdd05b481d1cc (diff) | |
download | hardware_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.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 { |