Projects
Multimedia
butt
butt-gcc6.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File butt-gcc6.patch of Package butt (Revision 6)
Currently displaying revision
6
,
Show latest
Index: butt-0.1.15/src/port_audio.cpp =================================================================== --- butt-0.1.15.orig/src/port_audio.cpp +++ butt-0.1.15/src/port_audio.cpp @@ -551,7 +551,7 @@ int snd_callback(const void *input, srconv_stream.input_frames = frameCount; srconv_stream.output_frames = frameCount*cfg.audio.channel * (srconv_stream.src_ratio+1) * sizeof(float); - src_short_to_float_array((short*)pa_pcm_buf, srconv_stream.data_in, frameCount*cfg.audio.channel); + src_short_to_float_array((short*)pa_pcm_buf, (float*)srconv_stream.data_in, frameCount*cfg.audio.channel); //The actual resample process src_process(srconv_state_stream, &srconv_stream); @@ -582,7 +582,7 @@ int snd_callback(const void *input, srconv_record.input_frames = frameCount; srconv_record.output_frames = frameCount*cfg.audio.channel * (srconv_record.src_ratio+1) * sizeof(float); - src_short_to_float_array((short*)pa_pcm_buf, srconv_record.data_in, frameCount*cfg.audio.channel); + src_short_to_float_array((short*)pa_pcm_buf, (float*)srconv_record.data_in, frameCount*cfg.audio.channel); //The actual resample process src_process(srconv_state_record, &srconv_record); @@ -773,10 +773,10 @@ void snd_close(void) Pa_CloseStream(stream); Pa_Terminate(); - free(srconv_stream.data_in); + free((void*)srconv_stream.data_in); free(srconv_stream.data_out); - free(srconv_record.data_in); + free((void*)srconv_record.data_in); free(srconv_record.data_out); free(pa_pcm_buf);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.