nb skrev:
vredensgnag skrev:
Mac har bedre memory-styring, bedre allokering av minne-ressurser og fordelen av Core Audio, som er native og implementert med behovet til audioindustrien som ledestjerne.
Jeg har temmelig vanskelig for å skjønne at minnehåndteringen skulle ha så mye å si (eller harddisktype), det er ikke akkurat enorme datamengder med enorm hastighet vi snakker om her. Men selve audiohierarkiet til Windows er ikke veldig elegant - jeg klødde meg gankse lenge i hodet før jeg fant ut hvordan jeg skulle få multikanal ut til recieveren min, det var neimen ikke bare å velge SPDIF digital out, man måtte velge "Speakers" av en eller annen merkelig grunn. Vet ikke om dette er Microsoft eller Asus sin feil, bonk er det uansett.
Nøkkelen er Core Audio, nb.
http://developer.apple.com/audio/overview.html
Core Audio
Core Audio provides Mac OS X with an industry-leading set of audio services and capabilities:
* Very low latency I/O
* Native multichannel audio for surround sound and OpenAL support
* A systemwide plug-in architecture for effects and virtual instruments, called audio units
* A wide range of built-in codecs as well as support for writing your own codecs
* Streamlined interfaces for playing, recording, and synchronizing audio, as well as for parsing streamed audio
* Simultaneous access by multiple applications to all of the audio devices attached to a computer
The Core Audio stack is implemented on top of the Mac OS X kernel and the I/O Kit, up through the Audio HAL and a wide range of application-level services. Throughout Core Audio, programming interfaces are format agnostic, enabling your application to work with virtually any audio format out of the box.
Using Core Audio and QuickTime, Mac OS X natively supports many file formats including AAC, AC-3, AIFC, AIFF, MP3, SD2, and WAV.
Core Audio also supports CAF, Apple's universal audio wrapper file format that works with practically any compressed or uncompressed audio data and supports virtually unlimited resolution, channel count, and file size.
While Core Audio offers incredible power and flexibility, a consistent API philosophybased on a layered, task-focused approacheases your development effort as you add features to your application.