blob: 71bdbc117cf90d0866f9bed759dafcf6f45faa5c [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12#ifndef _MSM_PCM_VOICE_H
13#define _MSM_PCM_VOICE_H
14#include <sound/apr_audio.h>
15
16
17struct msm_voice {
18 struct snd_pcm_substream *playback_substream;
19 struct snd_pcm_substream *capture_substream;
20
21 int instance;
22
23 struct mutex lock;
24
25 uint32_t samp_rate;
26 uint32_t channel_mode;
27
28 int playback_start;
29 int capture_start;
30};
31
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070032#endif /*_MSM_PCM_VOICE_H*/