protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] snd_pcm_hw_params_set_format returns: invalid format


From: Luciano Giordana
Subject: Re: [Protux-devel] snd_pcm_hw_params_set_format returns: invalid format
Date: Thu, 5 Jun 2003 18:49:08 -0300
User-agent: KMail/1.4.3

Are you sure this code is from current CVS ?

> Also the setting of the channels isn't working:
>
>         // set the count of channels
>         r = snd_pcm_hw_params_set_channels(pcmHandle, hwparams, 10);
>         if (r < 0)
>

I checkd it on my current CVS snapshot,  and it is

        // set the count of channels
        r = snd_pcm_hw_params_set_channels(pcmHandle, hwparams, channels);
        if (r < 0)

maybe just an update problem?

anyway, I am adding a way to easy change the format, by modifying the API. 
might be available on next releases ( 0.17.6 or 0.17.7 )

Thanks




-- 
Best Regards
--
Luciano Giordana - Musician - Certified Java/GNU C++ Developer - Free Software 
Evangelist
Project Mustux - http://www.freesoftware.fsf.org/mustux
-- Once Palladium is up and running , I will become a hacker --




reply via email to

[Prev in Thread] Current Thread [Next in Thread]