Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LMMS uses microphone #7520

Open
1 task done
Positron832Alt opened this issue Sep 26, 2024 · 6 comments
Open
1 task done

LMMS uses microphone #7520

Positron832Alt opened this issue Sep 26, 2024 · 6 comments
Labels

Comments

@Positron832Alt
Copy link

System Information

Windows 10 22H2

LMMS Version(s)

1.3.0-alpha.1.682+g58ce9b476. Still exists in 1.3.0-alpha.1.699+g6a7b23b27.

Most Recent Working Version

Shortly after LOMM was added was the last version I used without the bug.

Bug Summary

When opening LMMS the microphone icon in the taskbar appears. Hovering over it displays a tooltip saying LMMS is using the microphone. Note that I use a laptop.

Expected Behaviour

LMMS should not use the microphone.

Steps To Reproduce

  1. Open LMMS
  2. Observe the microphone icon in the taskbar appear

Logs

No logs.

Screenshots / Minimum Reproducible Project

No response

Please search the issue tracker for existing bug reports before submitting your own.

  • I have searched all existing issues and confirmed that this is not a duplicate.
@michaelgregorius
Copy link
Contributor

@Positron832Alt, can you please check the "Audio" section in the settings ("Edit > Settings" in the main menu) and report what driver you are using? I assume that it will be SDL and look somewhat like as follows:

7520-AudioConfiguration

Can you then please check what options are shown for you under "Input device"? I assume that the "[System default]" on your system will be the microphone. If there are several options available in the combo box you might be able switch to an input which is not the microphone. As far as I know it is not possible to select something like "None" for the SDL driver.

@Positron832Alt
Copy link
Author

bild
It is indeed SDL. The only input device option besides [System Default] is the microphone.

@michaelgregorius
Copy link
Contributor

Because it's the only option it's also the system default. Unfortunately, it will therefore always be used as the input device because there is no "None" option.

@Positron832Alt
Copy link
Author

Before I close the issue then, I'm just wondering, why wasn't this happening before?

@michaelgregorius
Copy link
Contributor

The SDL input feature seems to be fairly new. I have just checked and LMMS 1.2.2 does not have it.

Are you sure that it does not happen with a version from shortly after LOMM has been introduced? LOMM has been introduced to the code base on November 10th, 2023 (see 89c98a7).

Here's the history of the SDL driver implementation: https://github.com/LMMS/lmms/commits/master/src/core/audio/AudioSdl.cpp

If I check a version of the SDL driver from before November 10th, e.g. https://github.com/LMMS/lmms/blob/3aed361b82dba6246119c8fc9d929fd9a779a647/src/core/audio/AudioSdl.cpp, then it also tries to open the default input device. So the usage of the microphone should also be indicated with that version.

I also wonder if the issue should really be closed. It might be used to discuss if there should be an option to disable audio input in the driver(s).

@musikBear
Copy link

discuss if there should be an option to disable audio input in the driver(s).

Indeed! And that should be yes ofcause. LMMS cant record, so resources used by microphone is wasted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants