Documente Academic
Documente Profesional
Documente Cultură
2 (2007-11-04)
(misc)
o build universal framework and universal AudioMonitor
(class MTCoreAudioDevice)
o notifications (such as MTCoreAudioHardwareDeviceListDidChangeNotification)
will
not be sent before the first use of class MTCoreAudioDevice
(misc)
o new utility function MTAudioBufferListSetFrameCount()
o new value transformers (between linear and decibels) for use with Cocoa
Bindings
(class MTCoreAudioDevice)
o new method +devicesWithName:havingStreamsForDirection:.
o -description gives useful information.
o new methods +allDevicesByRelation and -relatedDevices.
o new delegate method -audioDeviceSomethingDidChange:.
o new method -deviceSafetyOffsetFramesForDirection:.
o new method -setDevicePaused:.
(class MTCoreAudioStream)
o -description gives useful information.
(class MTCoreAudioStreamDescription)
o support for localized stream description strings (see
StreamDescription.strings
and -bundleForDescriptionStrings) (only English so far, please feel free to
submit localizations for other languages)
o new methods -isLinearPCMFormat, -isCanonicalFormat, -isInterleaved,
-setIsInterleaved:.
o -setChannelsPerFrame: and -setIsInterleaved: will update bytesPerPacket and
bytesPerFrame
if the format is canonical (native, interleaved or de-interleaved).
(class MTCircularQueue/MTByteBuffer)
o class MTCircularQueue has been renamed to MTByteBuffer
o initializer renamed to -initWithCapacity:
o method -bytesInQueue renamed to -count
o method -size renamed to -capacity
o methods -writeBytesFrom:length: and -writeBytesWithoutBlockingFrom:length:
combined
to -writeFromBytes:count:waitForRoom:
o methods -readBytesTo:length: and -readBytesWithoutBlockingTo:length: combined
to -readToBytes:count:waitForData:
o reimplemented as a subclass of MTBuffer
o finally documented!
(misc)
o fixed a bug where NULL CFStringRefs obtained from a successful
HAL query would be used as if they were valid, causing an exception.
o enabled prebinding for framework (with -seg1addr 0xB0000000).
o removed internal class MTObjectProxy after i noticed that +[NSValue
valueWithNonretainedObject:]
does the same thing. :)
o new utility functions for AudioBufferLists
(class MTCoreAudioDevice)
o -deviceStart now lets you know if the device started or not.
o new delegate method -audioDeviceStartDidFail:forReason:
o new method -deviceMaxVariableBufferSizeInFrames.
o new method -supportsNominalSampleRate:.
(class MTCoreAudioStreamDescription)
o -set... methods return the receiver, so sets can be chained.
o new methods +nativeStreamDescription, -setNativeFormat and -isNativeFormat.
o -setChannelsPerFrame: now also updates bytesPerFrame and
bytesPerPacket if the stream description is in native format.
o conforms to <NSCopying>