Re: [Pyobjc-dev] Trouble with QTKit's audioChannelLayout (Log Messages and Incorrect Layout Tags)
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2012-07-20 13:11:01
|
On 20 Jul, 2012, at 14:56, Karan Lyons wrote: > Ah, thanks for the response! Will CoreAudio bindings perhaps be added in the future? Probably, but I don't know when. Ronald > > Namaste, > Karan > > Karan Lyons: Jack of Few Trades, Master of None | Student | Omnigeek > ka...@ka... | 1 (857) 544-9527 | @karanlyons > > On Jul 20, 2012, at 5:50 AM, Ronald Oussoren wrote: > >> >> On 20 Jul, 2012, at 11:49, Karan Lyons wrote: >> >>> Hi all, >>> >>> I've been working with QTKit in pyobjc, and it's been going splendidly so far. But I've run into some problems with audioChannelLayout. For example: >>> >>>>>> movie.tracksOfMediaType_('soun')[0].audioChannelLayout().unpack() >>> 2012-07-19 22:32:29.866 Python[2163:d07] PyObjCPointer created: at 0x104e652f0 of type {AudioChannelLayout=III[1{AudioChannelDescription=II[3f]}]}16@0:8 >>> (6619138, 0, 0, ((1, 57880064, (1.4012984643248171e-45, 5.5095557976284852e-38, 1.4012984643248171e-45)),)) >>> >>> The first, less troublesome issue are the logs that pyobjc prints to the console. But that may be related to the second issue. >> >> The message says that PyObjC had to convert a pointer to a Python value and didn't know how to do this properly. That's because there are currently no bindings for CoreAudio. >> >>> >>> The second issue would be that I should see (in this case) two channels, but only see one tuple for one channel in the AudioChannelDescription tuple. Additionally, the second integer in that tuple (representing mChannelFlags) doesn't look to be correct; I believe it should be an integer in (0, 1, 2, 4, 8, 16). >> >> This may or may not be related to the missing CoreAudio bindings. I haven't used that framework myself yet (not even from native code). >> >> Ronald >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |