Play sound on samsung Omnia II RRS feed

  • Question

  • Hello!

    I just had a customer report to me, that when our app plays a sound on the Samsung Omnia II, it is played not as loud as when the system itself is playing it.

    The customer uses the very same sound for our app as for receiving SMS, and when receiving a SMS, the sound is played much louder than when our app is playing it.

    Why this? And how can I change it?

    Kind regards,
    Thursday, February 18, 2010 1:21 PM


All replies

  • How did you play the sound? It's hard to tell the reason but I know some sound file formats have a volume level in it.

    To change the volume you can use waveOutGetVolume/waveOutSetVolume function. Samples can be found in the following articles:

    Recording and Playing Sound with the Waveform Audio Interface
    Adjust Your Ring Volume For Ambient Noise

    Please mark the post that helps you, and unmark that does not. This benefits our community.
    • Marked as answer by warrentang Wednesday, February 24, 2010 3:04 AM
    Monday, February 22, 2010 7:03 AM
  • It is the very same physical file used in both instances.
    I use SndPlayAsync to play the sound file.

    Does the system playing sounds ignore the volume?

    And my main problem: I want to play the sound at the level which is set in the system. I don't want to set up my own volume slider.
    Ain't there a way to tell the system to ignore the file setting and use the system sound level instead?
    Monday, March 1, 2010 3:30 PM