1. Correct the listings of Audio In and Audio Out devices, on unix-like

platforms.
2. This might be temporary: set Audio output on unix platforms to stereo,
i.e., channels=2.  On my Ubuntu system, at least, this makes it play
correctly on all of the relevant audio devices in the list, including
hardware and virtual (".asoundrc-implemented") devices.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3317 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2013-05-28 19:16:25 +00:00
parent 2ebbb2c016
commit a170d9df1f
3 changed files with 9 additions and 4 deletions
+3
View File
@@ -143,6 +143,9 @@ void SoundOutThread::run()
outParam.device=m_nDevOut; //Output device number
outParam.channelCount=1; //Number of analog channels
#ifdef unix
outParam.channelCount=2; //Number of analog channels
#endif
outParam.sampleFormat=paInt16; //Send short ints to PortAudio
outParam.suggestedLatency=0.05;
outParam.hostApiSpecificStreamInfo=NULL;