• Guido van Rossum's avatar
    SF patch #489989 (Charles G Waldman) linuxaudiodev.c - fix initialization · 7745218c
    Guido van Rossum yazdı
    The OSS Programmer's Reference (www.4front-tech.com)
    states:
    
    *Setting Sampling Parameters
    
    There are three parameters which affect the sound
    quality (and therefore memory and bandwidth
    requirements) of sampled audio data. These are:
    
    ** sample format (sometimes called number of bits)
    ** number of channels (mono or stereo), and
    ** sampling rate (speed)
    
    NOTE:
    
    It is important to always set these parameters in the
    above order. Setting sampling rate before the number
    of channels doesn't work with all devices.
    7745218c
linuxaudiodev.c 13.3 KB