title: OpenAL Invalid Operation
body: <p>I'm getting an OpenAL "Invalid Operation" error when trying to delete a buffer.
  I've checked with alIsBuffer and alIsSource that my source and buffer are valid OpenAL objects, and that's the case.</p>
  
  <pre><code>    assert(alIsBuffer(m_buffer) == AL_TRUE);
      assert(alIsSource(m_source) == AL_TRUE);
  
      alErrorChecking(alSourcei(m_source, AL_BUFFER, NULL));
      alErrorChecking(alDeleteBuffers(1, &amp;m_buffer)); //Here i'm getting the Invalid Operation error
      m_buffer = 0;
  </code></pre>