📄 cdplayer.txt
字号:
Cd Player Version 1.3 Revision Notes
------------------------------------
17.02.97
Changed format of CDDATA.TXT. It is now in the format of a INI file (and is now called CDDATA.INI and should belong in the windows directory). A conversion program has been written to convert existing CDDATA.TXT files. The resulting CDDATA.INI file that it creates should be moved into the windows directory. The read and write cd details have been changed to read and write using the Inifile component. This results in routines that were >30 lines being about 10. You know I feel such a fool for not using this method in the first place. This is all part of the changes to implement a preferred play list and order option- although I still haven't decided on a good way to edit this.
Some where in the past I added eject/inject code. It is not perfect and does not know when the CD in in or out if there is no CD present so you may have to result to the manual eject.
Added some code to detect if the current CD is an audio CD - Credits to Johan W. Strikkers for this idea. The player now looks for CD drives, at some point in the future I will allow you to specify which drive to use if you have more than one. This will be done when I can think of a nice way to incorporate it.
I have now rem'd out the injecting code - it doesn't work anymore - might be to do with the above.
Completed the LCD style display by changes the colors of the text windows and drop down list. What - you didn't know there was a LCD style? Double click on the form :)
01/03/97
I have changed the Icon - This one looks better, although the small version is a bit cramped. This icon is a 256 color icon.
Replaced the media player with speed buttons. This enables specific hints and the forthcoming much improved fast forward and rewind, and the new buttons have better glyphs.
OK - Fast forward and rewind has been improved. They have 'gravity' and you can also use them whilst paused.
Changed the volume control to a trackbar. Delphi's control over the trackbar is a little limited and I will create my own track bar component based on it one day. It will allow you to have control over the size of the slider. I have put the track bar up the side but am not sure if I like it this way - comments please.
Reintroduced the inject code - using mci command instead of strings.
I have removed the volume component and replaced it with about 3 lines of code. Until we can understand how to identify the device number for a CDAudio aux. device the volume control is not guaranteed to work on some combinations. For now I am calling the set/get auxvolume routines with the deivce hard coded to 2 (This is the same as the volume control anyway). This has resulted in the initial volume when loading the player is set to the current voloume in your system - a nice feature.
Credits for contributions in this version must go to Johan W. Strikkers for suggestions, solutions and ideas.
I have a blank space that needs filling in the top right of the player - what should I put there ?
Cd Player Version 1.2 Revision Notes
------------------------------------
Application title now includes the title of the curently playing track (if defined) - Thanks to Greg Lief for this contribution. (somebody else uses my player too)
When editing the Tracks you can now press cursor up and down to move up and down the tracklist.
09.02.97
I have changed the saving of settings to use the TIniFile component instead of the getprofilestring routines. (remember I started this in Delphi 1 - I only recently found out about the Tinifile component)
When resizing the Main Form you are now limited to each of the valid sizes (At Last!! - it took me a while to work out how to do this!).
11.02.97 (Hey - my fingers were hot tonite)
Changed the Tab order of the Edit Form (the about button was at the end)
Made the About form open in the center of the screen - instead of where it was when I designed it.
Made the About Form and CD Edit Form more Windows 95-like. Changed buttons to plain buttons, and added Alt shortcuts to edit fields.
Changed Speed button glyphs on main form so that when clicked on, the picture doesn't pop back up while the button stays down. (Comments on whether this looks better please)
Added Version number to About Box.
Still To Be Done
----------------
There are strange occurances still that cannot be traced. Sometimes the player stops at the end of a track when it shouldn't. I think this is down to timing and the current track is read from the CD interface after it has moved to the next track - but the player thinks it is still on the previous. This would explain why it stopped at the end of the last but one track - once only - for me. I will have to add some serious debugging code to find what is really going on though. This will be very difficult as everything is timer driven - so you cannot single step and see a true reflection of the real events.
Automatic entry in the registry - to allow this CD Player to auto play and play tracks direct when browsing.
Facility to decide which tracks and the order they should be played.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -