docs(release-controller): fix stale POST mix/waveform comment - track-waveforms vault, duration-derived high-res

This commit is contained in:
daniel-c-harvey
2026-06-17 10:27:45 -04:00
parent accf20ba57
commit 3eef1a50f9
+4 -3
View File
@@ -107,9 +107,10 @@ public class ReleaseController : ControllerBase
}
// POST api/release/{id}/mix/waveform ([ApiKeyAuthorize], no body)
// Server-side trigger: fetch the Mix's track audio from the vault, compute a 2048-bucket waveform,
// store it in the mix-waveforms vault, and set MixMetadata.WaveformEntryKey. 404 when the release is
// missing or has no stored audio; 500 on compute/storage failure. Declared before "{id:long}".
// Server-side trigger: fetch the Mix's track audio from the vault, compute a duration-derived high-res
// waveform via ComputeAndStoreHighResAsync, store it in the track-waveforms vault, and set
// MixMetadata.WaveformEntryKey. 404 when the release is missing or has no stored audio; 500 on
// compute/storage failure. Declared before "{id:long}".
[ApiKeyAuthorize]
[HttpPost("{id:long}/mix/waveform")]
public async Task<ActionResult> GenerateMixWaveform(long id, CancellationToken ct = default)