Comment 3 for bug 884705

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

And here is a section from my log file. I build PortAudio with debug info on, so it spits out those extra lines in between. I'm not sure what is going on. I think that maybe our user buffer is set to 1.45 ms but maybe my soundcard is requiring at least 128 frames so the host buffer is 128 frames while my user buffer is 64.

Debug: [Main]: SoundDevicePortAudio::open() "0, HDA Intel: CONEXANT Analog (hw:0,0)"
Debug: [Main]: Requested sample rate: 44100
Debug: [Main]: framesPerBuffer: 64
Debug: [Main]: Mixxx latency in milliseconds: 1.45125
Debug: [Main]: output channels: 2 | input channels: 0
Debug: [Main]: Opening stream with id 0
AlsaOpen: Opening device hw:0,0
PaAlsaStreamComponent_InitialConfigure: device MMAP SND_PCM_ACCESS_MMAP_INTERLEAVED: YES
PaAlsaStreamComponent_InitialConfigure: device MMAP SND_PCM_ACCESS_MMAP_NONINTERLEAVED: NO
PaAlsaStreamComponent_InitialConfigure: device can MMAP: YES
PaAlsaStreamComponent_DetermineFramesPerBuffer: user-buffer (frames) = 64
PaAlsaStreamComponent_DetermineFramesPerBuffer: user-buffer (sec) = 0.001451
PaAlsaStreamComponent_DetermineFramesPerBuffer: suggested latency (sec) = 0.001451
PaAlsaStreamComponent_DetermineFramesPerBuffer: suggested host buffer (frames) = 128
PaAlsaStreamComponent_DetermineFramesPerBuffer: suggested host buffer (sec) = 0.002902
PaAlsaStreamComponent_DetermineFramesPerBuffer: periods min = 2, max = 32, req = 4
PaAlsaStreamComponent_DetermineFramesPerBuffer: suggested host buffer period = 64
PaAlsaStreamComponent_DetermineFramesPerBuffer: device period minimum = 16
PaAlsaStreamComponent_DetermineFramesPerBuffer: device period maximum = 262144
PaAlsaStreamComponent_DetermineFramesPerBuffer: host buffer period = 64
PaAlsaStreamComponent_DetermineFramesPerBuffer: host buffer period latency = 0.001451
PaAlsaStream_Configure: Playback period size: 64, latency: 0.002902
OpenStream: Stream: framesPerBuffer = 64, maxFramesPerHostBuffer = 64, latency = i(0.000000)/o(0.002902),
Debug: [Main]: Opened PortAudio stream successfully... starting
Debug: [Main]: Dynamically loaded PortAudio library!
PaUnixThread_New: Waited for 5.00679e-06 seconds for stream to start
Debug: [Main]: PortAudio: Started stream successfully
Debug: [Main]: Actual sample rate: 44100 Hz, latency: 2.90249 ms
Debug: [Main]: Using "HDA Intel: CONEXANT Analog (hw:0,0)" as output sound device clock reference
Debug: [Main]: 1 output sound devices opened
Debug: [Main]: 0 input sound devices opened