File peak_detector_runner.c¶
FileList > csrc > peak_detector_runner.c
Go to the source code of this file
#include "peak_detector.h"#include <stddef.h>#include <stdint.h>#include <stdlib.h>
Public Functions¶
| Type | Name |
|---|---|
| int | detect_recording_i16 (const int16_t * samples, size_t n, const struct median_detector_cfg * cfg, int * positions, size_t capacity) Offline detekce nad celou nahrávkou (16bit). |
Public Functions Documentation¶
function detect_recording_i16¶
Offline detekce nad celou nahrávkou (16bit).
int detect_recording_i16 (
const int16_t * samples,
size_t n,
const struct median_detector_cfg * cfg,
int * positions,
size_t capacity
)
Parameters:
samplesvstupní pole vzorkůnpočet vzorkůcfgkonfiguracepositionsvýstupní pole pro nalezené pozice (absolutní indexy)capacitykapacita pole positions
Returns:
počet detekovaných pozic (>=0) nebo chybový kód (<0)
The documentation for this class was generated from the following file scripts/median-filter/csrc/peak_detector_runner.c