push
github
0 of 23 new or added lines in 7 files covered. (0.0%)
3917 existing lines in 105 files now uncovered.0 of 4086 relevant lines covered (0.0%)
0.0 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
UNCOV
3
|
module AudioProcessor |
× |
4 |
# Base class for processing audio files.
|
|
UNCOV
5
|
class Base |
× |
6 |
|
|
UNCOV
7
|
attr_reader :file
|
× |
8 |
|
|
UNCOV
9
|
def initialize(file) |
× |
UNCOV
10
|
@file = file
|
× |
UNCOV
11
|
end
|
× |
12 |
|
|
UNCOV
13
|
def transcode(_new_path, _audio_format, _tags = {}) |
× |
14 |
raise(NotImplementedError)
|
× |
UNCOV
15
|
end
|
× |
16 |
|
|
UNCOV
17
|
def trim(_new_path, _start, _duration) |
× |
18 |
raise(NotImplementedError)
|
× |
UNCOV
19
|
end
|
× |
20 |
|
|
UNCOV
21
|
def concat(_new_path, _others) |
× |
22 |
raise(NotImplementedError)
|
× |
UNCOV
23
|
end
|
× |
24 |
|
|
UNCOV
25
|
def tag(_tags) |
× |
26 |
raise(NotImplementedError)
|
× |
UNCOV
27
|
end
|
× |
28 |
|
|
UNCOV
29
|
def bitrate |
× |
30 |
raise(NotImplementedError)
|
× |
UNCOV
31
|
end
|
× |
32 |
|
|
UNCOV
33
|
def channels |
× |
34 |
raise(NotImplementedError)
|
× |
UNCOV
35
|
end
|
× |
36 |
|
|
UNCOV
37
|
def codec |
× |
38 |
raise(NotImplementedError)
|
× |
UNCOV
39
|
end
|
× |
40 |
|
|
UNCOV
41
|
def duration |
× |
42 |
raise(NotImplementedError)
|
× |
UNCOV
43
|
end
|
× |
44 |
|
|
UNCOV
45
|
end
|
× |
UNCOV
46
|
end
|
× |