Skip to content

Commit 13beec4

Browse files
Prepared new prototypes
1 parent a59fee2 commit 13beec4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/audio_module.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
void Audio_Setup(void);
5757
void Audio_Output(const float *left, const float *right);
5858
void Audio_OutputMono(const int32_t *samples);
59+
void Audio_Output(const int32_t *samples);
60+
void Audio_Output(const int16_t *samples);
61+
void Audio_Output(const Q1_14 *samples);
5962
void Audio_Output(const int16_t *left, const int16_t *right);
6063
void Audio_Output(const Q1_14 *left, const Q1_14 *right);
6164
void Audio_Input(float *left, float *right);
@@ -405,6 +408,16 @@ void Audio_Output(const Q1_14 *mono)
405408
Audio_Output((const int16_t *)mono, (const int16_t *)mono);
406409
}
407410

411+
void Audio_Output(const int32_t *samples)
412+
{
413+
Audio_OutputMono(samples);
414+
}
415+
416+
void Audio_Output(const int16_t *samples)
417+
{
418+
Audio_Output((const int16_t *)samples, (const int16_t *)samples);
419+
}
420+
408421
void Audio_OutputMono(const int32_t *samples)
409422
{
410423
#ifdef OUTPUT_SAW_TEST

0 commit comments

Comments
 (0)