Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - HeapOfCode

Pages: [1]
1
Audio / Re: OpenAL Error in Soundbuffer.cpp Windows 10
« on: December 20, 2015, 08:19:45 pm »
Yep that fixed it, thanks a lot  ;D ,never mind the auto updates

2
Window / Re: Bug Report window not responding
« on: December 20, 2015, 07:23:21 pm »
Seems to work for me too.

sfml 2.3.2
gcc 5.3.0-2
4.2.5-1-ARCH, AwesomeWM


3
Audio / Re: OpenAL Error in Soundbuffer.cpp and others
« on: December 20, 2015, 03:22:39 pm »
Yes, I put it next to the executable otherwise Id get a pop up saying that its missing  :P

4
Audio / OpenAL Error in Soundbuffer.cpp Windows 10
« on: December 20, 2015, 03:11:07 pm »
Hello everyone, I  ran into issues by simply running :

#include <SFML/System.hpp>
#include <SFML/Audio.hpp>

int main()
{
    sf::Sound sound;

    sf::SoundBuffer buffer;

    buffer.loadFromFile("file.wav");

    sound.setBuffer(buffer);

    sound.play();
}

My command line is printing:

Quote
AL lib: (EE) DoReset: Failed to initialize audio client: 0x8889000a
Failed to create the audio context
An internal OpenAL call failed in SoundSource.cpp(37).
Expression:
   alGenSources(1, &m_source)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

An internal OpenAL call failed in SoundSource.cpp(38).
Expression:
   alSourcei(m_source, AL_BUFFER, 0)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

An internal OpenAL call failed in SoundBuffer.cpp(46).
Expression:
   alGenBuffers(1, &m_buffer)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

Failed to open sound file "HITMARKER.wav" (couldn't open stream)
An internal OpenAL call failed in Sound.cpp(104).
Expression:
   alSourcei(m_source, AL_BUFFER, m_buffer->m_buffer)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

An internal OpenAL call failed in Sound.cpp(73).
Expression:
   alSourcePlay(m_source)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

An internal OpenAL call failed in Sound.cpp(87).
Expression:
   alSourceStop(m_source)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

An internal OpenAL call failed in Sound.cpp(194).
Expression:
   alSourcei(m_source, AL_BUFFER, 0)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

An internal OpenAL call failed in Sound.cpp(87).
Expression:
   alSourceStop(m_source)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

An internal OpenAL call failed in SoundSource.cpp(60).
Expression:
   alSourcei(m_source, AL_BUFFER, 0)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

An internal OpenAL call failed in SoundSource.cpp(61).
Expression:
   alDeleteSources(1, &m_source)
Error description:
   AL_INVALID_OPERATION
   The specified operation is not allowed in the current state.

I use codeblocks gcc on windows10 with the 32bit sfml2.3.2. I already tried the other libs from the website without success  :-[. So I hope anyone has an idea of what might cause this.

Update:
I ran the program on a different pc (Win8.1) and found out the errors were caused by the last win10 update

Pages: [1]
anything