new MTCoreAudio.framework release v1.3.0
new MTCoreAudio.framework release v1.3.0
- Subject: new MTCoreAudio.framework release v1.3.0
- From: Michael Thornburgh <email@hidden>
- Date: Sun, 4 Apr 2004 16:09:28 -0700
howdy, list!
a new version (1.3.0, 2004-04-04) of MTCoreAudio.framework is
available. the framework, two sample programs, full source, and
documentation can be downloaded from
http://aldebaran.armory.com/~zenomt/macosx/MTCoreAudio/
for those who don't know, MTCoreAudio is a Cocoa-flavored Objective-C
wrapping around the HAL. it's free and open-source.
for those who use/have used MTCircularQueue, please see the sections on
MTByteBuffer and MTAudioBuffer.
release notes for version 1.3.0:
(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!
(new class MTAudioBuffer)
o similar in operation to MTByteBuffer, only storing N-channel
Float32 frames
instead of bytes
o reads from and writes to AudioBufferLists
(new class MTBuffer)
o abstract class intended to be subclassed to create thread-safe,
flow-controlled
buffers, such as MTByteBuffer and MTAudioBuffer
(sample app AudioMonitor)
o changed MTConversionBuffer class to use an MTAudioBuffer instead
of MTByteBuffer
(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
let me know if you have trouble, questions, or feature requests.
-mike
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.