zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.75k stars 3.06k forks source link

Unable to use microphone #17820

Open ITSOFTNEPAL opened 2 months ago

ITSOFTNEPAL commented 2 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I just build Zed from source but unable to use mic on Windows 10 and 11 also

Environment

Processor Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz 1.80 GHz Installed RAM 8.00 GB (7.89 GB usable) System type 64-bit operating system, x64-based processor

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

If applicable, attach your Zed.log file to this issue.

No response

Igonato commented 1 week ago

Just a lack of support at the moment it seems:

https://github.com/zed-industries/zed/blob/main/crates/title_bar/src/collab.rs#L301

let platform_supported = match self.platform_style {
    PlatformStyle::Mac => true,
    PlatformStyle::Linux | PlatformStyle::Windows => false,
};

...

Tooltip::text(
    if !platform_supported {
        "Cannot share microphone"
    } else if is_muted {
        "Unmute microphone"
    } else {
        "Mute microphone"
    },
    cx,
)

The message could be improved IMO, "Microphone isn't supported on your platform yet" would be less confusing.