• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: small buffer size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: small buffer size


  • Subject: Re: small buffer size
  • From: "Mark's Studio" <email@hidden>
  • Date: Sun, 16 May 2004 16:43:53 +0200

So it's all ways the host that decides the buffer size (unless it's
friendly),
a lot of the hosts i've tried gives me the size if i use
SetMaxFramesPerSlice(32);

i tried to split up the buffer but i could not get the timing right
without blocking, so i did it the other way around
asking for the smallest buffer i needed.

are there any examples of splitting up the buffer and have the right
timing?

On 16/5-2004, at 14:55, Marc Poirier wrote:

> 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.
>>
>>
>
>
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.


  • Follow-Ups:
    • Re: small buffer size
      • From: David Duncan <email@hidden>
    • Re: small buffer size
      • From: Pavol Markovic <email@hidden>
References: 
 >Re: small buffer size (From: Marc Poirier <email@hidden>)

  • Prev by Date: Re: frameworks for an AU
  • Next by Date: Re: small buffer size
  • Previous by thread: Re: small buffer size
  • Next by thread: Re: small buffer size
  • Index(es):
    • Date
    • Thread