Issue
Create AudioStrategyFactory to replace AudioModeFactory and AudioRendererFactory.
Background
Current architecture has separate factories for IAudioMode and IAudioRenderer. After consolidation to IAudioStrategy, we need a unified factory.
Goal
Create AudioStrategyFactory that:
- Creates IAudioStrategy instances based on configuration
- Supports ThreadedStrategy and SyncPullStrategy
- Injects required dependencies (IAudioHardwareProvider, logger)
- Provides clean API for strategy selection
Implementation Plan
- Create AudioStrategyFactory.h/cpp
- Implement createThreadedStrategy() method
- Implement createSyncPullStrategy() method
- Implement createStrategy() factory method (based on config)
- Inject IAudioHardwareProvider and logger
- Remove AudioModeFactory and AudioRendererFactory
Acceptance Criteria
- AudioStrategyFactory.h/cpp created
- Provides clean factory API for strategy creation
- Supports both ThreadedStrategy and SyncPullStrategy
- Injects IAudioHardwareProvider into strategies
- Injects logger into strategies
- All existing AudioModeFactory tests pass
- Clean build with no warnings
- AudioModeFactory and AudioRendererFactory removed
Testing
- Unit tests for AudioStrategyFactory
- Integration tests with CLIMain
- All smoke tests pass
- No behavioral changes
Dependencies
Related Issues
Issue
Create AudioStrategyFactory to replace AudioModeFactory and AudioRendererFactory.
Background
Current architecture has separate factories for IAudioMode and IAudioRenderer. After consolidation to IAudioStrategy, we need a unified factory.
Goal
Create AudioStrategyFactory that:
Implementation Plan
Acceptance Criteria
Testing
Dependencies
Related Issues