{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/143d37bc67b04ad4fdc69beddda48651?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"143d37bc67b04ad4fdc69beddda48651","url":"https://api.github.com/users/tomtaylor","login":"tomtaylor","id":565},"updated_at":"2011-11-17T19:34:51Z","labels":[],"assignee":null,"closed_at":null,"comments":8,"url":"https://api.github.com/repos/mkrautz/mumblekit/issues/2","body":"Hello again, apologies if this is another stupid question.\r\n\r\nI've been playing around with a test app for MumbleKit on 10.7, and having a bit of trouble with audio input. Running the Mumble iPhone client in the Simulator works absolutely fine: I can listen and send to a channel straight out of the box.\r\n\r\nIf I connect with my own test Mac client application, I can hear everyone in the channel, but cannot send - no-one can hear me speak, and my user talk status never changes. I presume that MumbleKit uses the system default audio input by default, which is set to microphone, but I can't work out where to confirm that.\r\n\r\nThis is the log from my app:\r\n\r\n    2011-11-11 15:27:03.418 MumbleKitTest[38389:107] AudioInput: 24000 bits/s, 48000 Hz, 480 sample CELT\r\n    2011-11-11 15:27:03.517 MumbleKitTest[38389:107] AudioInput: Input device with more than one channel detected. Defaulting to 1.\r\n    2011-11-11 15:27:03.518 MumbleKitTest[38389:107] AudioInput: initializeMixer -- iMicFreq=48000, iSampleRate=48000\r\n    2011-11-11 15:27:03.519 MumbleKitTest[38389:107] AudioInput: Initialized mixer for 1 channel 48000 Hz and 0 channel 0 Hz echo\r\n    2011-11-11 15:27:03.526 MumbleKitTest[38389:107] AudioOutput: Output device currently configured as 48000Hz sample rate, 2 channels, 4 sample size\r\n    2011-11-11 15:27:03.621 MumbleKitTest[38389:d503] MKConnection: TCP_NODELAY=1\r\n    2011-11-11 15:27:03.723 MumbleKitTest[38389:107] CELT bitstream = 0x8000000b\r\n    2011-11-11 15:27:03.748 MumbleKitTest[38389:d503] MKConnection: Got CryptSetup from server.\r\n    2011-11-11 15:27:03.761 MumbleKitTest[38389:d503] MKConnection: CryptState initialized.\r\n    2011-11-11 15:27:03.776 MumbleKitTest[38389:d503] MKConnection: Unknown packet type recieved. Discarding. (type=24)\r\n    2011-11-11 15:27:04.550 MumbleKitTest[38389:cd03] AudioInput: No buffer allocated.\r\n    2011-11-11 15:27:08.713 MumbleKitTest[38389:d503] MKConnection: Sent ping message.\r\n    2011-11-11 15:27:08.734 MumbleKitTest[38389:d503] MKConnection: UDP is now available!\r\n    2011-11-11 15:27:08.734 MumbleKitTest[38389:d503] UDP ping = 21546 usec\r\n    2011-11-11 15:27:08.751 MumbleKitTest[38389:d503] MKConnection: pingResponseFromServer\r\n\r\nAnd these are my settings:\r\n\r\n    MKAudioSettings settings;\r\n    settings.transmitType = MKTransmitTypeVAD;\r\n    settings.codec = MKCodecFormatCELT;\r\n    settings.quality = 24000;\r\n    settings.audioPerPacket = 10;\r\n    settings.noiseSuppression = -42; /* -42 dB */\r\n    settings.amplification = 20.0f;\r\n    settings.jitterBufferSize = 0; /* 10 ms */\r\n    settings.volume = 1.0f;\r\n    settings.outputDelay = 0; /* 10 ms */\r\n    settings.enablePreprocessor = YES;\r\n    settings.enableBenchmark = YES;\r\n\r\n    MKAudio *audio = [MKAudio sharedAudio];\r\n    [audio updateAudioSettings:&settings];\r\n    [audio restart];\r\n\r\nAny suggestions on where to poke further to find out what's going on?","html_url":"https://github.com/mkrautz/mumblekit/issues/2","title":"Configuring audio input","number":2,"id":2210449,"created_at":"2011-11-11T15:43:38Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/4c70879f794a850823f18562de20b5df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"4c70879f794a850823f18562de20b5df","url":"https://api.github.com/users/mkrautz","login":"mkrautz","id":36527},"updated_at":"2011-11-17T19:34:51Z","url":"https://api.github.com/repos/mkrautz/mumblekit/issues/comments/2780688","body":"Codec switching is still not working correctly, I'm taking another look.","id":2780688,"created_at":"2011-11-17T19:34:51Z"}}