Skip to content

Audio not working #1

@zoecarver

Description

@zoecarver

@jenghis I think this is a really great framework that I would really like to get working. I tried creating an instance of airtunes and calling start which worked after a bit of tweaking (I mainly had to change the RSA transform).

The issue is that when I call start and try to play something to the server, I get a quick static sound then only silence. I am not sure why this is and I would love some help figuring it out.

Possible issues

  • Indexs 5 to 22412 are skipped - maybe the sequence is always off?
  • After checkPacketIsSequential finally returns true, AudioQueueEnqueueBuffer returns -66686 - maybe the size is not set correctly?

I don't know very much about AudioToolkit but, I suspect that is where the issue is coming from because it seems like the buffers are being received correctly.

Errors and Debug Info

I was not sure what info would be helpful but here is some outputs from the console.

Read: 4 Write: 4 Diff: 0 Buffers: 2
Enqueue error: -66686

Thanks again.

Edit

After testing a bit more, I found that this actually only happens some of the time and the output varies a lot. Sometimes the above error will happen whereas sometimes no error will be given and there will just be silence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions