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 8184981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:41:23+00:00 2026-06-07T01:41:23+00:00

I am trying to play an audio CD with phonon under Windows. I use

  • 0

I am trying to play an audio CD with phonon under Windows. I use Qt 4.8.0.

I run a code like:

QString filepath = QString("E:\\")
myMusic = Phonon::createPlayer(Phonon::MusicCategory, Phonon::MediaSource(Phonon::Cd, filepath));
myMusic->play();

There are any errors in the log window and any sound either. The disk does not spin in drive too.

So is there an option to play audio CD with phonon? If it is, how can I select proper track?

P.S. MP3 is played without issues

  • 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-06-07T01:41:24+00:00Added an answer on June 7, 2026 at 1:41 am

    Ok, I think I have solved this issue. Currently I have code like this:

    Phonon::MediaObject *myMusic = Phonon::createPlayer(Phonon::MusicCategory,Phonon::MediaSource Phonon::Cd, QString("E:\\")));
    Phonon::MediaController myMediaController(myMusic);
    myMediaController.setAutoplayTitles(true);
    myMediaController.setCurrentTitle(7);
    myMusic->play();
    

    “E:\” is my cd-drive with inserted audio cd and I play the track #8 (track count starts from zero).

    Other issue on my Windows 7 system was Phonon warning:

    unable to load the TOC from the CD
    

    This issue is related to Phonon Windows backend. Some Windows systems do not have CDDA codecs (or what is that thing is) installed. In this case Phonon application will not play Audio CD discs. You won’t see any errors (except from above) and there won’t be any cd drive activity.

    To fix this issue you should:

    1. Dowload proper cddareader.ax for your system (I used one from MPC HomeCinema Standalone Filters on http://sourceforge.net/projects/mpc-hc/files/)
    2. Open command line and execute regsvr32.exe cddareader.ax
    3. Reboot

    This code is tested on WinXP x86 and Win7 x64. Linux machine have played audio cd without problems (with different path of cource)

    Hope this information will be useful

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

Sidebar

Related Questions

I'm trying to play an mp3 audio file on iPhone executing the following code:
Ok, I'm trying to play an HTML audio code on iPad but does not
I'm trying to use FlowPlayer to play an audio livestream on my web page
I am trying to use MediaTimeline and DoubleAnimation inside Storyboard to play audio with
I would like to play an audio in my Django app.. I am trying
I am trying to play audio in a Java applet but it is not
I am trying to play audio buffered sound (.wav) using AudioTrack. Please see the
Greetings, I am trying to play some audio files without holding up the GUI.
I'm trying to have the audio file play as soon as the view controller
I'm trying to get audio files to crossfade with phonon. I'm using PyQT4. 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.