{"id":5604,"date":"2014-04-03T21:36:46","date_gmt":"2014-04-03T21:36:46","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/03\/crash-on-mic-input-auhalauioproc-mono-buffer-too-small-1024-512-collection-of-common-programming-errors\/"},"modified":"2014-04-03T21:36:46","modified_gmt":"2014-04-03T21:36:46","slug":"crash-on-mic-input-auhalauioproc-mono-buffer-too-small-1024-512-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/03\/crash-on-mic-input-auhalauioproc-mono-buffer-too-small-1024-512-collection-of-common-programming-errors\/","title":{"rendered":"Crash on mic input &#8211; AUHAL::AUIOProc: mono buffer too small (1024 &gt; 512)-Collection of common programming errors"},"content":{"rendered":"<p>I am working on a game which uses FMOD library to recognise mic input, now the mic input with built in macbook mic is fine, but when I use a USB mic [like we have in webcams] the application gives following error:<\/p>\n<p><code>[com.apple.audio.IOThread.client] AUHAL.cpp:2470: AUIOProc: AUHAL::AUIOProc: mono buffer too small (1024 &gt; 512)<\/code><\/p>\n<p>The application doesn&#8217;t actually crash on this error, but I see this error on console, what does it mean?<\/p>\n<p>[ <em>does it mean that the buffer apple core audio uses is of 512 but input received from mic is 1024?<\/em> ]<\/p>\n<p>I googled the error, but seems not many people have encountered this issue.<\/p>\n<p>If it helps, I have two threads, say A and B, and I am recognising the mic input from thread B, using it in thread A.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am working on a game which uses FMOD library to recognise mic input, now the mic input with built in macbook mic is fine, but when I use a USB mic [like we have in webcams] the application gives following error: [com.apple.audio.IOThread.client] AUHAL.cpp:2470: AUIOProc: AUHAL::AUIOProc: mono buffer too small (1024 &gt; 512) The application [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5604","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5604"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5604\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}