Re: Problem with setting period time and buffer time.

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

 



Ignacy Kasperowicz wrote:
> But what about buffer_time, why can't I set this time ?

The allowed range of values is hardware dependent, like the period time.
Use snd_pcm_hw_params_set_buffer_time_near().

> Anyway is there a method to play my wave for a specified short time?

Just write the data to the device.

What is the problem?


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