Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 590227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:30:23+00:00 2026-05-13T15:30:23+00:00

I have already asked a similar question here: Python open raw audio data file

  • 0

I have already asked a similar question here:
Python open raw audio data file

Now I want to open, and play, raw audio files with QtPhonon.
The main goal is to open the file and play a certain location in the file, for example from the 10th second to the 20th second. Is it possible using QtPhonon ?

I couldn’t find anything useful about the subject.

Thanx in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:30:23+00:00Added an answer on May 13, 2026 at 3:30 pm

    The problem in trying to do this with Phonon is that Phonon::MediaSource does not expose any API with which you can specify the audio format – i.e. the sample rate, encoding and number of channels in your PCM data stream. Normally, this information is encoded in the file header (for PCM data files, typically a WAV header), but since you stated that you want to play “raw audio”, I’m assuming you mean literally buffers of PCM samples.

    Qt 4.6 introduces a new, lower level, suite of audio APIs in the QtMultimedia module. You can use QAudioOutput to play raw audio streams.

    Note that support for the QtMultimedia APIs is not yet as widespread as Phonon, but there are already backends for Windows, Mac, and Linux (supporting PULSE and ALSA audio subsystems).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Someone else has already asked a somewhat similar question: Validate an Xml file against
I have already asked a similar question earlier but I have notcied that I
I have asked a similar question to this one already but I think it
I have asked a similar question previously but it was never resolved so here
This is a follow up to a very similar question I have already asked
I guess this question that would have already been asked here. I searched but
I have another question. Quite similar to the other that i already asked (and
I asked a similar question yesterday, but now I have a slight twist. Since
I know that similar questions have already been asked here before, but they all
I already asked similar question here, but I still get some errors, so I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.