Skip to content

Commit

Permalink
use local encoding for Portaudio device and api
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Mar 16, 2016
1 parent e5786f3 commit bc9bc93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscore/pa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ QStringList Portaudio::apiList() const
for (PaHostApiIndex i = 0; i < apis; ++i) {
const PaHostApiInfo* info = Pa_GetHostApiInfo(i);
if (info)
al.append(info->name);
al.append(QString::fromLocal8Bit(info->name));
}
return al;
}
Expand All @@ -181,7 +181,7 @@ QStringList Portaudio::deviceList(int apiIdx)
PaDeviceIndex idx = Pa_HostApiDeviceIndexToDeviceIndex(apiIdx, i);
const PaDeviceInfo* di = Pa_GetDeviceInfo(idx);
if (di)
dl.append(di->name);
dl.append(QString::fromLocal8Bit(di->name));
}
}
return dl;
Expand Down

0 comments on commit bc9bc93

Please sign in to comment.