-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NCO Frequency cannot be set with LIQUID_VCO_DIRECT #362
Comments
Tagging @ArtemPisarenko. |
Issue isn't clear for me. Did you mean that NCO objects created with different types have different methods for setting/getting frequency? If so, then it's a choice of whole library design considerations. Should same module objects have fully identical API (allowing different sub-types to change only internal behaviour and characteristics)? If so, |
Ok, my apologies. There are two things going on that are related. You're correct that the user can set the frequency of The second (which was the origin for this issue) is that there are now separate methods for getting/setting frequencies based on types. As you point out, this is a choice of library design considerations. I really see one of two options for how the NCO functionality should work:
My preference would be for option 1, but I understand your reasoning for choosing the interface you did. In my opinion, the What are your thoughts? (p.s. thank you for supporting this conversation; I've found it very useful!) |
I haven't any preferences about design choices, because I haven't used the library for a long time and hardly remember things I did :) I agree that The only important thing I see is how much user be happy with limitations of current |
The user can specify
nco_crcf_create(LIQUID_VCO_DIRECT)
but then later cannot set the frequency using the common interfacenco_crcf_set_frequency(q, 0.12345f)
. The frequency can only be set with an internal methodnco_crcf_set_vcodirect_frequency()
which is not exposed to the user.The text was updated successfully, but these errors were encountered: