Link: @CplusplusQt Embedded: @EMBCpp • Allowed Topics: C++ and everything related to Qt • Use only English • No Private Message without asking user's permission • No NSFW • No Spam • No unauthorized Bots • No Offtopic • No Self Promotions
to be honest, it would be cool if developers at qt supported this
Читать полностью…icycast/shoutcast gives metadata after every x bytes (to find x you must pass Icy-MetaData: 1
header with the network request and in the response read header Icy-MetaInt
)
expected something different because metaData() always returns an empty metadata object
Читать полностью…or do I do setSource(QUrl) and then a ->get(requestWithTheSameUrl) to get the metadata (which is literally inside the audio)?
Читать полностью…Hi. Where is a place where in RHI QQuickItem::z
is applied if backend is Vulkan?
The actual issue that Qt doesn't work well with touch devices
Читать полностью…#include <QAudioDevice>
#include <QAudioOutput>
#include <QCoreApplication>
#include <QFile>
#include <QMediaDevices>
#include <QMediaMetaData>
#include <QMediaPlayer>
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
QMediaPlayer *mediaPlayer = new QMediaPlayer;
QAudioOutput *audioOutput = new QAudioOutput(QMediaDevices::defaultAudioOutput());
mediaPlayer->setSource(
QUrl("https://scdn.nrjaudio.fm/adwz1/fr/30079/"
"mp3_128.mp3?origine=radiogarden&listening-from-radio-garden=1673884209"));
mediaPlayer->setAudioOutput(audioOutput);
mediaPlayer->play();
QObject::connect(mediaPlayer, &QMediaPlayer::metaDataChanged, &app,
[mediaPlayer]
{
qDebug() << mediaPlayer->metaData().stringValue(QMediaMetaData::Title);
});
return app.exec();
}
""
after some little time
Читать полностью…
https://gist.github.com/dimitris-c/3e2af7ab451c965d126c02ab580f1eb8
Читать полностью…i think this method only reads the headers of the source, and since most online radios use icycast/shoutcast, there arent any
Читать полностью…By using MaintenanceTool.exe you can install all compilers from Microsoft...I do not see any problems...
Читать полностью…When you call play , you should check if the media has loaded and then fetch metadata
Читать полностью…if yes, wouldn't that be an unnecessary second network request which could use more internet traffic?
Читать полностью…the thing is that I need to get stream metadata while streaming the audio
Читать полностью…I set
.depthTestEnable = VK_FALSE,for
.depthWriteEnable = VK_FALSE,
.depthCompareOp = VK_COMPARE_OP_LESS,
VkPipelineDepthStencilStateCreateInfo
when configure graphics pipeline, but all standard Quick Items works badly if I use z
value as z
coordinate for vertices in my custom QQuickItem
with Vulkan RHI backend.z
coordinate across parent window viewport. In Renderdoc I see, that they even not write anything into z-buffer (but seems they depth-test it).
Читать полностью…
Hi. I have a Q3DScatter graph.
Its axis are configured this way:
m_graph->axisX()->setRange(-horizontalRange, horizontalRange);
m_graph->axisY()->setRange(-verticalRange, verticalRange);
m_graph->axisZ()->setRange(-horizontalRange, horizontalRange);
m_graph->axisX()->setSegmentCount(int(horizontalRange));
m_graph->axisY()->setSegmentCount(int(verticalRange));
m_graph->axisZ()->setSegmentCount(int(horizontalRange));