[Portaudio] Windows Direct Sound broken in dev after rev. 1515

Ralph Irving ralph.irving at gmail.com
Fri Jul 9 14:14:58 EDT 2010


framesPerBuffer = 0
sample rate = 44100.0
frame rate = paInt16
suggestedLatency = defaultHighOutputLatency
channelCount = 2

Thanks,

Ralphy.

On Fri, 9 Jul 2010, Dmitry Kostjuchenko wrote:

> Hi Ralph,
>
> The bug appreared due to optimization work done on PA processor. Optimization 
> results in direct host buffer pointers passing to a user space. This results 
> in no copying and thus unloads CPU. According Ross request I reverted 
> pa_process.c/.h which modified in 1516-1517 revisions back to their initial 
> state. I am working closely with Ross to provide more stable and correct 
> implementation of this optimisation idea and it will be re-commited back when 
> ready.
>
> So far you can update SVN trunk and recompile to have previous behavior. Ross 
> suspects that Alberto's problem roots are the same, e.g. related to my 
> modification to pa_process.c/.h.
>
> I have a question for you to help us in this work: could you please describe 
> parameters which are passed to Pa_OpenStream, e.g.:
> - framesPerBuffer
> - sample type
> - frame rate
> - suggestedLatency
>
> I will then use them in debugging of our mutual re-implementation.
>
> Regards,
> Dmitry.
>
> ----- Original Message ----- From: "Ralph Irving" <ralph.irving at gmail.com>
> To: <portaudio at music.columbia.edu>
> Sent: Friday, July 09, 2010 8:40 PM
> Subject: [Portaudio] Windows Direct Sound broken in dev after rev. 1515
>
>
>> I updated portaudio in my project to r1519 from r1508 and the audio is now 
>> distorted and muffled.
>>
>>  I had to role back to r1515 to get things sounding correct again.
>>
>>  Has anyone else noticed this?
>>
>>  Thanks,
>>
>>  Ralphy.
>>  _______________________________________________
>>  Portaudio mailing list
>>  Portaudio at music.columbia.edu
>>  http://music.columbia.edu/mailman/listinfo/portaudio
>> 
>
> _______________________________________________
> Portaudio mailing list
> Portaudio at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/portaudio
>


More information about the Portaudio mailing list