Re: Maemo 5 - Playing sounds from Qt

Re: Maemo 5 - Playing sounds from Qt

Cornelius Hald
Karma: 573
2009-10-28 17:43 UTC
On Wed, 2009-10-28 at 19:36 +0200, Topi Hukkanen wrote:
> [sbox-FREMANTLE_X86: ~/test2] > fakeroot run-standalone.sh ./test2
> cat1.wav
> main.cpp: pa_simple_new() failed: Connection refused
>
> Does anyone know what could be wrong?

It might be that the pulseaudio daemon is not running. I know it's not
running in the Beta2 SDK. Try to start it manually, also please have a
look at this bug: https://bugs.maemo.org/show_bug.cgi?id=5168

Cheers!
Conny


  •  Reply

Re: Maemo 5 - Playing sounds from Qt

Topi Hukkanen
Karma: 7
2009-10-28 17:49 UTC
Thanks for the heads-up, Conny.

But... could there be more things wrong?

[sbox-FREMANTLE_X86: ~/test2] > run-standalone.sh pulseaudio
OIL: ERROR liboiltest.c 405: oil_test_check_impl(): function mas10_u8_mmx_2
in class mas10_u8_l15 failed check (7843 > 0) || (outside=0)
pulseaudio: symbol lookup error: /usr/lib/libpulsecore-0.9.15.so: undefined
symbol: eventfd
[sbox-FREMANTLE_X86: ~/test2] >

This is after apt-get update / apt-get upgrade, of course.

-Topi

On Wed, Oct 28, 2009 at 7:43 PM, Cornelius Hald <hald@icandy.de> wrote:

> On Wed, 2009-10-28 at 19:36 +0200, Topi Hukkanen wrote:
> > [sbox-FREMANTLE_X86: ~/test2] > fakeroot run-standalone.sh ./test2
> > cat1.wav
> > main.cpp: pa_simple_new() failed: Connection refused
> >
> > Does anyone know what could be wrong?
>
> It might be that the pulseaudio daemon is not running. I know it's not
> running in the Beta2 SDK. Try to start it manually, also please have a
> look at this bug: https://bugs.maemo.org/show_bug.cgi?id=5168
>
> Cheers!
> Conny
>
>
>

  •  Reply

Re: Maemo 5 - Playing sounds from Qt

Cornelius Hald
Karma: 573
2009-10-28 18:34 UTC
On Wed, 2009-10-28 at 19:49 +0200, Topi Hukkanen wrote:
> Thanks for the heads-up, Conny.
>
> But... could there be more things wrong?
>
> [sbox-FREMANTLE_X86: ~/test2] > run-standalone.sh pulseaudio
> OIL: ERROR liboiltest.c 405: oil_test_check_impl(): function
> mas10_u8_mmx_2 in class mas10_u8_l15 failed check (7843 > 0) ||
> (outside=0)
> pulseaudio: symbol lookup error: /usr/lib/libpulsecore-0.9.15.so:
> undefined symbol: eventfd
> [sbox-FREMANTLE_X86: ~/test2] >

I also get an error like that, but without the "symbol lookup error"
part. After that is seems to be running (it's taking connections) but it
does not output audio. Probably because there's already pulseaudio
running on the host. Maybe it's possible to run puseaudio on the host
and make it somehow available to scratchbox?

Sorry that I cannot help you more.

Conny


  •  Reply

Re: Maemo 5 - Playing sounds from Qt

Antonio Aloisio
Karma: 261
2009-10-28 20:36 UTC
Phonon uses GStreamer. Anyway if ou are using Qt, phonon is the best
solution.

Br,
Antonio

On Wed, Oct 28, 2009 at 8:34 PM, Cornelius Hald <hald@icandy.de> wrote:

> On Wed, 2009-10-28 at 19:49 +0200, Topi Hukkanen wrote:
> > Thanks for the heads-up, Conny.
> >
> > But... could there be more things wrong?
> >
> > [sbox-FREMANTLE_X86: ~/test2] > run-standalone.sh pulseaudio
> > OIL: ERROR liboiltest.c 405: oil_test_check_impl(): function
> > mas10_u8_mmx_2 in class mas10_u8_l15 failed check (7843 > 0) ||
> > (outside=0)
> > pulseaudio: symbol lookup error: /usr/lib/libpulsecore-0.9.15.so:
> > undefined symbol: eventfd
> > [sbox-FREMANTLE_X86: ~/test2] >
>
> I also get an error like that, but without the "symbol lookup error"
> part. After that is seems to be running (it's taking connections) but it
> does not output audio. Probably because there's already pulseaudio
> running on the host. Maybe it's possible to run puseaudio on the host
> and make it somehow available to scratchbox?
>
> Sorry that I cannot help you more.
>
> Conny
>
>
>


--

Samuel Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html>
- "I'm willing to admit that I may not always be right, but I am never
wrong."

  •  Reply

Re: Maemo 5 - Playing sounds from Qt

Chris Fryer
Karma: 7
2010-02-06 18:31 UTC
> On Wed, 2009-10-28 at 19:49 +0200, Topi Hukkanen wrote:
> > But... could there be more things wrong?
> >
> > [sbox-FREMANTLE_X86: ~/test2] > run-standalone.sh pulseaudio
> > OIL: ERROR liboiltest.c 405: oil_test_check_impl(): function
> > mas10_u8_mmx_2 in class mas10_u8_l15 failed check (7843 > 0) ||
> > (outside=0)
> > pulseaudio: symbol lookup error: /usr/lib/libpulsecore-0.9.15.so:
> > undefined symbol: eventfd
> > [sbox-FREMANTLE_X86: ~/test2] >

I have the same problem with the SDK and cannot get pulseaudio to run.

I'm working on an audio application so it would be very useful to get sound from the SDK.

Is it a common problem or is something wrong with my installation?

I'm running Ubuntu 9.04, SDK version 5.0 (I think) and have checked that's using the latest pulseaudio 0.9.15-1maemo35+0m5.
  •  Reply

Re: Maemo 5 - Playing sounds from Qt

Bernd Stramm
Karma: 8
2010-02-07 17:12 UTC
>
> > On Wed, 2009-10-28 at 19:49 +0200, Topi Hukkanen wrote:
> > > But... could there be more things wrong?
> > >
> > > [sbox-FREMANTLE_X86: ~/test2] > run-standalone.sh pulseaudio
> > > OIL: ERROR liboiltest.c 405: oil_test_check_impl(): function
> > > mas10_u8_mmx_2 in class mas10_u8_l15 failed check (7843 > 0) ||
> > > (outside=0)
> > > pulseaudio: symbol lookup error: /usr/lib/libpulsecore-0.9.15.so:
> > > undefined symbol: eventfd
> > > [sbox-FREMANTLE_X86: ~/test2] >
>
> I have the same problem with the SDK and cannot get pulseaudio to run.
>
> I'm working on an audio application so it would be very useful to get sound from the SDK.
>
> Is it a common problem or is something wrong with my installation?
>
> I'm running Ubuntu 9.04, SDK version 5.0 (I think) and have checked that's using the latest pulseaudio 0.9.15-1maemo35+0m5.
>

I had a small Qt example working with the same error/warming from oil_text_check_impl.

Until I read this thread here, then it stopped working.
  •  Reply

Re: Maemo 5 - Playing sounds from Qt

2010-03-04 14:41 UTC
>
> >
> > > On Wed, 2009-10-28 at 19:49 +0200, Topi Hukkanen wrote:
> > > > But... could there be more things wrong?
> > > >
> > > > [sbox-FREMANTLE_X86: ~/test2] > run-standalone.sh pulseaudio
> > > > OIL: ERROR liboiltest.c 405: oil_test_check_impl(): function
> > > > mas10_u8_mmx_2 in class mas10_u8_l15 failed check (7843 > 0) ||
> > > > (outside=0)
> > > > pulseaudio: symbol lookup error: /usr/lib/libpulsecore-0.9.15.so:
> > > > undefined symbol: eventfd
> > > > [sbox-FREMANTLE_X86: ~/test2] >
> >
> > I have the same problem with the SDK and cannot get pulseaudio to run.
> >
> > I'm working on an audio application so it would be very useful to get sound from the SDK.
> >
> > Is it a common problem or is something wrong with my installation?
> >
> > I'm running Ubuntu 9.04, SDK version 5.0 (I think) and have checked that's using the latest pulseaudio 0.9.15-1maemo35+0m5.
> >
>
> I had a small Qt example working with the same error/warming from oil_text_check_impl.
>
> Until I read this thread here, then it stopped working.
>



i write my application (Qt 4.6.2) using phonon to play wav
effect, but application is mute and i have this message: "do
you not seem to have package gsreamer-0.10-plugins-good
installed"; this package is already installed newer version
Also, i have found this thread
https://garage.maemo.org/pipermail/qt4-devel/2009-May/000514.html
but i don't understand if this problem solved or not
  •  Reply

Re: Maemo 5 - Playing sounds from Qt

Stéphane Caron
Karma: 7
2010-05-23 05:13 UTC
> > > > On Wed, 2009-10-28 at 19:49 +0200, Topi Hukkanen wrote:
> > > > > [sbox-FREMANTLE_X86: ~/test2] > run-standalone.sh pulseaudio
> > > > > OIL: ERROR liboiltest.c 405: oil_test_check_impl(): function
> > > > > mas10_u8_mmx_2 in class mas10_u8_l15 failed check (7843 > 0) ||
> > > > > (outside=0)
> > > > > pulseaudio: symbol lookup error: /usr/lib/libpulsecore-0.9.15.so:
> > > > > undefined symbol: eventfd
> > > > > [sbox-FREMANTLE_X86: ~/test2] >
> > >
> > > I have the same problem with the SDK and cannot get pulseaudio to run.

I also have exactly the same error (with Maemo 5 SDK freshly installed and last versions of the packages).

I guess it has something to do with pulseaudio already running on my host system (which I don't know yet how to disable since Ubuntu respawns pulseaudio processes when killed)...
  •  Reply