libasound minimum version

Paulo Moura Guedes moura at kdewebdev.org
Mon Jan 28 18:23:28 GMT 2008


Hi,

I have alsa 1.0.14 (kubuntu gutsy) and this version doesn't 
declare 'snd_device_name_hint'.

kdelibs/phonon/libkaudiodevicelist/CMakeLists.txt:

IF(ALSA_VERSION_STR AND NOT WIN32)
   IF(ALSA_VERSION_STR MATCHES "^1\\.(0\\.(1[4-9]|[2-9][0-9]+)|[1-9]
[0-9]*\\.)")
      ADD_DEFINITIONS(-DHAS_LIBASOUND_DEVICE_NAME_HINT)
      SET(HAVE_CURRENT_ALSA TRUE)
   ENDIF(ALSA_VERSION_STR MATCHES "^1\\.(0\\.(1[4-9]|[2-9][0-9]+)|[1-9]
[0-9]*\\.)")
ENDIF(ALSA_VERSION_STR AND NOT WIN32)

I guess the minimum should be at least 1.0.15, right?

Paulo




More information about the kde-core-devel mailing list