Code Monkey home page Code Monkey logo

silveraudioplayer's Introduction

Warning
This project is now hosted on https://gitlab.com/silvercraft/SilverAudioPlayer

SilverAudioPlayer logo subtext mockup of silveraudioplayer image showing silver audio player playing wanna be starting something by micheal jackson with the background gradiant present on brave's start page #4d54d1,#a51c7b,#ee4a37 and a SilverCraftBlue progress bar thank me later

Supported environments

Most platforms that can run dotnet 6
In addition to the requirements other dependencies may be required to run SilverAudioPlayer on linux: the ones required by Avalonia, ALSA, OpenAL, DBUS, X11/Wayland(through XWayland).
SilverAudioPlayer is tested and developed on KDE on an Arch based distribution (EndeavourOS).
If you know how to use MPRIS / DBUS in c# please consider improving SilverAudioPlayer.Linux.MPRIS as the current implementation does not work in playerctl, does not show up on kde plasma but does show up in kde connect.

What do you mean modular?

Modular means different things for different people but in this case modular would be defined as having code divided up into multiple optional components all housing important code but as previously mentioned are fully optional. You don't want the awful Jellyfin integration code (I'm criticising my code, jellyfin for the most part is awesome)? Remove its module
You don't want to be able to play midis? Remove the midi module
You don't want to be able to play flacs? Remove the flac decoder
You don't want to indirectly support google's duopoly by having the chromecast module? Remove it
You don't want to be able to do anything with the player? Remove the player
To remove a module you just need to delete the dll file associated with it (and optionally the configuration files)

Versioning

I introduce breaking changes with each update, since v4 I have been attempting to follow some sort of semver. I make no promises. To sum it up where a.b.c.d are the version digits, if a is changed something major API breaking has happened you will have to modify your code to a large extent,
if b is changed something might break your code but it probably won't update regardless,
if c is changed you probably don't have to worry at all,
changes in d shouldn't be noticeable at all.

Breaking changes since last major version

v6.2.0 removes an unused method void MakeSureAllIsWell(); in IWillProvideMemory, and IAmOnceAgainAskingYouForYourMemory uses a IEnumerable instead of ObjectToRemember[]

Module creation

Follow the plugin guide (and let me know if any issues arise), for now attempt installing SilverAudioPlayer.Shared to a class library containing a class that implements one of:

  • IPlayProvider for implementing new players (most of the time you should just implement INaudioWaveStreamWrapper if a new player isn't needed to play that file)
  • IMetadataProvider for implementing new metadata providers (the things that read metadata from files/streams)
  • IMusicStatusInterface for implementing things that track/control playback (eg. discord rich presence/SMTC/Cd Art Display)
  • IWakeLockProvider for implementing ways to let the OS know NOT to go to sleep
  • IPlayStreamProvider for implementing ways of letting the user add new tracks from an external source (eg. internet radio streams, media servers (jellyfin, dlna, etc.))

Consider looking through the already implemented modules as a reference
Don't forget to export your module by adding [Export(typeof([YOURMODULEINTERFACETYPE]))]

Goals and general TODO

Check out the issues

silveraudioplayer's People

Contributors

dependabot[bot] avatar imgbotapp avatar silverdimond avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

silveraudioplayer's Issues

Fix System.InvalidOperationException: Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on. in Form1.RemoveTrack () (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:551)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.Form1.RemoveTrack() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 551;SilverAudioPlayer

SilverAudioPlayer.Form1.HandleSongChanging(Song NextSong, Boolean resetsal) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 608;SilverAudioPlayer

SilverAudioPlayer.Form1.MusicStatusInterface_Next(Object sender, EventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 104;SilverAudioPlayer

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr wHwnd, Int32 wMsg, IntPtr wParam, IntPtr lParam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 224;SilverAudioPlayer.CAD

Reason

System.InvalidOperationException: Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on.

Link to App Center

Fix System.ObjectDisposedException: Cannot access a disposed object. Object name: 'TrackBar'. in Form1.OnConfigChange (Boolean fromstartup) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:264)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.Form1.OnConfigChange(Boolean fromstartup) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 264;SilverAudioPlayer

SilverAudioPlayer.Form1.Cfw_OnChangedE(Object sender, String e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 225;SilverAudioPlayer

SilverConfig.ConfigFileWatcher.OnChanged(Object sender, FileSystemEventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverConfig\ConfigFileWatcher.cs:line 44;SilverConfig

Reason

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TrackBar'.

Link to App Center

Fix System.InvalidOperationException: Sequence contains no matching element in Form1.OutputDevice_PlaybackStopped (Object sender, Object o) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:648)

Version 1.0.0.4(1.0.0.4)

Stacktrace

SilverAudioPlayer.Form1.OutputDevice_PlaybackStopped(Object sender, Object o) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 648;SilverAudioPlayer

SilverAudioPlayer.NAudio.WaveFilePlayer.OutputDeviceOnPlaybackStopped(Object sender, StoppedEventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.NAudio\WaveFilePlayer.cs:line 25;SilverAudioPlayer.NAudio

NAudio.Wave.WaveOutEvent.RaisePlaybackStoppedEvent(Exception e);NAudio.Wave

NAudio.Wave.WaveOutEvent.PlaybackThread();NAudio.Wave

NAudio.Wave.WaveOutEvent.b__24_0(Object state);NAudio.Wave

Reason

System.InvalidOperationException: Sequence contains no matching element

Link to App Center

Automatic desktop file creator

Only 2 files need to be created (admittedly root might be needed for a system wide install)
Obligatory arch wiki link https://wiki.archlinux.org/title/desktop_entries

/usr/share/applications/SilverAudioPlayer.desktop or /usr/local/share/applications/SilverAudioPlayer.desktop for system
OR
~/.local/share/applications/SilverAudioPlayer.desktop for user

[Desktop Entry]

# The type as listed above
Type=Application

# The version of the desktop entry specification to which this file complies
Version=1.0

# The name of the application
Name=SilverAudioPlayer

# A comment which can/will be used as a tooltip
Comment=The SilverCraft Audio Player

# The path to the folder in which the executable is run
Path=<PATHHERE>

# The executable of the application, possibly with arguments.
Exec=<PATHHERE>/SilverAudioPlayer.Avalonia

# The name of the icon that will be used to display this entry
Icon=sap

# Describes whether this application needs to be run in a terminal or not
Terminal=false

# Describes the categories in which this entry should be shown
MimeType=application/ogg;application/x-ogg;audio/ogg;audio/vorbis;audio/x-vorbis;audio/x-vorbis+ogg;application/x-flac;audio/flac;audio/x-flac;audio/mpeg;audio/mpg;audio/mp1;audio/mp2;audio/mp3;audio/x-mp1;audio/x-mp2;audio/x-mp3;audio/x-mpeg;audio/x-mpg;audio/aac;audio/m4a;audio/x-aac;x-content/audio-player;audio/x-aiff;audio/x-pn-aiff;audio/basic;audio/midi;
X-KDE-Protocols=http,https
Keywords=Player;Audio;Dotnet;

Player base directory will have to be replaced ()
Future improvements might be making mimetypes update themselves

Second file is the icon
$HOME/.icons/sap.svg (avoid because it's for for backwards compatibility)
or
$XDG_DATA_DIRS/icons/sap.svg
or
/usr/share/pixmaps/sap.svg
with the content of https://github.com/thesilvercraft/SilverAudioPlayer/blob/master/SilverAudioPlayer.Avalonia/icon.svg

Fix System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'index') in Form1.<ProcessFiles>b__76_2 () (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:761)

Version 1.0.0.4(1.0.0.4)

Stacktrace

SilverAudioPlayer.Form1.b__76_2() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 761;SilverAudioPlayer

Reason

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'index')

Link to App Center

Fix System.InvalidOperationException: Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on. in Form1.<button1_Click>b__96_0 () (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:1008)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.Form1.<button1_Click>b__96_0() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 1008;SilverAudioPlayer

Reason

System.InvalidOperationException: Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on.

Link to App Center

Fix System.ArgumentNullException: Value cannot be null. (Parameter 'value') in CADMusicStatusInterface.cadSendSongInfo () (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:116)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.CAD.CADMusicStatusInterface.cadSendSongInfo() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 116;SilverAudioPlayer.CAD

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr wHwnd, Int32 wMsg, IntPtr wParam, IntPtr lParam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 245;SilverAudioPlayer.CAD

Interop.User32.DispatchMessageW(MSG& msg);Interop

SilverAudioPlayer.Form1.<button1_Click>b__96_0() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 1019;SilverAudioPlayer

Reason

System.ArgumentNullException: Value cannot be null. (Parameter 'value')

Link to App Center

Fix System.ArgumentOutOfRangeException: Value of '101' is not valid for 'Value'. 'Value' should be between 'Minimum' and '$Maximum'. (Parameter 'value') Actual value was 101. in <>c__DisplayClass8_0.<MusicStatusInterface_SetVolume>b__0 () (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:53)

Version 1.0.0.4(1.0.0.4)

Stacktrace

SilverAudioPlayer.Form1.<>c__DisplayClass8_0.<MusicStatusInterface_SetVolume>b__0() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 53;SilverAudioPlayer.Form1

SilverAudioPlayer.Form1.MusicStatusInterface_SetVolume(Object sender, Byte e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 53;SilverAudioPlayer

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\CADMusicStatusInterface.cs:line 202;SilverAudioPlayer.CAD

Reason

System.ArgumentOutOfRangeException: Value of '101' is not valid for 'Value'. 'Value' should be between 'Minimum' and '$Maximum'. (Parameter 'value')
Actual value was 101.

Link to App Center

Add icons for all plugins visible in settings menu

  • SilverAudioPlayer.Any.MetadataSource.File
  • SilverAudioPlayer.Any.PlayProvider.ChromeCast
  • SilverAudioPlayer.Any.PlayStreamProvider.LocalLibrary
  • SilverAudioPlayer.Any.PlayStreamProvider.VideoLib
  • SilverAudioPlayer.DiscordRP
  • SAP.MPRIS - Added in source on HDD
  • SilverAudioPlayer.Linux.Sync
  • Linux wakelock (SilverAudioPlayer.Linux.PlatformHelper.Linux)
  • SilverJuke
  • Managed midi

Fix System.InvalidOperationException: Cross-thread operation not valid: Control 'volumeBar' accessed from a thread other than the thread it was created on. in User32.SendMessageW (IHandle hWnd, WM Msg, IntPtr wParam, IntPtr lParam)

Version 1.0.0.2(1.0.0.2)

Stacktrace

Interop.User32.SendMessageW(IHandle hWnd, WM Msg, IntPtr wParam, IntPtr lParam);Interop

SilverAudioPlayer.Form1.MusicStatusInterface_GetVolume() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 59;SilverAudioPlayer

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr wHwnd, Int32 wMsg, IntPtr wParam, IntPtr lParam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 239;SilverAudioPlayer.CAD

Reason

System.InvalidOperationException: Cross-thread operation not valid: Control 'volumeBar' accessed from a thread other than the thread it was created on.

Link to App Center

Fix System.DllNotFoundException: Unable to load DLL 'api-ms-win-core-winrt-string-l1-1-0.dll' or one of its dependencies: The specified module could not be found. (0x8007007E) in Platform.WindowsCreateStringReference (Char* sourceString, Int32 length, IntPtr* hstring_header, IntPtr* hstring)

Version Unknown(Unknown)

Stacktrace

WinRT.Platform.WindowsCreateStringReference(Char* sourceString, Int32 length, IntPtr* hstring_header, IntPtr* hstring);WinRT

WinRT.MarshalString.Pinnable.GetAbi();WinRT.MarshalString

WinRT.MarshalString.GetAbi(Pinnable& p);WinRT

WinRT.WinrtModule.GetActivationFactory(String runtimeClassId);WinRT

WinRT.BaseActivationFactory..ctor(String typeNamespace, String typeFullName);WinRT.BaseActivationFactory

WinRT.ActivationFactory1..ctor();WinRT.ActivationFactory1

WinRT.ActivationFactory1..cctor();WinRT.ActivationFactory1

Reason

System.DllNotFoundException: Unable to load DLL 'api-ms-win-core-winrt-string-l1-1-0.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)

Link to App Center

Fix System.MissingMethodException: Method not found: 'System.String SilverAudioPlayer.Shared.Picture.get_Hash()'. in CADMusicStatusInterface.cadSendSongInfo ()

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.CAD.CADMusicStatusInterface.cadSendSongInfo();SilverAudioPlayer.CAD

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam);SilverAudioPlayer.CAD

Reason

System.MissingMethodException: Method not found: 'System.String SilverAudioPlayer.Shared.Picture.get_Hash()'.

Link to App Center

Fix System.NullReferenceException: Object reference not set to an instance of an object. in CADMusicStatusInterface.CallbackMsgs (IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\CADMusicStatusInterface.cs:191)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\CADMusicStatusInterface.cs:line 191;SilverAudioPlayer.CAD

Reason

System.NullReferenceException: Object reference not set to an instance of an object.

Link to App Center

Fix System.InvalidOperationException: Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on. in CADMusicStatusInterface.<StartIPC>b__120_0 () (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:383)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.CAD.CADMusicStatusInterface.b__120_0() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 383;SilverAudioPlayer.CAD

Reason

System.InvalidOperationException: Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on.

Link to App Center

Fix System.ObjectDisposedException: Cannot access a disposed object. Object name: 'TrackBar'. in Form1.OnConfigChange (Boolean fromstartup)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.Form1.OnConfigChange(Boolean fromstartup);SilverAudioPlayer

SilverAudioPlayer.Form1.Cfw_OnChangedE(Object sender, String e);SilverAudioPlayer

SilverConfig.ConfigFileWatcher.OnChanged(Object sender, FileSystemEventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverConfig\ConfigFileWatcher.cs:line 44;SilverConfig

Reason

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TrackBar'.

Link to App Center

Fix System.ObjectDisposedException: Cannot access a disposed object. Object name: 'TrackBar'. in Form1.OnConfigChange (Boolean fromstartup) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:276)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.Form1.OnConfigChange(Boolean fromstartup) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 276;SilverAudioPlayer

SilverAudioPlayer.Form1.Cfw_OnChangedE(Object sender, String e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 237;SilverAudioPlayer

SilverConfig.ConfigFileWatcher.OnChanged(Object sender, FileSystemEventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverConfig\ConfigFileWatcher.cs:line 44;SilverConfig

Reason

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TrackBar'.

Link to App Center

Fix System.NullReferenceException: Object reference not set to an instance of an object. in Form1.HandleSongChanging (Song NextSong, Boolean resetsal) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:698)

Version 1.0.0.4(1.0.0.4)

Stacktrace

SilverAudioPlayer.Form1.HandleSongChanging(Song NextSong, Boolean resetsal) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 698;SilverAudioPlayer

SilverAudioPlayer.Form1.b__76_2() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 751;SilverAudioPlayer

Reason

System.NullReferenceException: Object reference not set to an instance of an object.

Link to App Center

Fix System.ObjectDisposedException: Cannot access a disposed object. Object name: 'TrackBar'. in Form1.OnConfigChange (Boolean fromstartup) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:291)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.Form1.OnConfigChange(Boolean fromstartup) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 291;SilverAudioPlayer

SilverAudioPlayer.Form1.Cfw_OnChangedE(Object sender, String e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 252;SilverAudioPlayer

SilverConfig.ConfigFileWatcher.OnChanged(Object sender, FileSystemEventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverConfig\ConfigFileWatcher.cs:line 44;SilverConfig

Reason

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TrackBar'.

Link to App Center

Fix System.NullReferenceException: Object reference not set to an instance of an object. in CADMusicStatusInterface.<CallbackMsgs>g__SetRatingI|28_0 (Byte val) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:205)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.CAD.CADMusicStatusInterface.g__SetRatingI|28_0(Byte val) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 205;SilverAudioPlayer.CAD

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 211;SilverAudioPlayer.CAD

Reason

System.NullReferenceException: Object reference not set to an instance of an object.

Link to App Center

CSCore.Ffmpeg fails to load

might be as simple as pointing it to the right direction but it'd be nice to make it use a newer version of ffmpeg or simply just rewrite it as a whole

Fix System.ObjectDisposedException: Cannot access a disposed object. Object name: 'TrackBar'. in Form1.OnConfigChange (Boolean fromstartup) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:281)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.Form1.OnConfigChange(Boolean fromstartup) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 281;SilverAudioPlayer

SilverAudioPlayer.Form1.Cfw_OnChangedE(Object sender, String e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 242;SilverAudioPlayer

SilverConfig.ConfigFileWatcher.OnChanged(Object sender, FileSystemEventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverConfig\ConfigFileWatcher.cs:line 44;SilverConfig

Reason

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TrackBar'.

Link to App Center

Fix System.NullReferenceException: Object reference not set to an instance of an object. in CADMusicStatusInterface.CallbackMsgs (IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\CADMusicStatusInterface.cs:303)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\CADMusicStatusInterface.cs:line 303;SilverAudioPlayer.CAD

Reason

System.NullReferenceException: Object reference not set to an instance of an object.

Link to App Center

Fix NAudio.MmException: NoDriver calling waveOutSetVolume in MmException.Try (MmResult result, String function)

Version 1.0.0.2(1.0.0.2)

Stacktrace

NAudio.MmException.Try(MmResult result, String function);NAudio

NAudio.Wave.WaveOutUtils.SetWaveOutVolume(Single value, IntPtr hWaveOut, Object lockObject);NAudio.Wave

NAudio.Wave.WaveOutEvent.set_Volume(Single value);NAudio.Wave

SilverAudioPlayer.NAudio.WaveFilePlayer.SetVolume(Byte volume) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.NAudio\WaveFilePlayer.cs:line 103;SilverAudioPlayer.NAudio

SilverAudioPlayer.Form1.OnConfigChange(Boolean fromstartup) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 296;SilverAudioPlayer

SilverAudioPlayer.Form1.Cfw_OnChangedE(Object sender, String e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 252;SilverAudioPlayer

SilverConfig.ConfigFileWatcher.OnChanged(Object sender, FileSystemEventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverConfig\ConfigFileWatcher.cs:line 44;SilverConfig

Reason

NAudio.MmException: NoDriver calling waveOutSetVolume

Link to App Center

Fix System.NullReferenceException: Object reference not set to an instance of an object. in CADMusicStatusInterface.CallbackMsgs (IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\CADMusicStatusInterface.cs:303)

Version 1.0.0.4(1.0.0.4)

Stacktrace

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\CADMusicStatusInterface.cs:line 303;SilverAudioPlayer.CAD

Reason

System.NullReferenceException: Object reference not set to an instance of an object.

Link to App Center

Resize lag?

Previous issue involving avalonia, not sure how to fix or diagnose, could be r2r??

Fix System.NullReferenceException: Object reference not set to an instance of an object. in CADMusicStatusInterface.CallbackMsgs (IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:322)

Version 1.0.0.2(1.0.0.2)

Stacktrace

SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr Hwnd, Int32 wMsg, IntPtr wparam, IntPtr lparam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 322;SilverAudioPlayer.CAD

Reason

System.NullReferenceException: Object reference not set to an instance of an object.

Link to App Center

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.