Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-121699

Spectrum - Can't record sound.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • 6.2.11, 6.5.4
    • None
    • macOS
    • ac042400130334b3832cd7822bddad9e50db0150

      Description:- 

      In Qt Spectrum Example, specifically in the Record and Playback mode, the voice recording functionality does not work as expected. When attempting to record voice, the application fails to capture and store the audio input, rendering the recording feature non-functional.

      19:47:21: Starting /Users/alber/Qt/Examples/Qt-6.5.4/multimedia/build-spectrum-Qt_6_5_4_for_macOS-Debug/spectrum.app/Contents/MacOS/spectrum...
      
      Engine::initialize m_bufferLength 1920000
      
      Engine::initialize m_dataLength 0
      
      Engine::initialize format QAudioFormat( 48000 Hz,  2 Channels,  Int16 Format )
      
      qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
      
      Engine::initializeRecord
      
      Engine::initialize m_bufferLength 1920000
      
      Engine::initialize m_dataLength 0
      
      Engine::initialize format QAudioFormat( 48000 Hz,  2 Channels,  Int16 Format )
      
      Engine::audioStateChanged from StoppedState to IdleState
      
      Engine::audioStateChanged from IdleState to ActiveState
      
      Engine::calculateLevel pos 161024 len 19200 rms 0 peak 0
      
      Engine::calculateSpectrum QThread(0x600000c4c240) count 0 pos 163840 len 16384 spectrumAnalyser.isReady true
      
      SpectrumAnalyser::calculate QThread(0x600000c4c240) state 0
      
      Engine::spectrumChanged pos 163840
      
      Engine::calculateLevel pos 345344 len 19200 rms 0 peak 0
      
      Engine::calculateSpectrum QThread(0x600000c4c240) count 0 pos 348160 len 16384 spectrumAnalyser.isReady true
      
      SpectrumAnalyser::calculate QThread(0x600000c4c240) state 0
      
      Engine::spectrumChanged pos 348160
      
      Engine::calculateLevel pos 525568 len 19200 rms 0 peak 0
      
      Engine::calculateSpectrum QThread(0x600000c4c240) count 0 pos 528384 len 16384 spectrumAnalyser.isReady true
      
      SpectrumAnalyser::calculate QThread(0x600000c4c240) state 0
      
      Engine::spectrumChanged pos 528384
      
      Engine::calculateLevel pos 718080 len 19200 rms 0 peak 0
      
      Engine::calculateSpectrum QThread(0x600000c4c240) count 0 pos 720896 len 16384 spectrumAnalyser.isReady true
      
      SpectrumAnalyser::calculate QThread(0x600000c4c240) state 0
      
      Engine::spectrumChanged pos 720896 

      Steps to Reproduce:

      1. Build and Launch the Spectrum Example Example on MacOs.
      2. Switch to the Record and Playback mode.
      3. Attempt to initiate voice recording by clicking the record button.
      4. Observe that the application does not successfully record the voice input (Try playing that).

      Expected Behavior: Upon initiating voice recording, the application should capture and store the audio input, allowing users to play it back during the Playback mode.

      Actual Behavior: Voice recording is not functioning, and no audio input is recorded during the Record and Playback mode.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtmultimediateam Qt Multimedia Team
            alrizwan Alber Rizwan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes