≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
What does this error mean?
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b]wij[/b] wrote: I compiled my application with 0 errors but when I try to run my mp3 I get irrKlang sound library version 1.6.0 Loaded plugin: ikpMP3.so Using ALSA driver irrKlang sound library version 1.6.0 Loaded plugin: ikpMP3.so Using ALSA driver irrKlang sound library version 1.6.0 Loaded plugin: ikpMP3.so Using ALSA driver Assertion 'pa_atomic_load(&(s)->_ref) >= 1' failed at ../pulseaudio/src/pulse/stream.c:342, function pa_stream_get_state(). Aborting. Aborted (core dumped) The code I used to get and play the mp3 looks like this: [code] include<irrKlang.h> using namespace std; using namespace irrklang; int AUDIO_play (const char* file,bool looping) { ISoundEngine* engine = createIrrKlangDevice(); if (!engine) { // printf("Audio -> FATAL : could not init audio engine"); return 1; } engine->play2D(file,looping); engine->drop(); return 0; } [/code] I run the code in a while loop(because sdl stuff) and call it by AUDIO_play("file.mp3",false); so why is it segfaulting and is there a possible way to fix this?[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact