Commit by leighsmith :: r3704 /trunk/MusicKit/Frameworks/ (3 files in 2 dirs): (link) Cleaned up to properly provide separate device lists of input and output devices and to enable changing devices by creating a new instance of SndStreamManager on a given device.
Commit by leighsmith :: r3703 /trunk/MusicKit/Frameworks/SndKit/ (SndStreamClient.m SndStreamManager.m): (link) Moved SNDStreamStop() call until after we have set the active flag false. Cleaned up debugging statements. Now unlocks the output buffer lock to an uninitialised state in case we need to re-welcome the SndStreamClient instance again without creating a new instance.
Commit by leighsmith :: r3702 /trunk/MusicKit/Frameworks/SndKit/SndStreamManager.m: (link) Corrected description and debugging displays, removed warning.
Commit by leighsmith :: r3701 /trunk/MusicKit/Frameworks/ (6 files in 2 dirs): (link) Enabled delegate message thread shutdown. Guarded case where a client thread is restarted while the disconnectClientFromManager flag is true. Added SndStreamManager -initOnDeviceForInput:deviceForOutput: method.
Commit by leighsmith :: r3700 /trunk/MusicKit/Frameworks/SndKit/ (5 files): (link) Added distinctions between input and output native formats. Removed debugging in vector based audio buffer mixing. Renamed setOutputBufferSize: to setHardwareBufferSize: which sets both input and output buffer sizes. There is scope to reintroduce input and output buffer sizes as separate changeable values in the future.
Commit by leighsmith :: r3699 /trunk/MusicKit/Frameworks/SndKit/ (6 files): (link) Added SSE vector based mixing for platforms other than Apple that use gcc. At the moment this is disabled since NSData -bytes method isn't guaranteed to return addresses which are aligned on 16 byte boundaries necessary for vector processing. This needs updating in GNUstep.
Commit by leighsmith :: r3698 /trunk/MusicKit/Frameworks/SndKit/ (3 files): (link) Renamed managerIsShuttingDown to finishStreaming, so that the method reflects cohesive, not adhesive semantics
Commit by leighsmith :: r3697 /trunk/MusicKit/Examples/SignalProcessing/ (SndStreamInput.h SndStreamInput.m): (link) Removed attempt to shut down streaming. This leaves the SndStreamManager as the class responsible for shutting down a client.
Commit by leighsmith :: r3696 /trunk/MusicKit/Frameworks/SndKit/ (SndStreamManager.h SndStreamManager.m): (link) Now processAudio() and -processStreamAtTime: accept the buffer play time in seconds, rather than erroneously as a sample count. This pushes the responsibility for computing the time onto the platform.
Commit by leighsmith :: r3695 /trunk/MusicKit/Frameworks/PlatformDependent/ (2 files in 2 dirs): (link) Properly documented the semantics behind the parameters passed by SNDStreamProcessor.