mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Rename some more test source files.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "../test_common/ma_test_common.c"
|
#include "../common/common.c"
|
||||||
|
|
||||||
ma_result init_data_converter(ma_uint32 rateIn, ma_uint32 rateOut, ma_resample_algorithm algorithm, ma_data_converter* pDataConverter)
|
ma_result init_data_converter(ma_uint32 rateIn, ma_uint32 rateOut, ma_resample_algorithm algorithm, ma_data_converter* pDataConverter)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ will receive the captured audio.
|
|||||||
If multiple backends are specified, the priority will be based on the order in which you specify them. If multiple waveform or noise types
|
If multiple backends are specified, the priority will be based on the order in which you specify them. If multiple waveform or noise types
|
||||||
are specified the last one on the command line will have priority.
|
are specified the last one on the command line will have priority.
|
||||||
*/
|
*/
|
||||||
#include "../test_common/ma_test_common.c"
|
#include "../common/common.c"
|
||||||
|
|
||||||
#ifndef AUTO_CLOSE_TIME_IN_MILLISECONDS
|
#ifndef AUTO_CLOSE_TIME_IN_MILLISECONDS
|
||||||
#define AUTO_CLOSE_TIME_IN_MILLISECONDS 5000
|
#define AUTO_CLOSE_TIME_IN_MILLISECONDS 5000
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
#define MA_DEBUG_OUTPUT
|
#define MA_DEBUG_OUTPUT
|
||||||
#define MA_NO_DECODING
|
#define MA_NO_DECODING
|
||||||
#define MA_NO_ENCODING
|
#define MA_NO_ENCODING
|
||||||
#define MINIAUDIO_IMPLEMENTATION
|
#include "../../miniaudio.c"
|
||||||
#include "../../miniaudio.h"
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "../test_common/ma_test_common.c"
|
#include "../common/common.c"
|
||||||
|
|
||||||
ma_result filtering_init_decoder_and_encoder(const char* pInputFilePath, const char* pOutputFilePath, ma_format format, ma_uint32 channels, ma_uint32 sampleRate, ma_decoder* pDecoder, ma_encoder* pEncoder)
|
ma_result filtering_init_decoder_and_encoder(const char* pInputFilePath, const char* pOutputFilePath, ma_format format, ma_uint32 channels, ma_uint32 sampleRate, ma_decoder* pDecoder, ma_encoder* pEncoder)
|
||||||
{
|
{
|
||||||
@@ -24,14 +24,14 @@ ma_result filtering_init_decoder_and_encoder(const char* pInputFilePath, const c
|
|||||||
return MA_SUCCESS;
|
return MA_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "ma_test_filtering_dithering.c"
|
#include "filtering_dithering.c"
|
||||||
#include "ma_test_filtering_lpf.c"
|
#include "filtering_lpf.c"
|
||||||
#include "ma_test_filtering_hpf.c"
|
#include "filtering_hpf.c"
|
||||||
#include "ma_test_filtering_bpf.c"
|
#include "filtering_bpf.c"
|
||||||
#include "ma_test_filtering_notch.c"
|
#include "filtering_notch.c"
|
||||||
#include "ma_test_filtering_peak.c"
|
#include "filtering_peak.c"
|
||||||
#include "ma_test_filtering_loshelf.c"
|
#include "filtering_loshelf.c"
|
||||||
#include "ma_test_filtering_hishelf.c"
|
#include "filtering_hishelf.c"
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#define MA_NO_DEVICE_IO
|
#define MA_NO_DEVICE_IO
|
||||||
#include "../test_common/ma_test_common.c"
|
#include "../common/common.c"
|
||||||
|
|
||||||
#include "ma_test_generation_noise.c"
|
#include "generation_noise.c"
|
||||||
#include "ma_test_generation_waveform.c"
|
#include "generation_waveform.c"
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user