{"id":22898228,"url":"https://github.com/albinodrought/volumemonitor","last_synced_at":"2025-04-01T01:51:30.513Z","repository":{"id":35298523,"uuid":"39559657","full_name":"AlbinoDrought/VolumeMonitor","owner":"AlbinoDrought","description":"VolumeMonitor is a WinForms component that enables easy event-based volume monitoring using NAudio's implementation of WASAPI.","archived":false,"fork":false,"pushed_at":"2015-07-23T10:19:52.000Z","size":324,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T02:46:32.478Z","etag":null,"topics":["naudio","wasapi"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlbinoDrought.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-23T09:56:37.000Z","updated_at":"2017-04-13T20:12:47.000Z","dependencies_parsed_at":"2022-09-03T12:13:22.951Z","dependency_job_id":null,"html_url":"https://github.com/AlbinoDrought/VolumeMonitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2FVolumeMonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2FVolumeMonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2FVolumeMonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2FVolumeMonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbinoDrought","download_url":"https://codeload.github.com/AlbinoDrought/VolumeMonitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569007,"owners_count":20798341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["naudio","wasapi"],"created_at":"2024-12-14T00:29:58.089Z","updated_at":"2025-04-01T01:51:30.477Z","avatar_url":"https://github.com/AlbinoDrought.png","language":"C#","readme":"## VolumeMonitor\n\nVolumeMonitor is a WinForms component that enables easy event-based volume monitoring using NAudio's implementation of WASAPI.\n\n## Code Example\n\n```C#\npublic void Start()\n{\n\tList\u003cMMDevice\u003e devices = volumeMonitor1.GetDevices();\n\tforeach (MMDevice device in devices)\n\t{\n\t\tvolumeMonitor1.Add(device);\n\t}\n\n\tvolumeMonitor1.OnThresholdHit += volumeMonitor1_OnThresholdHit;\n}\n\nprivate void volumeMonitor1_OnThresholdHit(NAudio.CoreAudioApi.MMDevice device, int volume)\n{\n\tMessageBox.Show(String.Format(\"{0} hit the threshold of {1}-{2} at {3}\", device.FriendlyName, volumeMonitor1.ThresholdMinimum, volumeMonitor1.ThresholdMaximum, volume));\n}\n```\n\nSee VolumeMonitorTestForm for more.\n\n## Why?\n\nUsed it in another project and wanted to be able to easily use it for future projects as well.\n\n## License\n\nLicensed under GPL-3 - https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)\n\nUses **NAudio**: NAudio is an open source .NET audio library written by Mark Heath (mark.heath@gmail.com) licensed under Ms-PL","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinodrought%2Fvolumemonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbinodrought%2Fvolumemonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinodrought%2Fvolumemonitor/lists"}