Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio packets are larger than kAQDefaultBufSize. #52

Open
coanag opened this issue Oct 13, 2012 · 5 comments
Open

Audio packets are larger than kAQDefaultBufSize. #52

coanag opened this issue Oct 13, 2012 · 5 comments

Comments

@coanag
Copy link

coanag commented Oct 13, 2012

I use Matt gallagher 's audio streamer. When replace the usrl with mine i get "Audio packets are larger than kAQDefaultBufSize."
Can it be tweaked or has something to do with the stream im using?
Any suggestions.

Thank you

@mattgallagher
Copy link
Owner

Exactly as the message states: you need to increase the size of the kAQDefaultBufSize to handle the audio you're trying to play.

@coanag
Copy link
Author

coanag commented Oct 14, 2012

Can you recommend size? Now is 2048 , i tried 3072 but get same error.

@coanag
Copy link
Author

coanag commented Oct 14, 2012

The solution to my problem was changing AudioStreamer.m
// hintForFileExtension
line 574 from "kAudioFileAAC_ADTSType" to "kAudioFileMP3Type"

My stream is at 128 kbps

@zzolrac
Copy link

zzolrac commented Nov 9, 2012

that solution works for me thanks a lot

@chujiandaochuxia
Copy link

我的问题的解决方案是将AudioStreamer.m
// hintForFileExtension
第574行从“kAudioFileAAC_ADTSType”更改为“kAudioFileMP3Type”

我的流速为128 kbps

非常感谢 这解决了我的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants