Skip to content

use f32 float audio format #14

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hack-s
Copy link
Contributor

@hack-s hack-s commented May 22, 2025

No description provided.

@hack-s hack-s force-pushed the feature/f32-audio branch from a8f26dd to b316456 Compare May 22, 2025 07:08
@hack-s hack-s force-pushed the feature/f32-audio branch from b316456 to cd4a7f5 Compare May 22, 2025 07:27
src/plugin.c Outdated
projectm_pcm_add_int16(plugin->priv->handle, (gint16 *)audioMap.data,
audioMap.size / 4, PROJECTM_STEREO);
projectm_pcm_add_float(plugin->priv->handle, (gfloat *)audioMap.data,
audioMap.size / 8, PROJECTM_STEREO);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be like sizeof(float)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, that's better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants