Claude
74d8788463
refactor: Remove obsolete streaming.rs and deprecated examples
Further cleanup of unused code after paradise/ removal.
## Removed Files
### Module (217 lines)
- **streaming.rs**: FLAC streaming decoder using claxon
- `ChannelReader`: Async Stream → sync Read adapter
- `StreamingPCMDecoder`: Claxon-based FLAC decoder
- `PCMChunk`: PCM data container
- **Reason**: Was only used by paradise/worker.rs (deleted)
- **Replacement**: RadioParadiseStreamSource uses pmoflac directly
### Examples (3 files)
- **show_source_image.rs**: Used deprecated RadioParadiseSource
- **with_cache.rs**: Used deprecated RadioParadiseSource
- **test_streaming.rs**: Used deleted streaming.rs module
- **Replacement**: radio_paradise_stream.rs example shows modern approach
## Updated
- **lib.rs**: Removed `pub mod streaming;`
## Remaining Examples
Valid examples using current API:
- ✅ now_playing.rs - API metadata access
- ✅ stream_block.rs - HTTP block streaming
- ✅ extract_track.rs - Per-track extraction (feature: per-track)
- ✅ radio_paradise_stream.rs - Modern pmoaudio integration
## Statistics
- Before: 3566 lines (after paradise/ removal)
- After: 3348 lines
- This cleanup: -218 lines (-6%)
- **Total removed since start: 3048 lines (-48%)**
## Testing
- ✅ All 23 tests pass
- ✅ Compilation successful with all features
- ✅ Examples compile (except per-track which requires feature)
2025-11-05 07:49:19 +00:00
..
2025-10-20 16:18:21 +02:00
2025-10-20 16:18:21 +02:00
2025-11-05 05:16:51 +00:00
2025-10-29 22:35:10 +01:00