Re: Re: Alsa Compile Problems & Checking for GTKMM

Robert Hart <[email protected]> Thu, 05 Feb 2004 00:14:32 +0000
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <1075940072.13965.1.camel@euclid>
On Wed, 2004-02-04 at 23:26, Sam Varshavchik wrote:
> David Hough writes:
> 
> > -    int		m_channels, m_samplesPerFrame;
> > -    unsigned    m_samples;
> > +    int		m_channels, m_samples, m_samplesPerFrame;
> 
> Well, the new alsa-lib API uses unsigned int * as the argument to 
> snd_pcm_hw_params_set_rate_near.
> 
> This code is going to generate an ugly compiler warning.

See also the added:
#define ALSA_PCM_OLD_HW_PARAMS_API 1

Then have a grep through /usr/include/alsa/pcm.h and all will become
clear....

Rob

-- 
Robert Hart <[email protected]>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn