Skip to content

Commit

Permalink
update v1.2 15/05/2023
Browse files Browse the repository at this point in the history
- added drc, dynamic range compression can be set via conf.ini
| placebo for now on sdl, sdl does not have a mechanism to
| measure signal level of audio as bass does.
- added toggle drc via key 'd' drc on or off (placeholder for now)
- added toggle listplay via key 'l' shuffle or linear
- added os mixer fader volume control (windows 7 and 10)
| route: sourcevolume > drcvolume (on / off) > currentvolume( is os mixer volume)
| source is set via config, drc amps <n>Db currentvolume is final volume output
- improved command line handling catches incorrect files and paths
- tweaked utilfile.bas more in line with other apps
- tweaked shuffleplay scanning from root dir is not supported
- tieded up code in most files
- use init sdl with SDL_Init(SDL_INIT_AUDIO) instead of SDL_Init(SDL_INIT_VIDEO)
| SDL_Init(SDL_INIT_AUDIO) does not block os powerplan to blank display
| note: when using SDL_INIT_AUDIO use SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1")
| respond to power plan settings blank display on windows
| note: set before sdl init (video) otherwise it will not work!
- fixed .pls
  • Loading branch information
thrive4 authored May 26, 2023
1 parent d15e023 commit 73cf5b7
Show file tree
Hide file tree
Showing 10 changed files with 691 additions and 504 deletions.
Binary file modified app.ico
Binary file not shown.
8 changes: 4 additions & 4 deletions app.rc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ FB_PROGRAM_ICON ICON "f:\dev\freebasic\projects\audioplayer-sdlmixer\app.ico"

// add version and file info in exe windows only
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 1, 0, 000
PRODUCTVERSION 1, 1, 0, 0
FILEVERSION 1, 2, 0, 000
PRODUCTVERSION 1, 2, 0, 0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x9L
Expand All @@ -29,13 +29,13 @@ BEGIN
VALUE "Comments", "needs sdl2 and sdl2 mixer libs"
VALUE "CompanyName", ""
VALUE "FileDescription", "audioplayer with sdl2 mixer"
VALUE "FileVersion", "1, 1, 0, 000"
VALUE "FileVersion", "1, 2, 0, 000"
VALUE "InternalName", ""
VALUE "LegalCopyright", ""
VALUE "OriginalFilename", "audioplayer"
VALUE "PrivateBuild", ""
VALUE "ProductName", "audioplayer"
VALUE "ProductVersion", "1, 1, 0, 0"
VALUE "ProductVersion", "1, 2, 0, 0"
END
END
BLOCK "VarFileInfo"
Expand Down
Loading

0 comments on commit 73cf5b7

Please sign in to comment.