diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-09-17 07:08:13 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-09-17 07:08:13 +0000 |
commit | 1fc7a7ab4ac35a28d8c1a67f41bd11716a25acff (patch) | |
tree | acc4433c404ae7ec2927bdbc6bfb03159b712d5e /audio | |
parent | 7c654c1f39fb50e64fae23ff1373285ed622bad4 (diff) | |
download | ports-1fc7a7ab4ac35a28d8c1a67f41bd11716a25acff.tar.gz ports-1fc7a7ab4ac35a28d8c1a67f41bd11716a25acff.zip |
Notes
Diffstat (limited to 'audio')
6 files changed, 72 insertions, 0 deletions
diff --git a/audio/cheesetracker/files/patch-common::components::audio::sample_data.cpp b/audio/cheesetracker/files/patch-common::components::audio::sample_data.cpp new file mode 100644 index 000000000000..3f01b0ed2a8b --- /dev/null +++ b/audio/cheesetracker/files/patch-common::components::audio::sample_data.cpp @@ -0,0 +1,20 @@ +--- common/components/audio/sample_data.cpp.orig Thu Sep 16 18:34:33 2004 ++++ common/components/audio/sample_data.cpp Thu Sep 16 18:40:05 2004 +@@ -325,7 +325,7 @@ + + if (is_16bits) { + +- (void*)new_sample_8bits=malloc(size); ++ new_sample_8bits=(Sint8*)malloc(size); + if (new_sample_8bits==NULL) { + + ERROR("Cannot convert sample! not enough memory?"); +@@ -339,7 +339,7 @@ + } else { + + Sint8 *sample_8bits_ptr=(Sint8*)data_ptr; +- (void*)new_sample_16bits=malloc(size*2); ++ new_sample_16bits=(Sint16*)malloc(size*2); + if (new_sample_16bits==NULL) { + + ERROR("Cannot convert sample! not enough memory?"); diff --git a/audio/cheesetracker/files/patch-common::components::file::file_access.cpp b/audio/cheesetracker/files/patch-common::components::file::file_access.cpp new file mode 100644 index 000000000000..bafe440d5e2f --- /dev/null +++ b/audio/cheesetracker/files/patch-common::components::file::file_access.cpp @@ -0,0 +1,11 @@ +--- common/components/file/file_access.cpp.orig Fri Sep 17 10:37:01 2004 ++++ common/components/file/file_access.cpp Fri Sep 17 10:37:23 2004 +@@ -164,7 +164,7 @@ + + for (i=0;i<length;i++) { + +- get_byte((Uint8)aux_char); ++ get_byte((Uint8&)aux_char); + aux_string=aux_string+aux_char; + } + diff --git a/audio/cheesetracker/files/patch-common::drivers::posix::sound_driver_oss.cpp b/audio/cheesetracker/files/patch-common::drivers::posix::sound_driver_oss.cpp index 1eb58e78630c..de0efadc85d9 100644 --- a/audio/cheesetracker/files/patch-common::drivers::posix::sound_driver_oss.cpp +++ b/audio/cheesetracker/files/patch-common::drivers::posix::sound_driver_oss.cpp @@ -15,3 +15,12 @@ bool Sound_Driver_OSS::does_perform_disk_write() { +@@ -154,7 +162,7 @@ + + + +- (void*)audiobuffer=calloc(1,buffinf.fragsize); ++ audiobuffer=(Sint8*)calloc(1,buffinf.fragsize); + + if ( audiobuffer==NULL ) { + diff --git a/audio/cheesetracker/files/patch-common::drivers::posix::timer_sigalarm.cpp b/audio/cheesetracker/files/patch-common::drivers::posix::timer_sigalarm.cpp new file mode 100644 index 000000000000..c7e5931031dc --- /dev/null +++ b/audio/cheesetracker/files/patch-common::drivers::posix::timer_sigalarm.cpp @@ -0,0 +1,11 @@ +--- common/drivers/posix/timer_sigalarm.cpp.orig Fri Sep 17 10:49:31 2004 ++++ common/drivers/posix/timer_sigalarm.cpp Fri Sep 17 10:50:25 2004 +@@ -67,7 +67,7 @@ + + Timer_SigAlarm *dangit; + +- (void*)dangit=data; ++ dangit=(Timer_SigAlarm*)data; + + dangit->callback(); + diff --git a/audio/cheesetracker/files/patch-common::plugins::edit_effects::simple_edit_effects.cpp b/audio/cheesetracker/files/patch-common::plugins::edit_effects::simple_edit_effects.cpp new file mode 100644 index 000000000000..bde7f7a4c90b --- /dev/null +++ b/audio/cheesetracker/files/patch-common::plugins::edit_effects::simple_edit_effects.cpp @@ -0,0 +1,10 @@ +--- common/plugins/edit_effects/simple_edit_effects.cpp.orig Thu Sep 16 18:31:23 2004 ++++ common/plugins/edit_effects/simple_edit_effects.cpp Thu Sep 16 18:32:09 2004 +@@ -27,6 +27,7 @@ + // + + #include "simple_edit_effects.h" ++#include <math.h> + + /*********************************** + REVERSE diff --git a/audio/cheesetracker/files/patch-interface_binds::editor.cpp b/audio/cheesetracker/files/patch-interface_binds::editor.cpp new file mode 100644 index 000000000000..09b71b55a2fa --- /dev/null +++ b/audio/cheesetracker/files/patch-interface_binds::editor.cpp @@ -0,0 +1,11 @@ +--- interface_binds/editor.cpp.orig Fri Sep 17 11:15:06 2004 ++++ interface_binds/editor.cpp Fri Sep 17 11:30:35 2004 +@@ -358,7 +358,7 @@ + + void Editor::set_note_increment_table(Uint8* p_table) { + +- (Uint8*)note_increments=p_table; ++ note_increments=(char*)p_table; + + } + |