mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
fix: mac no sound
This commit is contained in:
parent
ff7db18d5f
commit
c2a3aa106b
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ void AudioOutput::startAudioOutput()
|
|||
format.setSampleSize(16);
|
||||
format.setCodec("audio/pcm");
|
||||
format.setByteOrder(QAudioFormat::LittleEndian);
|
||||
format.setSampleType(QAudioFormat::UnSignedInt);
|
||||
format.setSampleType(QAudioFormat::SignedInt);
|
||||
|
||||
QAudioDeviceInfo info(QAudioDeviceInfo::defaultOutputDevice());
|
||||
if (!info.isFormatSupported(format)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue