valbok / QtAVPlayer

Free and open-source Qt Media Player library based on FFmpeg, for Linux, Windows, macOS, iOS and Android.
MIT License
298 stars 60 forks source link

Add channels to QAVAudioOutput #419

Closed valbok closed 10 months ago

valbok commented 10 months ago

https://github.com/valbok/QtAVPlayer/pull/422

valbok commented 10 months ago

@binarysoft2011

binarysoft2011 commented 10 months ago

if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)

void setChannelConfig(QAudioFormat::ChannelConfig);
QAudioFormat::ChannelConfig channelConfig() const;

endif

What about Qt 5.X ?

valbok commented 10 months ago

if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0) void setChannelConfig(QAudioFormat::ChannelConfig); QAudioFormat::ChannelConfig channelConfig() const; #endif

What about Qt 5.X ?

qt5 does not support this