File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -61,15 +61,15 @@ typedef struct _audiosample_p_t {
61
61
audiosample_get_buffer_structure_fun get_buffer_structure ;
62
62
} audiosample_p_t ;
63
63
64
- uint32_t audiosample_sample_rate (void * sample_obj );
65
- uint8_t audiosample_bits_per_sample (void * sample_obj );
66
- uint8_t audiosample_channel_count (void * sample_obj );
67
- void audiosample_reset_buffer (void * sample_obj , bool single_channel , uint8_t audio_channel );
68
- audioio_get_buffer_result_t audiosample_get_buffer (void * sample_obj ,
64
+ uint32_t audiosample_sample_rate (mp_obj_t sample_obj );
65
+ uint8_t audiosample_bits_per_sample (mp_obj_t sample_obj );
66
+ uint8_t audiosample_channel_count (mp_obj_t sample_obj );
67
+ void audiosample_reset_buffer (mp_obj_t sample_obj , bool single_channel , uint8_t audio_channel );
68
+ audioio_get_buffer_result_t audiosample_get_buffer (mp_obj_t sample_obj ,
69
69
bool single_channel ,
70
70
uint8_t channel ,
71
71
uint8_t * * buffer , uint32_t * buffer_length );
72
- void audiosample_get_buffer_structure (void * sample_obj , bool single_channel ,
72
+ void audiosample_get_buffer_structure (mp_obj_t sample_obj , bool single_channel ,
73
73
bool * single_buffer , bool * samples_signed ,
74
74
uint32_t * max_buffer_length , uint8_t * spacing );
75
75
You can’t perform that action at this time.
0 commit comments