mattgallagher / AudioStreamer

A streaming audio player class (AudioStreamer) for Mac OS X and iPhone.
http://cocoawithlove.com
1.93k stars 553 forks source link

New version issue - "Audio packets are larger than kAQDefaultBufSize." #91

Open WWM-EMRAN opened 10 years ago

WWM-EMRAN commented 10 years ago

Hi there,

I was trying your old library for iOS, that was working well but was producing sound with jerks. But, when I add your new library, it says-"Audio packets are larger than kAQDefaultBufSize." And also sometimes producing error in log as bellow-

=======ERROR LOG======== 2014-05-14 04:32:29.980 iPhoneStreamingPlayer[5104:3a07] 04:32:29.980 ERROR: >aq> 328: AudioConverterNew from AudioQueueNew returned 'fmt?' io: 4 ch, 24000 Hz, Int16, inter client: 4 ch, 24000 Hz, 'aac ' (0x00000000) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame 2014-05-14 04:32:29.980 iPhoneStreamingPlayer[5104:3a07] ==> Audio queue creation failed. err: fmt? 1718449215 =======ERROR LOG END========

with the bellow log all the time-

=======ERROR LOG======== 2014-05-14 04:36:15.016 iPhoneStreamingPlayer[5118:4f0b] 04:36:15.016 ERROR: 185: Error creating aggregate audio device: 'what' 2014-05-14 04:36:15.016 iPhoneStreamingPlayer[5118:4f0b] 04:36:15.016 WARNING: 219: The input device is 0x32; 'AppleHDAEngineInput:1B,0,1,0:1' 2014-05-14 04:36:15.017 iPhoneStreamingPlayer[5118:4f0b] 04:36:15.017 WARNING: 223: The output device is 0x28; 'AppleHDAEngineOutput:1B,0,1,1:0' 2014-05-14 04:36:15.017 iPhoneStreamingPlayer[5118:4f0b] 04:36:15.017 ERROR: 398: error 'what' =======ERROR LOG END========

Can't get what to do? Please, help.

Thanks.

InderKumarRathore commented 9 years ago

I think your stream is mp3, similar to #67

Ypoem commented 9 years ago

说中文啊

InderKumarRathore commented 9 years ago

我觉得你流的 MP3 ,类似于 #67

NemoAir commented 8 years ago

@InderKumarRathore LoL... i can help you translate. @Ypoem 你的音频流是MP3,这个问题和 #67 相似 . PS:Github上要求别人说中文太为难了吧

InderKumarRathore commented 8 years ago

@NemoAir Thanks buddy ;)