Nana C++ Library. Reference for users.
What we need to use nana
Main Page
Related Pages
Namespaces
Classes
Examples
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
audio_player_simple.cpp
#include <nana/audio/player.hpp>
int
main()
{
#ifdef NANA_ENABLE_AUDIO
nana::audio::player player(
"../Examples/audio1.wav"
);
player.play();
//Play the audio, it waits until the audio is finished.
#endif //NANA_ENABLE_AUDIO
}
Generated by
1.8.5