use UTF-8 for string representation
This commit is contained in:
@@ -6,9 +6,9 @@ namespace nana{ namespace audio
|
||||
namespace detail
|
||||
{
|
||||
//class audio_stream
|
||||
bool audio_stream::open(const nana::string& file)
|
||||
bool audio_stream::open(const std::string& file)
|
||||
{
|
||||
fs_.open(static_cast<std::string>(charset(file)), std::ios::binary);
|
||||
fs_.open(to_osmbstr(file), std::ios::binary);
|
||||
if(fs_)
|
||||
{
|
||||
wave_spec::master_riff_chunk riff;
|
||||
|
||||
Reference in New Issue
Block a user