Group :: Som
RPM: wavsplit
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: wavsplit-1.2.1-alt.patch
Download
Download
Makefile | 6 +--
test.sh | 57 ---------------------------
wavren | Bin 13901 -> 0 bytes
wavren.c | 15 +++----
wavsplit | Bin 25195 -> 0 bytes
wavsplit.c | 130 +++++++++++++++++++++++++++++--------------------------------
wavsplit.h | 36 ++++++++---------
7 files changed, 91 insertions(+), 153 deletions(-)
diff --git a/Makefile b/Makefile
old mode 100755
new mode 100644
index e6b636e..b961f80
--- a/Makefile
+++ b/Makefile
@@ -7,15 +7,15 @@ version = 1.2.1
CC = gcc
CFLAGS = -Wall
-LDFLAGS = -lm
+LDFLAGS =
all: wavsplit wavren
wavsplit: wavsplit.c wavsplit.h
- gcc $(CFLAGS) wavsplit.c $(LDFLAGS) -o $@
+ $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
wavren: wavren.c
- gcc $(CFLAGS) wavren.c -o $@
+ $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
install:
cp wavsplit $(BIN)
diff --git a/test.sh b/test.sh
deleted file mode 100755
index 49a2b7c..0000000
--- a/test.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-# minutes and seconds, frames - illegal frames
-./wavsplit --frames 12 ~/waves/long.wav 50:01:12.2 119:59:2.2
-
-# minutes and seconds, frames - illegal frames
-./wavsplit --frames 24 ~/waves/long.wav 50:01:24.0 119:59:2.2
-
-# minutes and seconds, frames - illegal frames
-./wavsplit --frames 25 ~/waves/long.wav 50:01:25.0 119:59:2.2
-
-# minutes and seconds, frames - illegal frames
-./wavsplit --frames 30 ~/waves/long.wav 50:01:30.0 119:59:2.2
-
-# minutes and seconds, frames - illegal frames
-./wavsplit --frames 75 ~/waves/long.wav 50:01:75.0 119:59:2.2
-
-# minutes and seconds, frames OK
-./wavsplit --frames 12 ~/waves/long.wav 50:01:11.99 119:59:2.2
-
-# minutes and seconds, frames OK
-./wavsplit --frames 24 ~/waves/long.wav 50:01:23.99 119:59:2.2
-
-# minutes and seconds, frames OK
-./wavsplit --frames 25 ~/waves/long.wav 50:01:24.99 119:59:2.2
-
-# minutes and seconds, frames OK
-./wavsplit --frames 30 ~/waves/long.wav 50:01:29.99 119:59:2.2
-
-# minutes and seconds, frames OK
-./wavsplit --frames 75 ~/waves/long.wav 50:01:74.99 119:59:2.2
-
-# minutes and seconds - illegal seconds
-./wavsplit ~/waves/long.wav 50:01.3 119:60.2
-
-# minutes and seconds OK
-./wavsplit ~/waves/long.wav 50:01.3 119:10.2
-
-# hours, minutes, seconds - illegal minutes
-./wavsplit --Hours ~/waves/long.wav 0:60:01.3 1:59:10.2
-
-# hours, minutes, seconds - illegal seconds
-./wavsplit --Hours ~/waves/long.wav 0:50:01.3 1:59:60.2
-
-# hours, minutes, seconds - OK
-./wavsplit --Hours ~/waves/long.wav 0:50:01.3 1:59:10.2
-
-# seconds
-./wavsplit --seconds ~/waves/long.wav 3001.3 7150.2
-
-# Track times: minutes and seconds, frames - OK
-./wavsplit --frames --tracktimes ~/waves/long.wav 3:1:74 2:50:20
-
-# Track times: hours, minutes, seconds - OK
-./wavsplit --seconds --tracktimes ~/waves/long.wav 180.3 240.0
-
-# hours, minutes, seconds - illegal order of splits (not ascending)
-./wavsplit --seconds ~/waves/long.wav 240.0 180.3 500.01
diff --git a/wavren b/wavren
deleted file mode 100755
index dabdb6d..0000000
--- a/wavren
+++ /dev/null
@@ -1,29 +0,0 @@
-ELF 84 |$ 4 ( "