dummy.c (9b151fec139d32ab3acce5da5761d868e205fadd) | dummy.c (b888d1ce82ebd2bafecf64c765754968e78b4228) |
---|---|
1/* 2 * Dummy soundcard 3 * Copyright (c) by Jaroslav Kysela <perex@perex.cz> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 28 unchanged lines hidden (view full) --- 37#include <sound/initval.h> 38 39MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); 40MODULE_DESCRIPTION("Dummy soundcard (/dev/null)"); 41MODULE_LICENSE("GPL"); 42MODULE_SUPPORTED_DEVICE("{{ALSA,Dummy soundcard}}"); 43 44#define MAX_PCM_DEVICES 4 | 1/* 2 * Dummy soundcard 3 * Copyright (c) by Jaroslav Kysela <perex@perex.cz> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 28 unchanged lines hidden (view full) --- 37#include <sound/initval.h> 38 39MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); 40MODULE_DESCRIPTION("Dummy soundcard (/dev/null)"); 41MODULE_LICENSE("GPL"); 42MODULE_SUPPORTED_DEVICE("{{ALSA,Dummy soundcard}}"); 43 44#define MAX_PCM_DEVICES 4 |
45#define MAX_PCM_SUBSTREAMS 16 | 45#define MAX_PCM_SUBSTREAMS 128 |
46#define MAX_MIDI_DEVICES 2 47 48#if 0 /* emu10k1 emulation */ 49#define MAX_BUFFER_SIZE (128 * 1024) 50static int emu10k1_playback_constraints(struct snd_pcm_runtime *runtime) 51{ 52 int err; 53 err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); --- 1036 unchanged lines hidden --- | 46#define MAX_MIDI_DEVICES 2 47 48#if 0 /* emu10k1 emulation */ 49#define MAX_BUFFER_SIZE (128 * 1024) 50static int emu10k1_playback_constraints(struct snd_pcm_runtime *runtime) 51{ 52 int err; 53 err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); --- 1036 unchanged lines hidden --- |