Skip to content
0:00 / 0:00

#directsound#handmadehero#win32

Handmade Hero Day 007 - Initializing DirectSound

Molly Rocket

148K subscribers • 32 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • A classic. People kept recommending it from 2019 to 2023.
  • Presented by Casey Muratori, creator of Handmade Hero
  • May be out of date. Uploaded 11 years ago, in an area where tools change fast.

Advanced. Deep dive for people who know the field.

90K views11 years ago2 recommendations

Game developmentGraphics and audioAudio and DSPGame programming

Casey Muratori demonstrates how to initialize and write to DirectSound buffers for low-level audio programming on Windows.

Day 007 of coding on Handmade Hero. See handmadehero.org for details.

Why it's here

2 people recommend this

What people say. Recommended as a detailed reference for understanding how digital audio buffers work and how to initialize sound APIs.

Moments people linked to

u/DanielZaidanin r/C_Programming • Recommends

On “Audio visualizer using SLD2 help”

Sound (after decompression) is store in a bunch of samples. Usually 44100 samples per second, but 48000 is also common. The sample is usually a signed 16-bit integers but other types can also be used. After you understand that (and see in your code how it's structured) it becomes an easier data-transformation task. A good sound reference tutorial is this video: [video I hope that helps you a bit. ;)
2View on Reddit

u/ArtOfBBQin r/C_Programming • Recommends

On “How can i make music using C programming?”

Is your OS MS windows? Here is casey muratori setting up directsound at the start of his game project
1View on Reddit