feat(processed-audio-sources): phase 7 - testing and polish
Fix test_list_filters test (filter_id field name mismatch). Add tests for audio filters, template store, and source store. All 678 tests pass, ruff clean, tsc clean, esbuild clean. No dead code remaining from old source types.
This commit is contained in:
@@ -605,10 +605,3 @@ function _renderAudioSpectrum() {
|
||||
}
|
||||
}
|
||||
|
||||
// ── Removed types ─────────────────────────────────────────────
|
||||
// MonoAudioSource and BandExtractAudioSource have been removed.
|
||||
// Channel selection is now handled by the channel_extract audio filter.
|
||||
// Band filtering is now handled by the band_extract audio filter.
|
||||
// These are applied via ProcessedAudioSource referencing an AudioProcessingTemplate.
|
||||
// Exported stubs for backward compatibility (no-op):
|
||||
export function onBandPresetChange() { /* removed */ }
|
||||
|
||||
@@ -1258,8 +1258,7 @@ export async function saveStream() {
|
||||
|
||||
if (!name) { showToast(t('streams.error.required'), 'error'); return; }
|
||||
|
||||
const payload: any = { name, description: description || null, tags: _streamTagsInput ? _streamTagsInput.getValue() : [] };
|
||||
if (!streamId) payload.stream_type = streamType;
|
||||
const payload: any = { name, stream_type: streamType, description: description || null, tags: _streamTagsInput ? _streamTagsInput.getValue() : [] };
|
||||
|
||||
if (streamType === 'raw') {
|
||||
payload.display_index = parseInt((document.getElementById('stream-display-index') as HTMLInputElement).value) || 0;
|
||||
|
||||
Reference in New Issue
Block a user