mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioconvert: add log topic for resampler
This commit is contained in:
parent
bf783ab08f
commit
28393cb896
3 changed files with 12 additions and 0 deletions
|
|
@ -6,6 +6,11 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <spa/utils/defs.h>
|
||||
#include <spa/support/log.h>
|
||||
|
||||
#undef SPA_LOG_TOPIC_DEFAULT
|
||||
#define SPA_LOG_TOPIC_DEFAULT &resample_log_topic
|
||||
extern struct spa_log_topic resample_log_topic;
|
||||
|
||||
struct peaks {
|
||||
uint32_t cpu_flags;
|
||||
|
|
|
|||
|
|
@ -5,9 +5,14 @@
|
|||
#include <math.h>
|
||||
|
||||
#include <spa/utils/defs.h>
|
||||
#include <spa/support/log.h>
|
||||
|
||||
#include "resample.h"
|
||||
|
||||
#undef SPA_LOG_TOPIC_DEFAULT
|
||||
#define SPA_LOG_TOPIC_DEFAULT &resample_log_topic
|
||||
extern struct spa_log_topic resample_log_topic;
|
||||
|
||||
typedef void (*resample_func_t)(struct resample *r,
|
||||
const void * SPA_RESTRICT src[], uint32_t ioffs, uint32_t *in_len,
|
||||
void * SPA_RESTRICT dst[], uint32_t ooffs, uint32_t *out_len);
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
#include "resample-native-precomp.h"
|
||||
#endif
|
||||
|
||||
SPA_LOG_TOPIC_DEFINE(resample_log_topic, "spa.resample");
|
||||
|
||||
struct quality {
|
||||
uint32_t n_taps;
|
||||
double cutoff;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue