All of lore.kernel.org
 help / color / mirror / Atom feed
* On output devices, `snd_pcm_open()` makes a bad loud tick.
       [not found] <1835e1a0d217ae00-webhooks-bot@alsa-project.org>
@ 2025-04-13 12:48 ` GitHub issues - opened
  0 siblings, 0 replies; only message in thread
From: GitHub issues - opened @ 2025-04-13 12:48 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib issue #451 was opened from ewtoombs:

Minimal reproduction:

```
#include <alsa/asoundlib.h>
#include <stdbool.h>
int main(int argc, const char **argv)
{
    snd_pcm_t *out;
    assert(snd_pcm_open(&out,
                "default",    // the name of the device being opened
                SND_PCM_STREAM_PLAYBACK, // it is an output stream
                false         // iff nonblocking stream
                ) == 0);
}
```
(Compile with `gcc -o test test.c -lasound`.)

Relevant `lspci`:
```
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
```

`uname`:
```
Linux robert 6.13.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 23 Mar 2025 17:17:30 +0000 x86_64 GNU/Linux
```

alsa-lib version: 1.2.13-1 (archlinux)

I've heard similar artefacts on many different sound cards, though, across many different architectures, always on linux.
One must wait about five minutes in between trials, or the artefact does not occur.

This isn't a minor detail.
The tick is very loud.
It might even damage speakers in a worst case scenario.

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/451
Repository URL: https://github.com/alsa-project/alsa-lib

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-13 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1835e1a0d217ae00-webhooks-bot@alsa-project.org>
2025-04-13 12:48 ` On output devices, `snd_pcm_open()` makes a bad loud tick GitHub issues - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.