Threadwell

Recent Notes

  • DemetriSpanos

    Oct 06, 2026

    • archive
    • twitter
    • demetrispanos
  • NOTimothyLottes

    Oct 06, 2026

    • archive
    • twitter
    • notimothylottes
  • bonzajplc

    Oct 06, 2026

    • archive
    • twitter
    • bonzajplc
Home

❯

Archive

❯

Threads

❯

Jonathan_Blow

❯

For years I have used dsound.dll to play audio on Windows, because if you have your own mixer etc then the more-recent APIs don't really do anything better.

❯

@Jonathan_Blow There's an unfortunate design decision in XAudio2, where if an audio device is removed (you unplug your headphones), you have to free all resources and reinitialize the API.

@Jonathan_Blow There's an unfortunate design decision in XAudio2, where if an audio device is removed (you unplug your headphones), you have to free all resources and reinitialize the API.

Properties5
typearchive
sourcetwitter
date2025-04-01
tagsarchive, twitter, jonathan_blow
description@Jonathan_Blow There's an unfortunate design decision in XAudio2, where if an audio device is removed (you unplug your headphones), you have to free all resources and reinitialize the API.

Apr 01, 20251 min read

  • archive
  • twitter
  • jonathan_blow

Source

  • URL: https://x.com/flaratt_ljos/status/1907024071599988887
  • Author: Flárátt (@flaratt_ljos)
  • Posted: 2025-04-01 10:55:44

Branch

1/ @flaratt_ljos

@Jonathan_Blow

There’s an unfortunate design decision in XAudio2, where if an audio device is removed (you unplug your headphones), you have to free all resources and reinitialize the API.

Related

  • Spine: 2025-03-31-for-years-i-have-used-dsound-dll-to-play-audio-on

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • For years I have used dsound.dll to play audio on Windows, because if you have your own mixer etc then the more-recent APIs don't really do anything better.

Created with Quartz v5.0.0 © 2026

  • GitHub