interleaved buffer??
interleaved buffer??
- Subject: interleaved buffer??
- From: Daniel Todd Currie <email@hidden>
- Date: Mon, 19 Jan 2004 03:02:02 -0800
Here's device 1:
device name = Built-in Audio
manufacturer = Apple
device buffer size = 4096
sample rate = 44100
format ID = lpcm
format flags = 11
bytes per packet = 8
frames per packet = 1
bytes per frame = 8
channels per frame = 2
bits per channel = 32
reserved = 39
and device 2:
device name = iMic USB audio system
manufacturer = Griffin Technology, Inc
device buffer size = 4096
sample rate = 44100
format ID = lpcm
format flags = 11
bytes per packet = 8
frames per packet = 1
bytes per frame = 8
channels per frame = 2
bits per channel = 32
reserved = 39
They look as though they will perform identically, yes?
buffer data from device 1:
0: -0.026001
1: -0.026001
2: -0.028290
3: -0.028290
4: -0.031616
5: -0.031616
6: -0.034668
7: -0.034668
8: -0.038147
9: -0.038147
obviously interleaved.
buffer data from device 2:
0: -0.003845
1: -0.002441
2: -0.002899
3: -0.003815
4: -0.003113
5: -0.002197
6: -0.004333
7: -0.002472
8: -0.002747
9: -0.002472
obviously NOT interleaved.
What is going on here? The strangest thing is that both devices seem
to record a single channel just fine once i remove every other sample.
// Dan
_______________________________________________
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.