testing and doxy comment audio and screen

This commit is contained in:
qPCR4vir
2015-05-10 15:28:59 +02:00
parent e31616e5dd
commit f4ceafbe6c
3 changed files with 20 additions and 5 deletions

View File

@@ -8,7 +8,8 @@ namespace nana{ namespace audio
//class audio_stream
bool audio_stream::open(const nana::string& file)
{
fs_.open(static_cast<std::string>(nana::charset(file)), std::ios::binary);
std::string fname{nana::charset(file)};//static_cast<std::string>()
fs_.open(fname, std::ios::binary);
if(fs_)
{
wave_spec::master_riff_chunk riff;