[Portaudio] Fwd: Fwd: Updated PortAudio package for Ubuntu(Needtesters!)

Dmitry Kostjuchenko dmitrykos at iauxsoft.com
Fri Jul 30 08:57:28 EDT 2010


In addition to my prev. message:

I managed to test my last commit on real Ubuntu x64 and for me all works ok. 
I tested sample rates: 44.1k, 48k, 96k and 192k, used different latencies, 
managed to go down to 1.15ms. The device was not-mmaped and on Ubuntu x86 
(in VirtualBox) mmaped. New changes seem to be working.

Awaiting for your tests to see if this issue could be closed.

Regards,
Dmitry.

----- Original Message ----- 
From: "Dmitry Kostjuchenko" <dmitrykos at iauxsoft.com>
To: "Portaudio Mailing List" <portaudio at music.columbia.edu>
Sent: Friday, July 30, 2010 1:51 PM
Subject: Re: [Portaudio] Fwd: Fwd: Updated PortAudio package for 
Ubuntu(Needtesters!)


> Hello Albert,
>
> Ok, seems 96k sample rate triggered another bug in host buffer
> calcultions. I thoroughly rewrote implementation today and hope it
> will work as expected now.
>
> To my regret I was doing this work using VirtualBoxed Ubuntu and my
> audio device was limited to max. sample rate of 48k. Thus I could not
> yet test 96k mode (but I hope very much new changes have fixed the
> problem). Would appreciate if you test on your side. If 96k will still
> be failing I will get to normal Linux machine then to make
> corrections.
>
> Regards,
> Dmitry.
>
> 2010/7/30 Albert Santoni <alberts at mixxx.org>:
>> Another update from Bill:
>>
>> ---------- Forwarded message ----------
>> From: Bill Good <bkgood at gmail.com>
>> Date: Thu, Jul 29, 2010 at 2:25 PM
>> Subject: Re: Fwd: [Portaudio] Fwd: Updated PortAudio package for
>> Ubuntu (Needtesters!)
>> To: Albert Santoni <alberts at mixxx.org>
>> Cc: Luke Yelavich <themuso at ubuntu.com>
>>
>>
>>
>> On Thursday 29 July 2010 14:04:54 Albert Santoni wrote:
>>> Hey Bill, you're up to bat again... see below:
>>>
>> Everything seems to be working with ALSA and JACK. I did have some weird 
>> ALSA
>> errors at low frames per buffer at 96000 Hz but I'm not sure that they're
>> really anything to worry about, how many people actually use 96000 Hz 
>> with
>> mixxx? This only happens on my "default" virtual ALSA device (which then 
>> maps
>> to dmix, works fine connecting directly to the audio card), and goes as 
>> far
>> back as I have portaudio builds, r1513 -- maybe it's a dmix problem.
>>
>> Debug: [Main]: SoundDevicePortAudio::open() "8, default"
>> Debug: [Main]: m_dSampleRate 96000
>> Debug: [Main]: latency in milliseconds: 21.3333
>> Debug: [Main]: output channels: 2 | input channels: 0
>> Debug: [Main]: Opening stream with id 8
>> Expression 'snd_pcm_hw_params_set_period_size_near( self->pcm, hwParams,
>> &framesPerHostBuffer, &dir )' failed in 
>> 'src/hostapi/alsa/pa_linux_alsa.c',
>> line: 1554
>> Expression 'PaAlsaStreamComponent_DetermineFramesPerBuffer( 
>> &self->playback,
>> outputParameters, framesPerUserBuffer, sampleRate, hwParamsPlayback, 
>> &accurate
>> )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1768
>> Expression 'PaAlsaStream_DetermineFramesPerBuffer( self, realSr, 
>> inParams,
>> outParams, framesPerUserBuffer, hwParamsCapture, hwParamsPlayback,
>> hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 
>> 1811
>> Expression 'PaAlsaStream_Configure( stream, inputParameters, 
>> outputParameters,
>> sampleRate, framesPerBuffer, &inputLatency, &outputLatency, 
>> &hostBufferSizeMode
>> )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1929
>> Debug: [Main]: Error opening stream: Unanticipated host error
>>
>> Bill
>> _______________________________________________
>> 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