Skip to content

use f32 float audio format#14

Open
hack-s wants to merge 5 commits intoprojectM-visualizer:masterfrom
hack-s:feature/f32-audio
Open

use f32 float audio format#14
hack-s wants to merge 5 commits intoprojectM-visualizer:masterfrom
hack-s:feature/f32-audio

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
Member

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

@mbaetgen-wup
Copy link

this change will be re-introduced later

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.

3 participants