Skip to content

Commit

Permalink
Add method to determine if specttuner is running in early windowing mode
Browse files Browse the repository at this point in the history
  • Loading branch information
BatchDrake committed Feb 8, 2024
1 parent be2ffbd commit 0e5b64a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/include/sigutils/specttuner.h
Expand Up @@ -266,6 +266,13 @@ SU_METHOD(su_specttuner, void, force_state, enum sigutils_specttuner_state state
self->state = state;
}

SUINLINE
SU_GETTER(su_specttuner, SUBOOL, uses_early_windowing)
{
return self->params.early_windowing;
}


#ifndef __cplusplus

/* Internal */
Expand Down
1 change: 0 additions & 1 deletion src/sigutils/specttuner.c
Expand Up @@ -827,7 +827,6 @@ __su_specttuner_feed_channel(

curr = channel->fft;

printf("Done, delivering %d/%d\n", channel->width, channel->size);
return (channel->params.on_data)(
channel,
channel->params.privdata,
Expand Down

0 comments on commit 0e5b64a

Please sign in to comment.