2
0
Fork
You've already forked libsamplerate
0

Don't use conservative setting for CPU_CLIPS_NEGATIVE/CPU_CLIPS_POSITIVE #1

Open
opened 2026年07月12日 09:59:53 +02:00 by MasonRemaley · 0 comments

I've chosen a conservative setting for CPU_CLIPS_NEGATIVE/CPU_CLIPS_POSITIVE because I'm not quite sure how to determine this at build time for a cross target. This may degrade the perf of some resamplers on some machines.

Upstream picks this value by running a test program on the host machine at build time. This isn't viable here as we want to support cross compilation. I'm not sure how to determine this value for a given target, so I've set the value conservatively for now.

This is not high priority for me at the moment as I'm currently only using this library for offline processing, but contributions are welcome!

I've chosen a conservative setting for `CPU_CLIPS_NEGATIVE`/`CPU_CLIPS_POSITIVE` because I'm not quite sure how to determine this at build time for a cross target. This may degrade the perf of some resamplers on some machines. Upstream picks this value by running a test program on the host machine at build time. This isn't viable here as we want to support cross compilation. I'm not sure how to determine this value for a given target, so I've set the value conservatively for now. This is not high priority for me at the moment as I'm currently only using this library for offline processing, but contributions are welcome!
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
allyourcodebase/libsamplerate#1
Reference in a new issue
allyourcodebase/libsamplerate
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?