summaryrefslogtreecommitdiffstats
path: root/core.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-25 14:05:10 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:48 +1100
commit6e5b92cb45996adaa309b9534a53ed81989986de (patch)
treee37af3e861121794f896dac70a86ebd90f5208ce /core.c
parent92492a28f45725d128edc3cb4fba47b08446c7c4 (diff)
Remove unused MODULE_SUPPORTED_DEVICE macros, removed obsolete comments
Added debug macros for Dummy AP Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'core.c')
-rw-r--r--core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core.c b/core.c
index a8554b7..b63944a 100644
--- a/core.c
+++ b/core.c
@@ -19,7 +19,6 @@ MODULE_AUTHOR("James O'Shannessy <james.oshannessy@fiberdyne.com.au>");
MODULE_AUTHOR("Mark Farrugia <mark.farrugia@fiberdyne.com.au>");
MODULE_DESCRIPTION("ALSA virtual, dynamic soundcard");
MODULE_LICENSE("GPL v2");
-MODULE_SUPPORTED_DEVICE("{{ALSA,AVIRT soundcard}}");
#define D_LOGNAME "core"
@@ -196,6 +195,7 @@ static struct snd_pcm *pcm_create(struct avirt_stream *stream)
struct snd_pcm *pcm;
int err;
+ /** Special case: loopback */
if (!strcmp(stream->map, "ap_loopback")) {
playback = true;
capture = true;
@@ -212,8 +212,6 @@ static struct snd_pcm *pcm_create(struct avirt_stream *stream)
if (err < 0)
return ERR_PTR(err);
- // TD MF: IMPORTANT: NEED TO TEST >8 PCM DEVICES ON A
- // CARD!
/** Register driver callbacks */
if (playback)
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_ops);