Skip to content

Commit ede320c

Browse files
committed
Remove unnecessary function declarations.
1 parent 762ff43 commit ede320c

File tree

10 files changed

+0
-37
lines changed

10 files changed

+0
-37
lines changed

shared-bindings/audiocore/RawSample.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@ void common_hal_audioio_rawsample_construct(audioio_rawsample_obj_t *self,
1616

1717
void common_hal_audioio_rawsample_deinit(audioio_rawsample_obj_t *self);
1818
bool common_hal_audioio_rawsample_deinited(audioio_rawsample_obj_t *self);
19-
uint32_t common_hal_audioio_rawsample_get_sample_rate(audioio_rawsample_obj_t *self);
20-
uint8_t common_hal_audioio_rawsample_get_bits_per_sample(audioio_rawsample_obj_t *self);
21-
uint8_t common_hal_audioio_rawsample_get_channel_count(audioio_rawsample_obj_t *self);
22-
void common_hal_audioio_rawsample_set_sample_rate(audioio_rawsample_obj_t *self, uint32_t sample_rate);

shared-bindings/audiocore/WaveFile.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ void common_hal_audioio_wavefile_construct(audioio_wavefile_obj_t *self,
1818

1919
void common_hal_audioio_wavefile_deinit(audioio_wavefile_obj_t *self);
2020
bool common_hal_audioio_wavefile_deinited(audioio_wavefile_obj_t *self);
21-
uint32_t common_hal_audioio_wavefile_get_sample_rate(audioio_wavefile_obj_t *self);
22-
void common_hal_audioio_wavefile_set_sample_rate(audioio_wavefile_obj_t *self, uint32_t sample_rate);
23-
uint8_t common_hal_audioio_wavefile_get_bits_per_sample(audioio_wavefile_obj_t *self);
24-
uint8_t common_hal_audioio_wavefile_get_channel_count(audioio_wavefile_obj_t *self);

shared-bindings/audiodelays/Echo.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ void common_hal_audiodelays_echo_construct(audiodelays_echo_obj_t *self, uint32_
1818
void common_hal_audiodelays_echo_deinit(audiodelays_echo_obj_t *self);
1919
bool common_hal_audiodelays_echo_deinited(audiodelays_echo_obj_t *self);
2020

21-
uint32_t common_hal_audiodelays_echo_get_sample_rate(audiodelays_echo_obj_t *self);
22-
uint8_t common_hal_audiodelays_echo_get_channel_count(audiodelays_echo_obj_t *self);
23-
uint8_t common_hal_audiodelays_echo_get_bits_per_sample(audiodelays_echo_obj_t *self);
24-
2521
mp_obj_t common_hal_audiodelays_echo_get_delay_ms(audiodelays_echo_obj_t *self);
2622
void common_hal_audiodelays_echo_set_delay_ms(audiodelays_echo_obj_t *self, mp_obj_t delay_ms);
2723

shared-bindings/audiodelays/PitchShift.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ void common_hal_audiodelays_pitch_shift_construct(audiodelays_pitch_shift_obj_t
1818
void common_hal_audiodelays_pitch_shift_deinit(audiodelays_pitch_shift_obj_t *self);
1919
bool common_hal_audiodelays_pitch_shift_deinited(audiodelays_pitch_shift_obj_t *self);
2020

21-
uint32_t common_hal_audiodelays_pitch_shift_get_sample_rate(audiodelays_pitch_shift_obj_t *self);
22-
uint8_t common_hal_audiodelays_pitch_shift_get_channel_count(audiodelays_pitch_shift_obj_t *self);
23-
uint8_t common_hal_audiodelays_pitch_shift_get_bits_per_sample(audiodelays_pitch_shift_obj_t *self);
24-
2521
mp_obj_t common_hal_audiodelays_pitch_shift_get_semitones(audiodelays_pitch_shift_obj_t *self);
2622
void common_hal_audiodelays_pitch_shift_set_semitones(audiodelays_pitch_shift_obj_t *self, mp_obj_t semitones);
2723

shared-bindings/audiofilters/Distortion.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ void common_hal_audiofilters_distortion_construct(audiofilters_distortion_obj_t
2020
void common_hal_audiofilters_distortion_deinit(audiofilters_distortion_obj_t *self);
2121
bool common_hal_audiofilters_distortion_deinited(audiofilters_distortion_obj_t *self);
2222

23-
uint32_t common_hal_audiofilters_distortion_get_sample_rate(audiofilters_distortion_obj_t *self);
24-
uint8_t common_hal_audiofilters_distortion_get_channel_count(audiofilters_distortion_obj_t *self);
25-
uint8_t common_hal_audiofilters_distortion_get_bits_per_sample(audiofilters_distortion_obj_t *self);
26-
2723
mp_obj_t common_hal_audiofilters_distortion_get_drive(audiofilters_distortion_obj_t *self);
2824
void common_hal_audiofilters_distortion_set_drive(audiofilters_distortion_obj_t *self, mp_obj_t arg);
2925

shared-bindings/audiofilters/Filter.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ void common_hal_audiofilters_filter_construct(audiofilters_filter_obj_t *self,
1818
void common_hal_audiofilters_filter_deinit(audiofilters_filter_obj_t *self);
1919
bool common_hal_audiofilters_filter_deinited(audiofilters_filter_obj_t *self);
2020

21-
uint32_t common_hal_audiofilters_filter_get_sample_rate(audiofilters_filter_obj_t *self);
22-
uint8_t common_hal_audiofilters_filter_get_channel_count(audiofilters_filter_obj_t *self);
23-
uint8_t common_hal_audiofilters_filter_get_bits_per_sample(audiofilters_filter_obj_t *self);
24-
2521
mp_obj_t common_hal_audiofilters_filter_get_filter(audiofilters_filter_obj_t *self);
2622
void common_hal_audiofilters_filter_set_filter(audiofilters_filter_obj_t *self, mp_obj_t arg);
2723

shared-bindings/audiomixer/Mixer.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,3 @@ void common_hal_audiomixer_mixer_deinit(audiomixer_mixer_obj_t *self);
2323
bool common_hal_audiomixer_mixer_deinited(audiomixer_mixer_obj_t *self);
2424

2525
bool common_hal_audiomixer_mixer_get_playing(audiomixer_mixer_obj_t *self);
26-
uint32_t common_hal_audiomixer_mixer_get_sample_rate(audiomixer_mixer_obj_t *self);
27-
uint8_t common_hal_audiomixer_mixer_get_channel_count(audiomixer_mixer_obj_t *self);
28-
uint8_t common_hal_audiomixer_mixer_get_bits_per_sample(audiomixer_mixer_obj_t *self);

shared-bindings/audiomp3/MP3Decoder.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,5 @@ void common_hal_audiomp3_mp3file_construct(audiomp3_mp3file_obj_t *self,
1919

2020
void common_hal_audiomp3_mp3file_set_file(audiomp3_mp3file_obj_t *self, mp_obj_t stream);
2121
void common_hal_audiomp3_mp3file_deinit(audiomp3_mp3file_obj_t *self);
22-
uint32_t common_hal_audiomp3_mp3file_get_sample_rate(audiomp3_mp3file_obj_t *self);
23-
void common_hal_audiomp3_mp3file_set_sample_rate(audiomp3_mp3file_obj_t *self, uint32_t sample_rate);
24-
uint8_t common_hal_audiomp3_mp3file_get_bits_per_sample(audiomp3_mp3file_obj_t *self);
25-
uint8_t common_hal_audiomp3_mp3file_get_channel_count(audiomp3_mp3file_obj_t *self);
2622
float common_hal_audiomp3_mp3file_get_rms_level(audiomp3_mp3file_obj_t *self);
2723
uint32_t common_hal_audiomp3_mp3file_get_samples_decoded(audiomp3_mp3file_obj_t *self);

shared-bindings/synthio/MidiTrack.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@ extern const mp_obj_type_t synthio_miditrack_type;
1414
void common_hal_synthio_miditrack_construct(synthio_miditrack_obj_t *self, const uint8_t *buffer, uint32_t len, uint32_t tempo, uint32_t sample_rate, mp_obj_t waveform_obj, mp_obj_t filter_obj, mp_obj_t envelope_obj);
1515

1616
void common_hal_synthio_miditrack_deinit(synthio_miditrack_obj_t *self);
17-
uint32_t common_hal_synthio_miditrack_get_sample_rate(synthio_miditrack_obj_t *self);
18-
uint8_t common_hal_synthio_miditrack_get_bits_per_sample(synthio_miditrack_obj_t *self);
19-
uint8_t common_hal_synthio_miditrack_get_channel_count(synthio_miditrack_obj_t *self);
2017
mp_int_t common_hal_synthio_miditrack_get_error_location(synthio_miditrack_obj_t *self);

shared-bindings/synthio/Synthesizer.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ void common_hal_synthio_synthesizer_construct(synthio_synthesizer_obj_t *self,
1515
uint32_t sample_rate, int channel_count, mp_obj_t waveform_obj,
1616
mp_obj_t envelope_obj);
1717
void common_hal_synthio_synthesizer_deinit(synthio_synthesizer_obj_t *self);
18-
uint32_t common_hal_synthio_synthesizer_get_sample_rate(synthio_synthesizer_obj_t *self);
19-
uint8_t common_hal_synthio_synthesizer_get_bits_per_sample(synthio_synthesizer_obj_t *self);
20-
uint8_t common_hal_synthio_synthesizer_get_channel_count(synthio_synthesizer_obj_t *self);
2118
void common_hal_synthio_synthesizer_release(synthio_synthesizer_obj_t *self, mp_obj_t to_release);
2219
void common_hal_synthio_synthesizer_press(synthio_synthesizer_obj_t *self, mp_obj_t to_press);
2320
void common_hal_synthio_synthesizer_retrigger(synthio_synthesizer_obj_t *self, mp_obj_t to_retrigger);

0 commit comments

Comments
 (0)