This commit is contained in:
parent
1ca5e4a3a8
commit
aa5741eafb
8 changed files with 76 additions and 59 deletions
|
|
@ -78,7 +78,6 @@ function transformRecording(rec) {
|
|||
return {
|
||||
id: rec.id,
|
||||
source: rec.source_name,
|
||||
quality: 'good', // API doesn't track quality, default to good
|
||||
durationMinutes,
|
||||
startTime,
|
||||
endTime,
|
||||
|
|
@ -103,7 +102,6 @@ function transformRecording(rec) {
|
|||
})),
|
||||
sampleRate: rec.sample_rate || 44100,
|
||||
bitDepth: rec.bit_depth || 16,
|
||||
peakDB: -30,
|
||||
audioPath: rec.audio_path,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue