Skip to content

Commit eea9b62

Browse files
committed
synthio: MidiTrack: sample_rate is always available
1 parent dd26225 commit eea9b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/synthio/MidiTrack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ STATIC mp_obj_t synthio_miditrack_obj___exit__(size_t n_args, const mp_obj_t *ar
138138
}
139139
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(synthio_miditrack___exit___obj, 4, 4, synthio_miditrack_obj___exit__);
140140

141-
//| sample_rate: Optional[int]
141+
//| sample_rate: int
142142
//| """32 bit value that tells how quickly samples are played in Hertz (cycles per second)."""
143143
//|
144144
STATIC mp_obj_t synthio_miditrack_obj_get_sample_rate(mp_obj_t self_in) {

0 commit comments

Comments
 (0)