All of lore.kernel.org
 help / color / mirror / Atom feed
* snd_get_version() ?
@ 2002-11-04 19:32 Florian Bomers
  0 siblings, 0 replies; only message in thread
From: Florian Bomers @ 2002-11-04 19:32 UTC (permalink / raw)
  To: ALSA devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-04 19:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-04 19:32 snd_get_version() ? Florian Bomers

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.