With out whitout ALSA in my rpi the sound is poor
Have you try to use /uos/examples/deviceinfos.lpi ?
It will show you all the devices recognized by PortAudio.
Maybe, you may try then with a other config:
function AddIntoDevOut(Device: LongInt; Latency: CDouble;
SampleRate: LongInt; Channels: LongInt; SampleFormat: LongInt ; FramesCount: LongInt ): LongInt;
////// Add a Output into Device Output
//////////// Device ( -1 is default device ) :
Try to change here //////////// Latency ( -1 is latency suggested ) )
//////////// SampleRate : delault : -1 (44100)
//////////// Channels : delault : -1 (2:stereo) (0: no channels, 1:mono, 2:stereo, ...) :
Try to change here //////////// SampleFormat : default : -1 (1:Int16) (0: Float32, 1:Int32, 2:Int16) :
Try to change here //////////// FramesCount : default : -1 (= 65536) :
Try to change here // result : Output Index in array -1 = error
/// example : OutputIndex1 := AddIntoDevOut(-1,-1,-1,-1,0);
Fre;D