Open xlDon opened 5 years ago
Have you solved it yet?
In audio_queue.cpp line 486, in function void Audio_Queue::enqueueBuffer(), I am testing this fix:
replace: while (m_bufferInUse[m_fillBufferIndex]) { with: while (m_bufferInUse != nil && m_bufferInUse[m_fillBufferIndex]) {
In audio_queue.cpp line 486, in function void Audio_Queue::enqueueBuffer(), I am testing this fix:
replace: while (m_bufferInUse[m_fillBufferIndex]) { with: while (m_bufferInUse != nil && m_bufferInUse[m_fillBufferIndex]) {
Hey brother, can you reproduce this issue during development
In audio_queue.cpp line 486, in function void Audio_Queue::enqueueBuffer(), I am testing this fix:
replace: while (m_bufferInUse[m_fillBufferIndex]) { with: while (m_bufferInUse != nil && m_bufferInUse[m_fillBufferIndex]) {
it seem like does not work for me
here is the messages.
astreamer::Audio_Queue::enqueueBuffer() (audio_queue.cpp:486)
astreamer::Audio_Queue::enqueueBuffer() (audio_queue.cpp:486) astreamer::Audio_Queue::handleAudioPackets(unsigned int, unsigned int, void const, AudioStreamPacketDescription) (audio_queue.cpp:363) astreamer::Audio_Stream::decodeSinglePacket(CFRunLoopTimer, void) (audiostream.cpp:1723) CoreFoundation | CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 28 CoreFoundation | __CFRunLoopDoTimer + 864 CoreFoundation | CFRunLoopDoTimers + 248 CoreFoundation | _CFRunLoopRun + 1880 CoreFoundation | CFRunLoopRunSpecific + 436 CoreFoundation | CFRunLoopRun + 80 astreamer::Audio_Stream::decodeLoop(void*) (audio_stream.cpp:1779) libsystem_pthread.dylib | pthread_body + 128 libsystem_pthread.dylib | _pthread_start + 48