31 Mar
2011
31 Mar
'11
12:08 a.m.
Currently defined locally in pcm_lib.c, this function would be useful for debug output from drivers too?
Any objection to exporting this function?
static void pcm_debug_name(struct snd_pcm_substream *substream, char *name, size_t len) { snprintf(name, len, "pcmC%dD%d%c:%d", substream->pcm->card->number, substream->pcm->device, substream->stream ? 'c' : 'p', substream->number); }
--
Eliot Blennerhassett
AudioScience Inc.