Hi, Thanks, but please push patches to our code review system for discussing and eventually merging changes:
* https://wiki.qt.io/Qt_Contribution_Guidelines * https://wiki.qt.io/Setting_up_Gerrit Regards, Volker > On 6 Apr 2023, at 14:16, shengfeng zhou <[email protected]> wrote: > > /var/tmp/build/qt6-6.5.0/qtmultimedia/src/multimedia/alsa/qalsaaudiosink_p.h:98:22: > error: expected ';' at end of member declaration > 98 | snd_pcm_access_t access SND_PCM_ACCESS_RW_INTERLEAVED; > | ^~~~~~ > | ; > /var/tmp/build/qt6-6.5.0/qtmultimedia/src/multimedia/alsa/qalsaaudiosink_p.h:98:29: > error: 'SND_PCM_ACCESS_RW_INTERLEAVED' does not name a type > > --- qt6-6.5.0/qtmultimedia/src/multimedia/alsa/qalsaaudiosink_p.h.orig > 2023-04-06 19:16:52.046179861 +0800 > +++ qt6-6.5.0/qtmultimedia/src/multimedia/alsa/qalsaaudiosink_p.h > 2023-04-06 19:29:43.279593508 +0800 > @@ -95,8 +95,8 @@ > qint64 elapsedTimeOffset = 0; > char* audioBuffer = nullptr; > snd_pcm_t* handle = nullptr; > - snd_pcm_access_t access SND_PCM_ACCESS_RW_INTERLEAVED; > - snd_pcm_format_t pcmformat SND_PCM_FORMAT_S16; > + snd_pcm_access_t access = SND_PCM_ACCESS_RW_INTERLEAVED; > + snd_pcm_format_t pcmformat = SND_PCM_FORMAT_S16; > snd_pcm_hw_params_t *hwparams = nullptr; > qreal m_volume = 1.0f; > }; > -- > Development mailing list > [email protected] > https://lists.qt-project.org/listinfo/development -- Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
