diff options
author | Ravindra Lokhande <rlokhande@nvidia.com> | 2010-12-08 18:54:09 +0530 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2010-12-20 16:31:56 -0800 |
commit | 1508f7aa5850b1ac02d9876eb5dac34356c86244 (patch) | |
tree | 87f37b92c645a3114e76dee5af952f82f1819fac /sound/soc/tegra/tegra_transport.h | |
parent | 75f8537e1c8c8a0dc5e694d6baf1a09ecdd15ffe (diff) |
[tegra ALSA] set mode and i/o device.tegra-10.9.8
Set mode and input, output device for newly
created device 1.
Needed for bug 738770
Change-Id: I01ef4efb018a32cca8b1a0ff1e63f2a8de63dbfe
Reviewed-on: http://git-master/r/12314
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Tested-by: Ravindra Lokhande <rlokhande@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_transport.h')
-rw-r--r-- | sound/soc/tegra/tegra_transport.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_transport.h b/sound/soc/tegra/tegra_transport.h index 7863efbee64d..16a2f2977e6c 100644 --- a/sound/soc/tegra/tegra_transport.h +++ b/sound/soc/tegra/tegra_transport.h @@ -420,7 +420,6 @@ struct tegra_audio_data { NvAudioFxObjectHandle i2s1_rec_split; NvAudioFxObjectHandle i2s2_rec_split; NvAudioFxObjectHandle mroute; - NvAudioFxIoDevice mi2s1_device_available; NvAudioFxIoDevice mspdif_device_available; int spdif_plugin; int i2s1volume; @@ -428,6 +427,12 @@ struct tegra_audio_data { struct mutex lock; }; +struct tegra_audio_state_t { + NvAudioFxIoDevice devices_available; + NvAudioFxMode audio_mode; + struct mutex mutex_lock; +}; + int tegra_audiofx_init(struct tegra_audio_data* tegra_snd_cx); NvError tegra_audiofx_createfx(struct tegra_audio_data *audio_context); void tegra_audiofx_destroyfx(struct tegra_audio_data *audio_context); |