Commit 47d7ec8
committed
fixes
audio fixes to reduce skipping, ui fixes using nesting in hstack vstack instead of custom constraints, increasing ui speed reducing constraint glitches, flatter layout, some buttons removed.
- Audio pipeline (Sources/AudioStreamer/AudioStreamer.m, HermesTests/AudioStreamerRetryTests.m, docs): removed the legacy state-controller glue, made the state controller mandatory, added ADTS fallback,
startup buffering, and strict content-length handling so retries happen before Core Audio plays truncated data. Tests were updated to cover the retry bookkeeping.
- UI/layout (Resources/Base.lproj/MainMenu.xib): rewrote the playback view using nested NSStackViews, removed the ad-hoc fixed widths that caused constraint spam, added explicit widths/minimums for the
playback stack/history pane, wrapped the album art so it stays square, and anchored the station list/history stacks so they don’t resize when cover art loads.
- Hover fields (Sources/Views/LabelHoverShowFieldCell.m): fixed the custom cell to only subtract the hover overlay’s width when it’s visible, so artist/title/album labels no longer clip to a single
word.
Put together, this commit keeps Auto Layout stable (no more “Unable to satisfy constraints” flurries), the hover labels show full text, the history view shows complete rows, and AudioStreamer handles
corrupted AAC chunks by buffering/retrying instead of glitching.
AudioStreamer: remove legacy glue, add ADTS fallback & startup buffer
UI: rebuilt playback pane with stack views, fixed hover labels, stabilize album art1 parent 1a93026 commit 47d7ec8
File tree
10 files changed
+597
-326
lines changed- Documentation
- Hermes.xcodeproj
- HermesTests
- Resources/Base.lproj
- Sources
- AudioStreamer
- Views
10 files changed
+597
-326
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
| 631 | + | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
813 | 812 | | |
814 | 813 | | |
815 | 814 | | |
| |||
820 | 819 | | |
821 | 820 | | |
822 | 821 | | |
823 | | - | |
| 822 | + | |
824 | 823 | | |
825 | 824 | | |
826 | 825 | | |
| |||
852 | 851 | | |
853 | 852 | | |
854 | 853 | | |
855 | | - | |
856 | 854 | | |
857 | 855 | | |
858 | 856 | | |
859 | 857 | | |
860 | 858 | | |
861 | 859 | | |
862 | | - | |
| 860 | + | |
863 | 861 | | |
864 | 862 | | |
865 | 863 | | |
| |||
884 | 882 | | |
885 | 883 | | |
886 | 884 | | |
887 | | - | |
888 | 885 | | |
889 | 886 | | |
890 | 887 | | |
| |||
908 | 905 | | |
909 | 906 | | |
910 | 907 | | |
911 | | - | |
| 908 | + | |
912 | 909 | | |
913 | 910 | | |
914 | 911 | | |
| |||
935 | 932 | | |
936 | 933 | | |
937 | 934 | | |
938 | | - | |
939 | 935 | | |
940 | 936 | | |
941 | 937 | | |
| |||
961 | 957 | | |
962 | 958 | | |
963 | 959 | | |
964 | | - | |
| 960 | + | |
965 | 961 | | |
966 | 962 | | |
967 | 963 | | |
| |||
1004 | 1000 | | |
1005 | 1001 | | |
1006 | 1002 | | |
| 1003 | + | |
1007 | 1004 | | |
1008 | 1005 | | |
1009 | 1006 | | |
| |||
1056 | 1053 | | |
1057 | 1054 | | |
1058 | 1055 | | |
| 1056 | + | |
1059 | 1057 | | |
1060 | 1058 | | |
1061 | 1059 | | |
| |||
1073 | 1071 | | |
1074 | 1072 | | |
1075 | 1073 | | |
| 1074 | + | |
1076 | 1075 | | |
1077 | 1076 | | |
1078 | 1077 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
94 | 117 | | |
0 commit comments