Re: small buffer size
Re: small buffer size
- Subject: Re: small buffer size
- From: Marc Poirier <email@hidden>
- Date: Sun, 16 May 2004 08:55:36 -0400 (EDT)
There is no way to say that, it is up to the host. Only the host should
be setting the MaximumFramesPerSlice property (which in turn internally
calls SetMaxFramesPerSlice). Again, if you want to be doing small buffer
sizes, chop it up yourself during the render calls.
Marc
On Sun, 16 May 2004, Mark's Studio wrote:
>
if i set the buffer size to 32 using
>
SetMaxFramesPerSlice(32);
>
>
AUValidation fail's
>
>
but it still works in most of the hosts i have checked,
>
what is the right way to say "I want a small buffer" ?
>
>
>
>
--------------------------------------------------
>
RENDER TESTS:
>
Input Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm'
>
(0x0000002B) 32-bit big-endian float, deinterleaved
>
Output Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm'
>
(0x0000002B) 32-bit big-endian float, deinterleaved
>
Render Test at 512 frames
>
ERROR: -10874 IN CALL AudioUnitRender
>
ERROR: Error whilst testing render and frames usage whilst rendering
>
512 frames
>
>
>
Checking connection semantics:
>
Connection format:
>
from: AudioStreamBasicDescription: 2 ch, 48000 Hz, 'lpcm'
>
(0x0000002B) 32-bit big-endian float, deinterleaved
>
to: AudioStreamBasicDescription: 2 ch, 48000 Hz, 'lpcm' (0x0000002B)
>
32-bit big-endian float, deinterleaved
>
ERROR: -10874 IN CALL Connection: AudioUnitRender
>
>
* * FAIL
>
>
>
>
Peter Mark
>
>
Mark's Recording Studio A/S
>
Lundeskovsvej 3
>
2900 Hellerup
>
Denmark
>
Tel: +45 35366078 Fax: +45 35366038
>
www.marks-studio.dk
>
email@hidden
>
_______________________________________________
>
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.
_______________________________________________
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.