• Barry Warsaw's avatar
    audio(7I) suggests that applications do the following to get the · b0d1b068
    Barry Warsaw yazdı
    device and control pseudo-device:
    
    - first look for the device filename in the environment variable
      AUDIODEV.
    
    - if not found, use /dev/audio
    
    - calculate the control device by tacking "ctl" onto the base device
      name.
    
    We now do this.  Also, if the open fails, we call
    PyErr_SetFromErrnoWithFilename() to give a more informative error
    message.
    
    Added a fileno() method to the audio object returned from open().
    This returns the file descriptor which can be used by applications to
    set up SIGPOLL notification, as per the manpage.
    b0d1b068
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...