Module ossaudiodev
[hide private]
[frames] | no frames]

Module ossaudiodev

Classes [hide private]
OSSAudioError
error
Functions [hide private]
 
open(...)
 
openmixer(...)
Variables [hide private]
  AFMT_AC3 = 1024
  AFMT_A_LAW = 2
  AFMT_IMA_ADPCM = 4
  AFMT_MPEG = 512
  AFMT_MU_LAW = 1
  AFMT_QUERY = 0
  AFMT_S16_BE = 32
  AFMT_S16_LE = 16
  AFMT_S16_NE = 16
  AFMT_S8 = 64
  AFMT_U16_BE = 256
  AFMT_U16_LE = 128
  AFMT_U8 = 8
  SNDCTL_COPR_HALT = -1072413945
  SNDCTL_COPR_LOAD = -810532095
  SNDCTL_COPR_RCODE = -1072413949
  SNDCTL_COPR_RCVMSG = -1885060343
  SNDCTL_COPR_RDATA = -1072413950
  SNDCTL_COPR_RESET = 17152
  SNDCTL_COPR_RUN = -1072413946
  SNDCTL_COPR_SENDMSG = -811318520
  SNDCTL_COPR_WCODE = 1075069701
  SNDCTL_COPR_WDATA = 1075069700
  SNDCTL_DSP_BIND_CHANNEL = -1073459135
  SNDCTL_DSP_CHANNELS = -1073459194
  SNDCTL_DSP_GETBLKSIZE = -1073459196
  SNDCTL_DSP_GETCAPS = -2147201009
  SNDCTL_DSP_GETCHANNELMASK = -1073459136
  SNDCTL_DSP_GETFMTS = -2147201013
  SNDCTL_DSP_GETIPTR = -2146676719
  SNDCTL_DSP_GETISPACE = -2146414579
  SNDCTL_DSP_GETODELAY = -2147201001
  SNDCTL_DSP_GETOPTR = -2146676718
  SNDCTL_DSP_GETOSPACE = -2146414580
  SNDCTL_DSP_GETSPDIF = -2147200957
  SNDCTL_DSP_GETTRIGGER = -2147201008
  SNDCTL_DSP_MAPINBUF = -2146938861
  SNDCTL_DSP_MAPOUTBUF = -2146938860
  SNDCTL_DSP_NONBLOCK = 20494
  SNDCTL_DSP_POST = 20488
  SNDCTL_DSP_PROFILE = 1074024471
  SNDCTL_DSP_RESET = 20480
  SNDCTL_DSP_SAMPLESIZE = -1073459195
  SNDCTL_DSP_SETDUPLEX = 20502
  SNDCTL_DSP_SETFMT = -1073459195
  SNDCTL_DSP_SETFRAGMENT = -1073459190
  SNDCTL_DSP_SETSPDIF = 1074024514
  SNDCTL_DSP_SETSYNCRO = 20501
  SNDCTL_DSP_SETTRIGGER = 1074024464
  SNDCTL_DSP_SPEED = -1073459198
  SNDCTL_DSP_STEREO = -1073459197
  SNDCTL_DSP_SUBDIVIDE = -1073459191
  SNDCTL_DSP_SYNC = 20481
  SNDCTL_FM_4OP_ENABLE = 1074024719
  SNDCTL_FM_LOAD_INSTR = 1076384007
  SNDCTL_MIDI_INFO = -1066118900
  SNDCTL_MIDI_MPUCMD = -1071551230
  SNDCTL_MIDI_MPUMODE = -1073451775
  SNDCTL_MIDI_PRETIME = -1073451776
  SNDCTL_SEQ_CTRLRATE = -1073458941
  SNDCTL_SEQ_GETINCOUNT = -2147200763
  SNDCTL_SEQ_GETOUTCOUNT = -2147200764
  SNDCTL_SEQ_GETTIME = -2147200749
  SNDCTL_SEQ_NRMIDIS = -2147200757
  SNDCTL_SEQ_NRSYNTHS = -2147200758
  SNDCTL_SEQ_OUTOFBAND = 1074286866
  SNDCTL_SEQ_PANIC = 20753
  SNDCTL_SEQ_PERCMODE = 1074024710
  SNDCTL_SEQ_RESET = 20736
  SNDCTL_SEQ_RESETSAMPLES = 1074024713
  SNDCTL_SEQ_SYNC = 20737
  SNDCTL_SEQ_TESTMIDI = 1074024712
  SNDCTL_SEQ_THRESHOLD = 1074024717
  SNDCTL_SYNTH_CONTROL = -811314923
  SNDCTL_SYNTH_ID = -1064546028
  SNDCTL_SYNTH_INFO = -1064546046
  SNDCTL_SYNTH_MEMAVL = -1073458930
  SNDCTL_SYNTH_REMOVESAMPLE = -1072934634
  SNDCTL_TMR_CONTINUE = 21508
  SNDCTL_TMR_METRONOME = 1074025479
  SNDCTL_TMR_SELECT = 1074025480
  SNDCTL_TMR_SOURCE = -1073458170
  SNDCTL_TMR_START = 21506
  SNDCTL_TMR_STOP = 21507
  SNDCTL_TMR_TEMPO = -1073458171
  SNDCTL_TMR_TIMEBASE = -1073458175
  SOUND_MIXER_ALTPCM = 10
  SOUND_MIXER_BASS = 1
  SOUND_MIXER_CD = 8
  SOUND_MIXER_DIGITAL1 = 17
  SOUND_MIXER_DIGITAL2 = 18
  SOUND_MIXER_DIGITAL3 = 19
  SOUND_MIXER_IGAIN = 12
  SOUND_MIXER_IMIX = 9
  SOUND_MIXER_LINE = 6
  SOUND_MIXER_LINE1 = 14
  SOUND_MIXER_LINE2 = 15
  SOUND_MIXER_LINE3 = 16
  SOUND_MIXER_MIC = 7
  SOUND_MIXER_MONITOR = 24
  SOUND_MIXER_NRDEVICES = 25
  SOUND_MIXER_OGAIN = 13
  SOUND_MIXER_PCM = 4
  SOUND_MIXER_PHONEIN = 20
  SOUND_MIXER_PHONEOUT = 21
  SOUND_MIXER_RADIO = 23
  SOUND_MIXER_RECLEV = 11
  SOUND_MIXER_SPEAKER = 5
  SOUND_MIXER_SYNTH = 3
  SOUND_MIXER_TREBLE = 2
  SOUND_MIXER_VIDEO = 22
  SOUND_MIXER_VOLUME = 0
  control_labels = ['Vol ', 'Bass ', 'Trebl', 'Synth', 'Pcm ',...
  control_names = ['vol', 'bass', 'treble', 'synth', 'pcm', 'spe...
Variables Details [hide private]

control_labels

Value:
['Vol  ',
 'Bass ',
 'Trebl',
 'Synth',
 'Pcm  ',
 'Spkr ',
 'Line ',
 'Mic  ',
...

control_names

Value:
['vol',
 'bass',
 'treble',
 'synth',
 'pcm',
 'speaker',
 'line',
 'mic',
...