Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Bomers <Florian.Bomers@sun.com>
To: ALSA devel <alsa-devel@lists.sourceforge.net>
Subject: snd_get_version() ?
Date: Mon, 04 Nov 2002 11:32:36 -0800	[thread overview]
Message-ID: <3DC6CB54.E27A381E@sun.com> (raw)

Hi,

I need to retrieve the installed ALSA version from within my program at run
time, and I am missing functions like 

  void snd_get_str_version(char* buffer, int len);
  void snd_get_num_version(int* major, int* minor, int* subminor, int* suffix);

Currently I parse /proc/asound/version which is ugly and may break in future if
that string's format is modified.

Thanks,
Florian

-- 
Florian Bomers
Java Sound
Java Software/Sun Microsystems, Inc.
http://java.sun.com/products/java-media/sound/


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

                 reply	other threads:[~2002-11-04 19:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3DC6CB54.E27A381E@sun.com \
    --to=florian.bomers@sun.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox