Home

xmn / bettertrumpet

publicxammen/BetterTrumpet· sync paused
Overview Code History Branches Pull requestsIssuesInsights
master
HomeOverview Code PRsIssues

feat(v3.2): Redesigned flyout — device picker, media player, theme integration

6 months ago

59b9b0d
Authored
xammen3/18/2026, 11:25:40 PM
- Add FormFactor API to categorize audio devices (Headphones/Speakers)
- New DevicePickerViewModel with collapsible device list and radio selection
- Integrated Now Playing media card with album art, progress bar, play/pause/next/prev controls
- Device list with smooth height animation (expand/collapse)
- Global Mix slider anchored at bottom (DockPanel layout)
- Pin button as floating overlay (top-right)
- All colors use Opacity + theme inheritance instead of hardcoded values
- Theme-compatible: works with default dark, Matrix, accent colors, all custom themes
- Acrylic background uses FlyoutBackground theme brush
- DeviceView master volume hidden (replaced by Global Mix)
- Device switching notifies all devices for radio dot update
- MediaSessionService integration: track info, thumbnails, playback controls, timeline

Parentc9211ac

14 files changed
  • EarTrumpet/App.xaml+2−2
  • EarTrumpet/DataModel/Audio/Mocks/AudioDevice.cs+1−0
  • EarTrumpet/DataModel/WindowsAudio/IAudioDeviceWindowsAudio.cs+1−0
  • EarTrumpet/DataModel/WindowsAudio/Internal/AudioDevice.cs+9−0
  • EarTrumpet/EarTrumpet.csproj+8−0
  • EarTrumpet/Interop/PropertyKeys.cs+6−0
  • EarTrumpet/UI/ViewModels/DevicePickerViewModel.cs+321−0
EarTrumpet/UI/ViewModels/DeviceViewModel.cs
+5
−0
  • EarTrumpet/UI/ViewModels/FlyoutViewModel.cs+26−1
  • EarTrumpet/UI/Views/DevicePickerView.xaml+8−0
  • EarTrumpet/UI/Views/DevicePickerView.xaml.cs+75−0
  • EarTrumpet/UI/Views/DeviceView.xaml+2−1
  • EarTrumpet/UI/Views/FlyoutWindow.xaml+315−133
  • EarTrumpet/UI/Views/FlyoutWindow.xaml.cs+118−0