Re: [PATCH 2/2] add API to allow disabling period interrupt

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

 



Jaroslav Kysela wrote:
> On Tue, 2 Nov 2010, Clemens Ladisch wrote:
>>> + * It is not allowed to call this function when given configuration is not exactly one.
>>> ...
>>> +int snd_pcm_hw_params_can_disable_period_irq(const snd_pcm_hw_params_t *params)
>>
>> This function is useless because it cannot be called before
>> snd_pcm_hw_params_set_period_irq().
> 
> I don't think so. The info bits from the driver are used in this check 
> which are read-only.

All the snd_pcm_hw_params_can_* functions that read the info bits
are documented to require a completed configuration.  So they actually
don't, and there will never be a flag that depends on the configuration?


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux