1b285192aSMauro Carvalho Chehab /* 2b285192aSMauro Carvalho Chehab * ALSA PCM device for the 3b285192aSMauro Carvalho Chehab * ALSA interface to cx18 PCM capture streams 4b285192aSMauro Carvalho Chehab * 5b285192aSMauro Carvalho Chehab * Copyright (C) 2009 Andy Walls <awalls@md.metrocast.net> 6b285192aSMauro Carvalho Chehab * 7b285192aSMauro Carvalho Chehab * This program is free software; you can redistribute it and/or modify 8b285192aSMauro Carvalho Chehab * it under the terms of the GNU General Public License as published by 9b285192aSMauro Carvalho Chehab * the Free Software Foundation; either version 2 of the License, or 10b285192aSMauro Carvalho Chehab * (at your option) any later version. 11b285192aSMauro Carvalho Chehab * 12b285192aSMauro Carvalho Chehab * This program is distributed in the hope that it will be useful, 13b285192aSMauro Carvalho Chehab * but WITHOUT ANY WARRANTY; without even the implied warranty of 14b285192aSMauro Carvalho Chehab * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15b285192aSMauro Carvalho Chehab * GNU General Public License for more details. 16b285192aSMauro Carvalho Chehab * 17b285192aSMauro Carvalho Chehab * You should have received a copy of the GNU General Public License 18b285192aSMauro Carvalho Chehab * along with this program; if not, write to the Free Software 19b285192aSMauro Carvalho Chehab * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 20b285192aSMauro Carvalho Chehab * 02111-1307 USA 21b285192aSMauro Carvalho Chehab */ 22b285192aSMauro Carvalho Chehab 23b285192aSMauro Carvalho Chehab int __init snd_cx18_pcm_create(struct snd_cx18_card *cxsc); 24b285192aSMauro Carvalho Chehab 25b285192aSMauro Carvalho Chehab /* Used by cx18-mailbox to announce the PCM data to the module */ 26b285192aSMauro Carvalho Chehab void cx18_alsa_announce_pcm_data(struct snd_cx18_card *card, u8 *pcm_data, 27b285192aSMauro Carvalho Chehab size_t num_bytes); 28