Hello list,

I have a 32bit program running in a 64bit environment (CentOS 6, Kernel 
2.6.23, ALSA 1.0.24) that reads the peak and RMS levelmeter values from 
a HDSPM card via snd_hwdep_ioctl(), just in the same way as the 
hdspmixer does.
But the snd_hwdep_ioctl() everytime returns the invalid argument error code.
When I build my program as 64bit version, the call works as exspected. 
Unfortunately, I need a 32bit version due to 3rd party dependencies.

I also built the hdspmixer from alsatools-1.0.24 as 32 and 64 bit 
version (using the -m32 compiler and linker flags). The result is the 
same as for my program: 32bit version does not work.
So I assume that there is a problem with 32bit applications doing 
snd_hwdep_ioctl() calls to 64 bit ALSA kernel modules.

Any ideas or am I missing something?

Best regards,
Andreas Graefe

-- 
Andreas Gräfe
Software Development
__________________________________

andreas.gra...@iosono-sound.com

Office: +49 (361) 511 43 682

Fax:    +49 (361) 511 43 677

www.iosono-sound.com
__________________________________

IOSONO GmbH
Erich-Kaestner-Str. 1
99094 Erfurt / Germany

Registergericht: Amtsgericht Jena
Registernummer: HRB 306742
Geschäftsführer: Olaf Stepputat


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to