Login Page - Create Account

Support Board


Date/Time: Sat, 01 Mar 2025 01:41:20 +0000



Post From: WAV file trouble, bitrates/encoding?

[2021-09-08 03:28:36]
silvereagle - Posts: 23
UPDATE

Tonight I wrote a cpp program that plays a sound file. In your previous post you said the os plays the file so I'm guessing Sierra is using PlaySound.

The program.

#include <iostream>
#include <Windows.h>

int main()
{
PlaySound(TEXT("ls2.wav"), NULL, SND_FILENAME);
std::cout << "press any key\n";
}

This program works, and plays my custom wav file. When I try and play this same wav file on the General Settings > Alerts / General 3, it does not work and all I hear is the default os "beep" that it could not play the file.
This program plays your airplane.wav just fine too.

So I'm not sure why Sierra does not seem to like some wav files and not others.

Thoughts?