[beast: 13/15] BSE: remove unused bse-wave-load-wave
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 13/15] BSE: remove unused bse-wave-load-wave
- Date: Mon, 5 Oct 2015 22:53:15 +0000 (UTC)
commit 1dacff513761e9ca9118a74bcf24ef01ec75c075
Author: Tim Janik <timj gnu org>
Date: Fri Sep 25 11:44:33 2015 +0200
BSE: remove unused bse-wave-load-wave
bse/bsewave.proc | 34 ----------------------------------
1 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/bse/bsewave.proc b/bse/bsewave.proc
index b592201..8be680f 100644
--- a/bse/bsewave.proc
+++ b/bse/bsewave.proc
@@ -10,40 +10,6 @@ AUTHORS = "Tim Janik <timj gtk org>";
LICENSE = "GNU Lesser General Public License";
-METHOD (BseWave, load-wave) {
- HELP = "Load sample chunks from a wave file";
- IN = bse_param_spec_object ("wave", "Wave", "Wave object to store loaded contents",
- BSE_TYPE_WAVE, SFI_PARAM_STANDARD);
- IN = sfi_pspec_string ("file_name", "File Name", "The wave file to read wave chunks from",
- NULL, SFI_PARAM_STANDARD);
- IN = sfi_pspec_string ("wave_name", "Wave Name", "The name of the wave to read wave chunks from",
- NULL, SFI_PARAM_STANDARD);
- OUT = bse_param_spec_genum ("error", "Error", "BSE error type",
- BSE_TYPE_ERROR_TYPE, Bse::ERROR_NONE,
- SFI_PARAM_STANDARD);
-}
-BODY (BseProcedureClass *proc,
- const GValue *in_values,
- GValue *out_values)
-{
- /* extract parameter values */
- BseWave *wave = (BseWave*) bse_value_get_object (in_values++);
- const char *file_name = sfi_value_get_string (in_values++);
- const char *wave_name = sfi_value_get_string (in_values++);
- Bse::ErrorType error = Bse::ERROR_NONE;
-
- /* check parameters */
- if (!BSE_IS_WAVE (wave) || !file_name || !wave_name)
- return Bse::ERROR_PROC_PARAM_INVAL;
-
- error = bse_wave_load_wave_file (wave, file_name, wave_name, NULL, NULL, TRUE);
-
- /* set output parameters */
- g_value_set_enum (out_values++, error);
-
- return Bse::ERROR_NONE;
-}
-
METHOD (BseWave, n-wave-chunks) {
HELP = "Get the number of wave chunks of a wave";
IN = bse_param_spec_object ("wave", "Wave", NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]