Skip to content

Commit

Permalink
Split audio player
Browse files Browse the repository at this point in the history
The audio player had 2 roles:
 - handle the SDL audio output device;
 - resample input samples to maintain a target latency.

Extract the latter to a separate component (an "audio regulator"),
independent of SDL.
  • Loading branch information
rom1v committed Sep 23, 2024
1 parent 62776fb commit 0bb3955
Show file tree
Hide file tree
Showing 5 changed files with 507 additions and 440 deletions.
1 change: 1 addition & 0 deletions app/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ src = [
'src/adb/adb_parser.c',
'src/adb/adb_tunnel.c',
'src/audio_player.c',
'src/audio_regulator.c',
'src/cli.c',
'src/clock.c',
'src/compat.c',
Expand Down
Loading

0 comments on commit 0bb3955

Please sign in to comment.