When using the functions get_samples() or get_channels() the lists internal to the class are returned.
This can cause some problems if the externally assigned variable is modified in any way.
I think returning a copy of the internal lists instead of the lists themselves should prevent any related issues.
When using the functions get_samples() or get_channels() the lists internal to the class are returned.
This can cause some problems if the externally assigned variable is modified in any way.
I think returning a copy of the internal lists instead of the lists themselves should prevent any related issues.