buffer size for alsa plugin

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

 



Hi alsa team,


I need some help regarding alsa external filter plugin.

i have to create a external alsa filter plugin in which the "transfer" function will receive the input buffer, with say size "x". but then we will have to apply some algo on input data and the output buffer will be of size "2x".

but this "2x" buffer when will be given to slave pligin it will only consider "x" size of data as valid, so how can we tell the slave plugin that the valid size is "2x"?

also similar to buffer size we have to get input sample rate as 48K, but the output buffer of "2x" applies to 96K sample rate.

Please let us know how to implement this change of buffer size and sample rate within the plugin and how to communicate it to the slave plugin.


Regards,
remu
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux