× Warning! This forum is in archival status. New contributions may not work.
Do you have experience with OSS ?
  • Hi,

    I use an M-Audio sound card and OSS driver

    Someone here has experience with OSS (input, output) and AIRTIME?

    I use Ubuntu Server 12.10.

    Ossinfo command displays:

    Version info: OSS 4.2 (b 2007/201207032126) (0x00040100)
    Platform: Linux/i686 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:52:46 UTC 201                                                                             2 (airtime)

    Number of audio devices:        21
    Number of audio engines:        25
    Number of MIDI devices:         1
    Number of mixer devices:        2


    Device objects
     0: osscore0 OSS core services
     1: oss_envy240 M Audio Delta 1010 rev E interrupts=16 (16)
     2: oss_hdaudio0 Intel HD Audio interrupts=488 (488)
        HD Audio controller Intel HD Audio
        Vendor ID    0x8086284b
        Subvendor ID 0x10438249
         Codec  0: ALC883 (0x10ec0883/0x10438249)
     3: oss_usb0 USB audio core services

    MIDI devices (/dev/midi*)
    0: M Audio Delta 1010 rev E #1 (MIDI port 1 of device object 1)

    Mixer devices
     0: M Audio Delta 1010 rev E (Mixer 0 of device object 1)
     1: High Definition Audio ALC883 (Mixer 0 of device object 2)

    Audio devices
    M Audio Delta 1010 rev E out1/2   /dev/oss/oss_envy240/pcm0  (device index 0)
    M Audio Delta 1010 rev E out3/4   /dev/oss/oss_envy240/pcm1  (device index 1)
    M Audio Delta 1010 rev E out5/6   /dev/oss/oss_envy240/pcm2  (device index 2)
    M Audio Delta 1010 rev E out7/8   /dev/oss/oss_envy240/pcm3  (device index 3)
    M Audio Delta 1010 rev E S/PDIF out   /dev/oss/oss_envy240/spdout  (device index                                                                              4)
    M Audio Delta 1010 rev E in1/2    /dev/oss/oss_envy240/pcmin0  (device index 5)
    M Audio Delta 1010 rev E in3/4    /dev/oss/oss_envy240/pcmin1  (device index 6)
    M Audio Delta 1010 rev E in5/6    /dev/oss/oss_envy240/pcmin2  (device index 7)
    M Audio Delta 1010 rev E in7/8    /dev/oss/oss_envy240/pcmin3  (device index 8)
    M Audio Delta 1010 rev E S/PDIF in   /dev/oss/oss_envy240/spdin  (device index 9                                                                             )
    M Audio Delta 1010 rev E input from mon. mixer   /dev/oss/oss_envy240/mon  (devi                                                                             ce index 10)
    M Audio Delta 1010 rev E (all outputs)  /dev/oss/oss_envy240/10ch_out  (device i                                                                             ndex 11)
    M Audio Delta 1010 rev E (all inputs)  /dev/oss/oss_envy240/12ch_in  (device ind                                                                             ex 12)
    HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 13)
    HD Audio play rear                /dev/oss/oss_hdaudio0/pcm1  (device index 14)
    HD Audio play center/LFE          /dev/oss/oss_hdaudio0/pcm2  (device index 15)
    HD Audio play side                /dev/oss/oss_hdaudio0/pcm3  (device index 16)
    HD Audio play pcm4                /dev/oss/oss_hdaudio0/pcm4  (device index 17)
    HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 1                                                                             8)
    HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 19                                                                             )
    HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 20                                                                             )

    Nodes
      /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
      /dev/dsp_in -> /dev/oss/oss_envy240/pcmin0
      /dev/dsp_out -> /dev/oss/oss_envy240/pcm0
      /dev/dsp_ac3 -> /dev/oss/oss_envy240/spdout
      /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
      /dev/dsp_multich -> /dev/oss/oss_envy240/pcm0
      /dev/dsp_spdifout -> /dev/oss/oss_envy240/spdout

    and ossmix this:

    Selected mixer 0/M Audio Delta 1010 rev E
    Known controls are:
    mon.out1/2 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.out3/4 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.out5/6 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.out7/8 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.spdout [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.in1/2 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.in3/4 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.in5/6 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.in7/8 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    mon.spdin [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
    route.out1/2 <DMA|MONITOR|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
    route.out3/4 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
    route.out5/6 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
    route.out7/8 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
    route.spdif <DMA|MONITOR|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
    gain.out1/2 <+4DB|CONSUMER|-10DB> (currently +4DB)
    gain.out3/4 <+4DB|CONSUMER|-10DB> (currently +4DB)
    gain.out5/6 <+4DB|CONSUMER|-10DB> (currently +4DB)
    gain.out7/8 <+4DB|CONSUMER|-10DB> (currently +4DB)
    gain.in1/2 <+4DB|CONSUMER|-10DB> (currently +4DB)
    gain.in3/4 <+4DB|CONSUMER|-10DB> (currently +4DB)
    gain.in5/6 <+4DB|CONSUMER|-10DB> (currently +4DB)
    gain.in7/8 <+4DB|CONSUMER|-10DB> (currently +4DB)
    envy24.rate <8000|9600|11025|12000|16000|22050|24000|32000|44100|48000|88200|96000> (currently 48000)
    envy24.sync <INTERNAL|SPDIF|WCLOCK> (currently INTERNAL)
    envy24.ratelock ON|OFF (currently ON)
    envy24.actrate <decimal value> (currently 48000) (Read-only)
    envy24.locked ON|OFF (currently ON) (Read-only)
    spdif.mode <CONSUMER|PRO> (currently CONSUMER)


    Thanks
  • 8 Comments sorted by
  • Airtime can use the OSS driver to play out content. Check out System -> Streams
    Airtime Pro Hosting: http://airtime.pro
  • Yes I know, but i have no sound. I have chose OSS in  Streams option.

    Airtime can use the OSS driver for input also ?

    Thanks
  • Not for input, it would need ALSA for that.

    A quick way to check why OSS isn't working for you is to run 

    airtime-liquidsoap 'output.oss(sine())' 

    from the terminal
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    @yannick
    since ALSA supports Delta1010, is there a special purpose using a Delta1010 with OSS?
    I'm asking because we are going to use the same M-Audio with ALSA in future...
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • @hoerich I do not know. I had heard, but I understood that the quality was better with OSS. Whatever happens, I do not know how to set the correct input on the map DELTA 1010
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    delta 1010 working well with alsa

    download mudita24 and configure it
  • Well I deleted and reinstall alsa oss4. I disable the sound card on the motherboard and now I can hear the sound! Thank you!

    @Albert, i use ubuntu server... mudita24 is not possible ;-(