mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
Removed infinite loop in dispose call
Imporved spelling in new commits
This commit is contained in:
parent
4f83ac068f
commit
e5e57c3020
@ -199,7 +199,7 @@ namespace SpotifyAPI.Local
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets the Volume Mixer volume (requires Windows 7 or newer)
|
/// Sets the Volume Mixer volume (requires Windows 7 or newer)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="volume">A Value between 0 and 100</param>
|
/// <param name="volume">A value between 0 and 100</param>
|
||||||
public void SetSpotifyVolume(float volume = 100)
|
public void SetSpotifyVolume(float volume = 100)
|
||||||
{
|
{
|
||||||
Contract.Requires(0 <= volume && volume <= 100);
|
Contract.Requires(0 <= volume && volume <= 100);
|
||||||
|
@ -203,7 +203,6 @@ namespace SpotifyAPI.Web
|
|||||||
{
|
{
|
||||||
IsActive = false;
|
IsActive = false;
|
||||||
_listener.Stop();
|
_listener.Stop();
|
||||||
Dispose();
|
|
||||||
GC.SuppressFinalize(this);
|
GC.SuppressFinalize(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user