mAsA
2005-06-06 13:30:29 UTC
Hello to everyone! I'm working on a speaking clock.
I have a problem, I don't know how to make that specific sound will play when
the specific number(hour, minute, second) is in variable h,m,s. I know how to
play file using direct path to my .ogg file like :
OutputStreamPtr stream(OpenSound(device, "D:\\---MUSIC---\\Projekt Ura\\Nova
mapa\\Sound 13.ogg", true));
""Upper line is trigered with number 13""
Can i make it that the specific number will play the specific sound (sounds are
recorded on my HD)and instead of this line("D:\\---MUSIC---\\Projekt Ura\\Nova
mapa\\Sound 13.ogg")there will be variable or some array?
Thanx for any help.
I'm using Microsoft visual c++.
I have a problem, I don't know how to make that specific sound will play when
the specific number(hour, minute, second) is in variable h,m,s. I know how to
play file using direct path to my .ogg file like :
OutputStreamPtr stream(OpenSound(device, "D:\\---MUSIC---\\Projekt Ura\\Nova
mapa\\Sound 13.ogg", true));
""Upper line is trigered with number 13""
Can i make it that the specific number will play the specific sound (sounds are
recorded on my HD)and instead of this line("D:\\---MUSIC---\\Projekt Ura\\Nova
mapa\\Sound 13.ogg")there will be variable or some array?
Thanx for any help.
I'm using Microsoft visual c++.