xref: /linux/drivers/media/pci/cx18/cx18-alsa-pcm.h (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1 /*
2  *  ALSA PCM device for the
3  *  ALSA interface to cx18 PCM capture streams
4  *
5  *  Copyright (C) 2009  Andy Walls <awalls@md.metrocast.net>
6  *
7  *  This program is free software; you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation; either version 2 of the License, or
10  *  (at your option) any later version.
11  *
12  *  This program is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *  GNU General Public License for more details.
16  */
17 
18 int snd_cx18_pcm_create(struct snd_cx18_card *cxsc);
19 
20 /* Used by cx18-mailbox to announce the PCM data to the module */
21 void cx18_alsa_announce_pcm_data(struct snd_cx18_card *card, u8 *pcm_data,
22 				 size_t num_bytes);
23