Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6654757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:25:40+00:00 2026-05-26T01:25:40+00:00

I am trying to play a sound on Windows XP in multi-channel (parallel) manner.

  • 0

I am trying to play a sound on Windows XP in multi-channel (parallel) manner.
I had read somewhere that playing parallel sounds with WinMM is maybe not possible,
but here is what I observe:

When I call WaveOutOpen() once, and then call many WaveOutWrite() many times
then sounds are not parallel – they are queued.

But when I call WaveOutOpen say nine times (and then store nine handles to it)
and then call nine times WaveOutWrite() with nine different sounds they are
played in parallel (multi-channel) – that is they are mixed.

It seems to work but I am not sure if it is okay because I don’t find it stated clearly
in any tutorial or documentation.

It is okay to play sound in such ‘many WaveOutOpen’ way??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:25:41+00:00Added an answer on May 26, 2026 at 1:25 am

    When I call WaveOutOpen() once, and then call many WaveOutWrite() many
    times then sounds are not parallel – they are queued.

    That’s exactly what is supposed to happen. WaveOutWrite queues the next buffer. It allows you to send the audio you want to play in small chunks.

    But when I call WaveOutOpen say nine times (and then store nine
    handles to it) and then call nine times WaveOutWrite() with nine
    different sounds they are played in parallel (multi-channel) – that is
    they are mixed.

    Again, this is correct and expected. This is the simplest way to play back many simultaneous sounds. If you want sample accurate mixing however, you should mix the audio samples yourself into one stream of samples and play that through a single WaveOut device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to play a wav sound that stored in byte array called bytes.
I'm trying to play a sound in PlayN. Sound soundtrack = assetManager().getSound(sounds/soundtrack); But get
I'm trying to play a sound file from an iPhone program. Here's the code:
I'm trying to play a sound based on which button is pressed using AVAudioPlayer.
For the past few days I have been trying to play any sound over
I am trying to play audio buffered sound (.wav) using AudioTrack. Please see the
I'm trying to play a random sound onTouch event (currently working), but the sound
I'm trying to play only part of a sound using FMOD, say frames 50000-100000
I'm trying to play background music along with sound effects using Qt. However, I
I'm trying to play sound files (.wav) with pygame but when I start it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.