You are not logged in.

#1 2011-04-30 17:47:49

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,451

[SOLVED] wine 1.3.19, no more oss output?

Like the topic suggests, i cannot select oss anymore in wine after the last upgrade.
My concerns are about audio quality; in the past i noticed that oss was superior (at least under wine) if not using a properly configured asoundrc with samplerate converters that steal cpu cycles.

I checked last wine changelog and there is no mention of oss, so.. is that a packaging issue?

--edit

i tried to compile from source:

configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.

So it seems that old oss is no more supported

Last edited by kokoko3k (2011-04-30 18:40:36)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2011-05-02 05:36:59

wottam
Member
From: Spain
Registered: 2007-08-31
Posts: 59

Re: [SOLVED] wine 1.3.19, no more oss output?

The very same thing is happening to me. Anyway, the OSS version in my system is 4.2, so it shouldn't be returning this kind of error. How did you manage to work it out?

Offline

#3 2011-05-02 06:44:57

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,451

Re: [SOLVED] wine 1.3.19, no more oss output?

I didn't, because i'm using alsa (i was talking about oss emulation)
Anyway, not only the configure script complains that it cannot find ossv4 on my system, it has trouble to detect ossv4 when it is installed too (readed that on a bug report).


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2011-05-02 07:03:34

wottam
Member
From: Spain
Registered: 2007-08-31
Posts: 59

Re: [SOLVED] wine 1.3.19, no more oss output?

So ALSA will do for me too, thank you very much

Offline

#5 2011-05-02 10:12:50

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,451

Re: [SOLVED] wine 1.3.19, no more oss output?

If you have problem with audio quality, here's mine .asoundrc which does audio resample,
need alsa-plugins and libsamplerate
you also have to disable audio hardware acceleration in winecfg.

      pcm.!default {
              type asym
              playback.pcm "defaultplayback"
              capture.pcm "defaultrec"
                hint{   show on
                   description "default play and rec koko"
                }
      }

      pcm.defaultrec {
              type plug
              slave {
                  pcm "hw:0,0"
                  rate 44100
                  channels 2
                  format S16_LE
              }
                hint{   show on
                   description "default rec koko"
                }

      }

  pcm.defaultplayback{
          type rate
          slave.pcm mix1
          slave.rate 48000

          #Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz:

            #converter "samplerate_best"     # perfect: 16%cpu, maybe overkill
            #converter "samplerate_medium"   # almost perfect: 6%cpu
            #converter "samplerate"          # good: 4%cpu, definitely usable
            #converter "samplerate_linear"   # bad: 2%cpu, way better than default wine resampler
            #converter "samplerate_order"    # very bad: 2%cpu, like the default wine resampler

          converter "samplerate"

            hint{   show on
                   description "default play koko"
            }
  }

    pcm.mix1 {
            type dmix
            ipc_key 1024
            slave {
                pcm "hw:0,0"
                rate 48000
                periods 128
                period_time 0
                period_size 1024 # must be power of 2
                buffer_size 65536

            }
    }

Last edited by kokoko3k (2011-05-02 10:28:21)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#6 2011-05-03 00:52:41

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 391

Re: [SOLVED] wine 1.3.19, no more oss output?

wine-1.3.19-2 now has regained oss support.

Offline

#7 2011-05-03 07:12:56

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,451

Re: [SOLVED] wine 1.3.19, no more oss output?

Thanks, it seems so.
It even works with alsa emulation depsite the warning message in the configure script...


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#8 2011-06-03 04:49:00

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] wine 1.3.19, no more oss output?

kokoko3k wrote:

buffer_size 65536

That's *huge*, and would just add latency.

8192 or 16384 would be better (adjusting the "periods" value to 8 or 16 accordingly).

Offline

#9 2011-06-03 06:51:47

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,451

Re: [SOLVED] wine 1.3.19, no more oss output?

Thanks brebs, i'll try to lower it.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB