Skip to content

bug: Notification sound is not reliably playing #20

Description

@Stone-Red-Code

Affected component

Client (EchoHub.Client)

What happened?

The notification sound, when getting pinged, sometimes fails to play with an error.

Steps to reproduce

  1. Send ping
  2. Receive ping
  3. Repeat if necessary (it it very inconsistent).

Logs / stack traces

System.Exception: Error executing MCI command 'Close All'. Error code: 288. Message: The specified device is now being closed.  Wait a few seconds, and then try again.
   at NetCoreAudio.Utils.WindowsUtil.ExecuteMciCommand(String commandString, Timer playbackTimer)
   at NetCoreAudio.Players.WindowsPlayer.Play(String fileName)
   at NetCoreAudio.Player.Play(String fileName)
   at EchoHub.Client.Services.NotificationSoundService.PlayInternal() in C:\Users\David\Downloads\EchoHub\src\EchoHub.Client\Services\NotificationSoundService.cs:line 50

Version

v0.2.5

Environment

OS: Windows 11
Terminal: Windows Terminal
.NET SDK: 10.0.103

Confirmations

  • I searched existing issues and this is not a duplicate
  • I removed sensitive info (tokens/keys) from logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions