[Bug 74762] kdemultimedia 3.2.0 doesn't compile with alsa 1.0

Philip Nelson teamdba at scotdb.com
Tue Mar 16 01:04:41 GMT 2004

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

------- Additional Comments From teamdba scotdb com  2004-03-16 02:04 -------
Created an attachment (id=5231)
 --> (http://bugs.kde.org/attachment.cgi?id=5231&action=view)
Patch against 3.2.1 

This is the first time ever I have submitted a patch for any open source
project, so please deal kindly with me !!!  I've not even done any C for about
6 years, and then only a two week course which I've not used since !!!
This bug report is for an identical problem in 3.2.0.  
The ALSA PCM API has changed from ALSA 0.9.x to 1.0.x (I have alsalib 1.0.3b).
The latest kernel (2.6.4) uses ALSA 1.0, and so this module fails to compile.
I discovered the header file alsa/version.h, which has SND_LIB_MAJOR defined.
So I use #if, #else, #endif processing to do different things for the two
API formats.
If there is anything I've not done properly, or you want to get me to rework
anything then you can email me on teamdba scotdb com

More information about the kde-multimedia mailing list