From: "Clemens Ladisch" <cladisch@fastmail.net>
To: alsa-devel@alsa-project.org
Subject: Re: ALSA API as standards
Date: Fri, 30 Nov 2007 08:34:00 +0100 [thread overview]
Message-ID: <1196408040.2130.1224047259@webmail.messagingengine.com> (raw)
In-Reply-To: <20071129205523.GA11372@tango.0pointer.de>
Lennart Poettering wrote:
> Just a few random comments:
>
> > /* I/O */
> >
> > snd_input_stdio_open
> > snd_input_stdio_attach
> > snd_input_buffer_open
> > snd_input_close
> > snd_input_scanf
> > snd_input_gets
> > snd_input_getc
> > snd_input_ungetc
> >
> > snd_output_stdio_open
> > snd_output_stdio_attach
> > snd_output_buffer_open
> > snd_output_buffer_string
> > snd_output_close
> > snd_output_printf
> > snd_output_vprintf
> > snd_output_puts
> > snd_output_putc
> > snd_output_flush
>
> May I ask why these are exported at all? The seem to be some kind of
> STDOUT/STDIN abstraction, and have no place in a sound API I would
> say. Especially not in any "standardized" version of it.
The configuration code uses these functions to read and write .conf
files.
It might be useful for an application to have some private ALSA config
and to let ALSA read it from a file or from a string, but I don't think
this is something that belongs in LSB.
> > snd_pcm_dump
> > snd_pcm_dump_hw_setup
> > snd_pcm_dump_sw_setup
> > snd_pcm_dump_setup
> > snd_pcm_hw_params_dump
> > snd_pcm_sw_params_dump
> > snd_pcm_status_dump
>
> And these? They are not even documented, or am I blind?
Well, their documentation isn't less useful than that of most other
functions. ;-(
These functions are very valuable when debugging. I wouldn't want to
discourage anybody from using them.
If we include these functions, we'll have to include some of the
snd_output_* functions.
Regards,
Clemens
next prev parent reply other threads:[~2007-11-30 7:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 16:31 ALSA API as standards Takashi Iwai
2007-11-23 14:54 ` Takashi Iwai
2007-11-23 15:25 ` Blacklist (Re: ALSA API as standards) Takashi Iwai
2007-11-26 18:36 ` John Utz
2007-11-29 20:55 ` ALSA API as standards Lennart Poettering
2007-11-30 7:34 ` Clemens Ladisch [this message]
2007-11-30 9:19 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1196408040.2130.1224047259@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.