Skip to content

Commit

Permalink
Merge pull request #1054 from Belphemur/dev
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
kodiakhq[bot] authored Nov 18, 2022
2 parents 0b71646 + a07db93 commit a17cc93
Show file tree
Hide file tree
Showing 32 changed files with 557 additions and 310 deletions.
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bug Report
description: File a bug report
labels: ["Bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
Logs and config are in : `%appdata%/SoundSwitch`
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Step to reproduce
description: What were you doing when it happened ?
placeholder: Don't hesitate to put a gif
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: What version of our software are you running?
placeholder: vx.x.x
validations:
required: true
- type: dropdown
id: windows
attributes:
label: What version of Windows are you seeing the problem on?
multiple: true
options:
- Windows 11
- Windows 10
- Windows 7
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: sh
21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/crash_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Feature Request
description: Request a new feature
labels: ["Enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request!
- type: textarea
id: what-happened
attributes:
label: What workfow do you want to improve?
description: Is your feature request related to a problem? Please describe
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solution
attributes:
label: How to make it better?
description: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternative
attributes:
label: Any alternative?
description: Describe alternatives you've considered
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Context always help to better understand your needs
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
schedule:
- cron: '40 2 * * 4'
env:
DOTNET: "6.0.x"
DOTNET: "7.0.x"
DOTNET_PRERELEASE: true
PROJECT_NAME: "SoundSwitch"
ARCH: "win-x64"
Expand All @@ -39,7 +39,7 @@ jobs:

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.10.0
uses: styfle/cancel-workflow-action@0.11.0
with:
all_but_latest: true
access_token: ${{ github.token }}
Expand All @@ -59,7 +59,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: ${{ env.DOTNET }}
include-prerelease: ${{ env.DOTNET_PRERELEASE }}
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROJECT_NAME: "SoundSwitch"
ARCH: "win-x64"
FRAMEWORK: "net6.0-windows"
FRAMEWORK: "net7.0-windows"
NODEJS: 16
DOTNET: "6.0.x"
DOTNET: "7.0.x"
DOTNET_PRERELEASE: true
CONFIGURATION: "Nightly"
SENTRY_NAME: "soundswitch"
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.10.0
uses: styfle/cancel-workflow-action@0.11.0
with:
all_but_latest: true
access_token: ${{ github.token }}
Expand All @@ -45,7 +45,7 @@ jobs:
node:
- 'package.json'
- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3.0.3
if: steps.filter.outputs.SoundSwitch == 'true' || steps.filter.outputs.ci == 'true' || github.ref == 'refs/heads/master'
with:
dotnet-version: ${{ env.DOTNET }}
Expand All @@ -68,7 +68,7 @@ jobs:
# Use always() to always run this step to publish test results when there are test failures
- name: Setup Node.js
if: steps.filter.outputs.node == 'true'
uses: actions/setup-node@v3.4.1
uses: actions/setup-node@v3.5.1
with:
node-version: ${{env.NODEJS}}
- name: Cache node modules
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.10.0
uses: styfle/cancel-workflow-action@0.11.0
with:
all_but_latest: true
access_token: ${{ github.token }}
Expand All @@ -119,7 +119,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: ${{ env.DOTNET }}
include-prerelease: ${{ env.DOTNET_PRERELEASE }}
Expand All @@ -137,7 +137,7 @@ jobs:
- name: Zip Build ${{env.PROJECT_NAME}}-${{ steps.devVersion.outputs.version }}
run: tar caf ${{env.PROJECT_NAME}}-${{ steps.devVersion.outputs.version }}.zip -C ${{ env.PROJECT_NAME }}\bin\${{env.CONFIGURATION}}\${{ env.FRAMEWORK }}\${{ env.ARCH }}\publish\ *
- name: Setup Node.js
uses: actions/setup-node@v3.4.1
uses: actions/setup-node@v3.5.1
with:
node-version: ${{env.NODEJS}}
- name: Cache node modules
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
with:
fetch-depth: 0
- name: Sentry Release
uses: getsentry/[email protected].0
uses: getsentry/[email protected].1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{env.SENTRY_NAME}}
Expand All @@ -180,13 +180,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.10.0
uses: styfle/cancel-workflow-action@0.11.0
with:
all_but_latest: true
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3.4.1
uses: actions/setup-node@v3.5.1
with:
node-version: ${{env.NODEJS}}
- name: Cache node modules
Expand All @@ -206,7 +206,7 @@ jobs:
echo "::set-output name=version::$version.0"
id: version
- name: Sentry Release
uses: getsentry/[email protected].0
uses: getsentry/[email protected].1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{env.SENTRY_NAME}}
Expand Down
2 changes: 1 addition & 1 deletion Make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if "%~1" neq "" (


set FILE_DIR=%~dp0
set FRAMEWORK=net6.0-windows
set FRAMEWORK=net7.0-windows
set ARCH=win-x64
set BIN_DIR=%FILE_DIR%SoundSwitch\bin\%buildPlatform%\%FRAMEWORK%\%ARCH%\publish

Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- ALL-CONTRIBUTORS-BADGE:END -->
**SoundSwitch** offers you the opportunity to switch your playback and recording devices using simple **hotkeys**.

**No more** navigating througth several menus and screens. Just configure SoundSwitch **once** and you are able to switch between your devices as fast as never before!
**No more** navigating througth several menus and screens. Just configure SoundSwitch **once** and you are able to switch between your devices faster than ever before!

## ✨ Preview
![Preview](https://soundswitch.aaflalo.me/img/preview.gif?v=20191124)
Expand All @@ -15,20 +15,20 @@
- ⚠ Operating System: Windows 7 or newer

## Donations
If you'd like to support the development, we would love to see you [here ❤](https://soundswitch.aaflalo.me/#donate).
If you'd like to support development, we would love to see you [here ❤](https://soundswitch.aaflalo.me/#donate).

## Configuration
_Right click_ the SoundSwitch icon in your system tray and choose _Settings_. Now select the devices between which you want to toggle. Optionally you can also change the keyboard combination. If you want the application to start automatically when your PC boots up, check the box _Start automatically with Windows_.
_Right click_ the SoundSwitch icon in your system tray and choose _Settings_. Now select the devices between which you want to toggle. Optionally, you can also change the keyboard combination. If you want the application to start automatically when your PC boots up, check the box _Start automatically with Windows_.

## Usage

First set up your devices you want to cycle through, using _right click_ onto the _System Tray Icon_ of SoundSwitch.
First set up your devices you want to cycle through, using _right click_ on the _System Tray Icon_ of SoundSwitch.

**After you configured** SoundSwitch you can use the following hotkeys:

- 🔊 To cycle through the **playback devices** press:
- `Ctrl` + `Alt` + `F11` (default) **or**
- Double click onto the `System Tray Icon` of SoundSwitch.
- Double click on the `System Tray Icon` of SoundSwitch.

- 🎙 To cycle through the **recording devices** press:
- `Ctrl` + `Alt` + `F7` (default)
Expand All @@ -38,7 +38,7 @@ First set up your devices you want to cycle through, using _right click_ onto th

## _Switched_ Notification

SoundSwitch provides five types of notification when a device was changed:
SoundSwitch provides five types of notification when a device is changed:

- #### 🎟 Banner
Uses a custom always-on-top frame, useful for in-game usage. This is the recommended default display style.
Expand All @@ -52,7 +52,7 @@ This notification is a sound played on the switched device. This way when you ar
- #### 🎶 Customized Sound Notification
The same as a Sound Notification but you can specify the sound which is played.

If you want to return to a silent Toast Notification, open the file selector, and just do Cancel. Doing that will remove the set sound.
If you want to return to a silent Toast Notification, open the file selector, and just press Cancel. Doing that will remove the set sound.

## Profiles

Expand All @@ -67,7 +67,7 @@ When a hot key combination is pressed, the sound settings are switched based on
## Advanced

### 🎙 Communications
SoundSwitch can also change the **Default Communication Device** when asked in the Settings. Windows makes a differentiation between Multimedia and Communication; it means if an application asks to have access to communications audio device, it will receive the Default Communication Device. By default SoundSwitch only changes the multimedia device and not the communication. Now if the checkbox is checked in the settings, it will also change the Communication Device.
SoundSwitch can also change the **Default Communication Device** when asked in the Settings. Windows differentiates between Multimedia and Communication; it means if an application asks to have access to communications audio device, it will receive the Default Communication Device. By default SoundSwitch only changes the multimedia device and not the communication device. Now if the checkbox is checked in the settings, it will also change the Communication Device.

### 📥 Auto-Updater
Every 24 hours SoundSwitch checks the GitHub repository (thanks to the GitHub API) for a new release. If a new one is available you will get a notification and the 'No update available' in the context menu will change to 'Update Available'. The new version gets automatically downloaded and installed, depeding on your _Update Mode_. We also provide a changelog with the latest improvements of SoundSwitch.
Expand All @@ -81,7 +81,7 @@ There are three different options available on how updates are installed:
### 🌎 Multi-Language Support
There are five languages available: **English**, **French**, **German**, **Spanish**, **Italian** and **Portuguese (Brazilian)**.

Improve an existing or add another language? Translations are online editable [right here](https://hosted.weblate.org/projects/soundswitch/#languages)!
Want to improve an existing language or add another one? Translations are online editable [right here](https://hosted.weblate.org/projects/soundswitch/#languages)!

## Contributors

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net7.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="coverlet.collector" Version="3.1.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.0" />
<PackageReference Include="coverlet.collector" Version="3.2.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit a17cc93

Please sign in to comment.