Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Need help playing sound with DirectSound

Need help playing sound with DirectSound

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialgraphicsgame-devhelp
1 Posts 1 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rikkemus
    wrote on last edited by
    #1

    I have made a DSP program that reduces a wave file size. Now i want to be able to play it on the fly as a unpack it the new soundformat. Been trying to figure out how to play it with directsound, but havent had much luck, and resources for setting this up is sparse. Does anyone have a working example/link/tutorial, that does the following or explains how to make it. Takes a block of PCM data, for instance 256 bytes. Puts it in a buffer The audio device plays the data in the buffer without gaps. Have some trouble getting the larger picture, of how it should be set up, from reading MSDN explanation. Im all new to directx. Thx in advance

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups