213 Commits

Author SHA1 Message Date
Matt Nadareski
f28de1a13d Fix comments 2021-06-28 21:17:53 -07:00
Matt Nadareski
60edd57771 Use IOpticalMediaImage, check 4CH, better subchannel usage 2021-06-28 21:08:16 -07:00
Matt Nadareski
a8ccfe2034 Separate loading into a new method 2021-06-21 22:45:43 -07:00
Matt Nadareski
49ff21eaf4 Update Aaru submodule 2021-06-21 22:15:10 -07:00
Matt Nadareski
5d0e16f881 Fix PreviousIndex behavior
Fixes the invocation of PreviousTrack from PreviousIndex if the track before the current one is data
2021-06-21 22:00:11 -07:00
Matt Nadareski
7fba90d870 Remove unnecessary async from TOC load 2021-06-21 21:50:50 -07:00
Matt Nadareski
02193adc51 Only check disc init for displaying the time 2021-06-21 21:44:46 -07:00
Matt Nadareski
1715388e29 Split PlayableDisc from Player
This change does the following:
- Splits out all image reading and manipulation into a new file called PlayableDisc
- Fixes some issues present in loading a disc with a data first track
- Fixes some initialization issues that could be present
- Removed the Player code from being able to directly manipulate most of the disc state
2021-06-21 21:35:09 -07:00
Matt Nadareski
28a7e470a2 Migrate to official CSCore repo 2021-06-21 21:33:00 -07:00
75f6143dfc Merge pull request #5 from mnadareski/sweeper
Broad organizational and bug-fix changes
2021-06-21 17:57:43 +01:00
Matt Nadareski
7a0e1429bd Use Aaru.CommonTypes.Enums.TrackType 2021-06-10 22:43:27 -07:00
Matt Nadareski
f6a137785b Address PR feedback 2021-06-07 09:08:10 -07:00
Matt Nadareski
976b67d1fb Safer handling of current value setting 2021-06-07 09:03:53 -07:00
Matt Nadareski
9ffabff7bd Fix build on Windows 2021-06-06 21:55:05 -07:00
Matt Nadareski
384716090d Player additions and cleanup
- Add comments and rearrange code
- Add helper methods to make some of the code easier to read and navigate
- Fix code inconsistencies that lead to bad user experiences
- Add TOC generation (setting, GD-ROM support)
2021-06-06 21:43:47 -07:00
Matt Nadareski
edae3a7a58 Separate out PlayerViewModel (nw) 2021-06-06 21:42:14 -07:00
Matt Nadareski
30eab90dfb Separate out TrackTypeValue 2021-06-06 21:41:38 -07:00
Matt Nadareski
3e770677ab Separate out PlayerSource (nw) 2021-06-06 21:41:24 -07:00
Matt Nadareski
b30107a9c5 Comment MainWindow, make some code safer 2021-06-06 21:39:05 -07:00
Matt Nadareski
f27f455d85 Comment and split HiResTimer 2021-06-06 21:38:15 -07:00
Matt Nadareski
13ba103a64 Add class comment for DeEmphasisFilter 2021-06-06 21:37:48 -07:00
Matt Nadareski
e79b5719ca Add new settings
- Play data tracks like audio
- Generate missing TOC
2021-06-06 21:34:33 -07:00
Matt Nadareski
8316c6982f Organize solution file into folders 2021-06-06 21:33:42 -07:00
5eae13c3a2 General refactor and clean-up. 2021-06-06 20:28:36 +01:00
0702d1a69e Add editor config file. 2021-06-06 20:10:51 +01:00
c1ef433197 Add missing projects to solution. 2021-06-06 20:10:22 +01:00
d233ce1333 As per https://github.com/dotnet/sdk/issues/10326
the plural of runtime identifiers in project files is only used by Nuget,
single file published projects still need a single runtime identifier set up.
2021-06-06 20:00:46 +01:00
1bb6369252 Merge pull request #3 from mnadareski/devel
Fix index setting and moving, lock track reads
2021-06-06 19:50:20 +01:00
Matt Nadareski
df3d90a530 Fix next/previous track, fix playing to end of track 2021-06-05 14:21:59 -07:00
Matt Nadareski
bc645c21f0 Simplify next and previous index logic 2021-06-05 11:35:52 -07:00
Matt Nadareski
09f14810dd Fix current index setting, lock reads (fixes #2) 2021-06-05 10:57:20 -07:00
5f9c864c78 Merge pull request #1 from mnadareski/devel
Rename `:.png` to `colon.png`
2021-05-19 19:22:26 +01:00
Matt Nadareski
82e9fe3cee Update PlayerView.xaml 2021-05-18 13:25:08 -07:00
Matt Nadareski
b412826d91 Add colon.png 2021-05-18 13:23:41 -07:00
Matt Nadareski
f7f025f1d1 Delete :.png 2021-05-18 13:23:24 -07:00
3cbb44f650 Update README.md
Add sponsor status in README.
2021-05-18 18:01:06 +01:00
deagahelio
76304d8ff8 Show total time relative to current track 2021-04-15 19:26:57 -03:00
deagahelio
cd3b8d8cfc Display time relative to start of current index 2021-04-15 19:24:04 -03:00
deagahelio
0be0ff584a Fix player not setting volume on init 2021-04-15 19:16:34 -03:00
deagahelio
2b1cf26942 Add audio, data and copy flags 2021-04-14 20:36:34 -03:00
deagahelio
916c10a8a0 Fix wrong track number showing when skipping over more than one track 2021-04-13 18:56:01 -03:00
deagahelio
48f6f91db9 Display total CD time and proper indexes for tracks 2021-04-13 15:58:44 -03:00
deagahelio
1e6bc4ca8b Add hidden track/pre-emphasis flag displays to UI 2021-04-12 18:12:51 -03:00
deagahelio
b275db70d0 Reuse Player object to avoid ALException crash 2021-04-08 21:41:31 -03:00
deagahelio
b2dedea77a Add option to allow skipping to index 0 of track 1 2021-04-08 21:39:39 -03:00
deagahelio
93872798fb Only skip to previous track if within the first second of the current track 2021-04-07 21:04:22 -03:00
deagahelio
91fe7793cd Start tracks from index 1 2021-04-07 19:05:46 -03:00
deagahelio
2c2d944fba Fix ALException crash maybe 2021-04-07 16:23:19 -03:00
deagahelio
c8c8bfab66 Add project properties for publishing 2021-03-30 20:29:50 -03:00
deagahelio
237ef9ae9d Readd missing directive for Windows compilation 2021-03-30 20:28:51 -03:00