-
Notifications
You must be signed in to change notification settings - Fork 323
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
some conversion functions are not implemented in pa_converters.c #35
Comments
Comment by @RossBencina removed assignment, i'm not taking responsibility for this, but i'll help if i can |
Comment by @RossBencina I havn't volunteered to fix this, but I have been working on some code to test the converters if anyone is interested please email me or the list. |
Comment by @RossBencina converter test code is in /test/patest_converters.c |
Comment by @RossBencina This ticket will be greatly simplified once we decide on this one: #112 -- require clipping for dithering sample conversion functions? |
Comment by @philburk I implemented the Float32 to UInt8 conversions so that the loopback test would pass. The loopback test uses Float32 as its primary internal data type. Still more to go. |
Comment by @RossBencina TRAC migration: propagating ticket status from TRAC |
Hello from 2023. Just FYI, this is still an issue for a small number of dithered converters. Here's the output of
The missing dithered i16 → i8 and i16 → ui8 converters are notably causing #168. |
@dechamps - Thanks for the reminder. I added this to the V19.8 milestone. |
#841 was work towards Int32_To_UInt8_Dither but was never finished (closed as abandoned). Could be useful as a reference. |
Issue created by @RossBencina
Conversion functions in src/common/pa_converters.c copy audio data between PortAudio native buffers and host buffers.
https://www.assembla.com/code/portaudio/subversion/nodes/1930/portaudio/trunk/src/common/pa_converters.c
Some conversion functions are marked IMPLEMENT ME and do not pass any audio, some are marked REVIEW and may not currently work as expected.
All IMPLEMENT_ME functions are dithered variants of existing non-dither functions, so the non-dithered versions can be used as a starting point.
See also /test/patest_converters.c
The text was updated successfully, but these errors were encountered: