31 Mar
2011
31 Mar
'11
11:52 a.m.
At Thu, 31 Mar 2011 11:08:24 +1300, Eliot Blennerhassett wrote:
Currently defined locally in pcm_lib.c, this function would be useful for debug output from drivers too?
Any objection to exporting this function?
It's fine to me. Or, can this be a static inline function?
thanks,
Takashi
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.