Comments (7)
Hello.
Huh, it seems to be a utf-8 problem.
Do you have the same problem with audio-files (????.mp3 or ????.ogg) ?
I will check it asap.
Thanks to report it.
Fre;D
from uos.
Re-hello.
Could you try with last commit da316a2 ?
Thanks.
Fre;D
from uos.
Hi, both solutions : ( UTF8ToAnsi(devinf^._name); UTF8Decode(devinf^._name); ) Not work :(
I have the same problem with MMSystem:
procedure TForm1.FormCreate(Sender: TObject);
var
WaveNums, i: integer;
WaveInCaps: TWaveInCaps;
begin
WaveNums := waveInGetNumDevs;
if WaveNums > 0 then
begin
for i := 0 to WaveNums - 1 do
begin
waveInGetDevCaps(i, @WaveInCaps, sizeof(TWaveInCaps));
ComboBox1.Items.Add((PChar(@WaveInCaps.szPname)));
// ComboBox1.Items.Add(AnsiString(PChar(@WaveInCaps.szPname)));
end;
end;
ComboBox1.ItemIndex:=0;
end;
But this code works Fine in Delphi.
from uos.
I solved this problem by activating the -dDisableUTF8RTL and using SysToUTF8 function.
from uos.
Hello.
Ha, ok, I am very happy for you.
What code did you change in uos to make it working ?
This to add a comment for other people that uses Russian characters.
Thanks.
Fre;D
from uos.
http://wiki.freepascal.org/Lazarus_with_FPC3.0_without_UTF-8_mode , I disabled UTF-8 mode and used SysToUTF8 function in project.
Main_di.pas
uses .....LazUTF8;
stringgrid1.Cells[1, x] := SysToUTF8(uosDeviceInfos[x - 1].DeviceName);
uos.pas
uosDeviceInfos[x].HostAPIName := apiinf^._name;
uosDeviceInfos[x].DeviceName := devinf^._name;
from uos.
@akatser 👍 many thanks.
I will add a comment for that.
Fre;D
from uos.
Related Issues (20)
- uos does synthesizer !
- Failed to use within Delphi as description mentioned Delphi HOT 2
- Device Enumeration HOT 10
- Recording input stream to wav directly HOT 10
- uos has his forum ;-) HOT 2
- problem on threaded uos_File2Buffer HOT 5
- Check Range error HOT 2
- uos_EndProc not working on linux 64-bit xfce using uos v2.0.1 ? HOT 1
- Highpass filter not working HOT 4
- mpg123 - wrong declaration of records HOT 5
- mpg123 - missing function mpg123_meta_free HOT 14
- Missing Identifiers HOT 1
- Problem with multi audio cards and PortAudio+PulseAudio HOT 1
- Zip File Corrupted HOT 1
- No external libraries HOT 9
- Debug output HOT 38
- Distorted (ogg file) audio output HOT 2
- DELPHI? HOT 1
- Compilation fails in DEBUG mode HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uos.