1 /* 2 * ALSA PCM device for the 3 * ALSA interface to cobalt PCM capture streams 4 * 5 * Copyright 2014-2015 Cisco Systems, Inc. and/or its affiliates. 6 * All rights reserved. 7 * 8 * This program is free software; you may redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; version 2 of the License. 11 * 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 13 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 15 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 16 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 17 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 * SOFTWARE. 20 */ 21 22 int snd_cobalt_pcm_create(struct snd_cobalt_card *cobsc); 23