[Qt-interest] Phonon on Symbian
Werner Van Belle
werner at yellowcouch.org
Tue Jun 28 15:59:35 CEST 2011
Hello,
I'm trying to get a specific phonon component working on Symbian. In
particular, I would like to use the mp3/aac decoding functionality and
obtain the audiostream (in signed short, 2 channels). To do so I've
set up the following channels:
Phonon::AudioOutput *audioOutput1 = new
Phonon::AudioOutput(Phonon::MusicCategory, &app);
Phonon::MediaObject *mediaObject = new Phonon::MediaObject(&app);
Phonon::AudioDataOutput *audioOutput2 = new Phonon::AudioDataOutput(&app);
Phonon::createPath(mediaObject, audioOutput2);
Phonon::createPath(audioOutput2, audioOutput1);
mediaObject->setCurrentSource(filename);
Without the AudioDataOutput, the application works fine. That is to
say, it plays a selected song fine. However, when I include the
AudioDataOutput, I get an error at the first CreatePath statement:
Process 581, thread 582 stopped at 0x80436f2b: Thread 0x246 has
panicked. Category: Phonon::MMF; Reason: 3
Can somebody provide some information on what this error means and
more importantly how I would be able to retrieve the bytes from the
audiostream ?
Any help would be greatly appreciated,
With kind regards,
Werner,-
More information about the Qt-interest-old
mailing list