Author Topic: Updated Uniaud32 build  (Read 42376 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 551
  • -Receive: 114
  • Posts: 3074
  • Karma: +17/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Updated Uniaud32 build
« Reply #525 on: January 22, 2021, 07:28:41 pm »
Hi Paul.

FYI: I have cleaned up the UniAud tickets on the netlabs SVN. (Here: http://trac.netlabs.org/uniaud/report/1[/i][/i])
The very old ones are closed and I kept the ones that had more recent feedback from the submitter. There are only 7 tickets now.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Ian Manners

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 49
  • -Receive: 32
  • Posts: 400
  • Karma: +5/-0
  • I am the computer, it is me.
    • View Profile
    • ComKal Networks Australia
Re: Updated Uniaud32 build
« Reply #526 on: January 23, 2021, 04:50:07 am »
one simple example is to mix in system notifications with a mp3 stream, rather than the annoying pause the mp3, play the system sound, resume the mp3 behaviour.

Interesting, I forgot all about system sounds, do not think I've had those turned on since the later 90's.
I clicked on the 'Enable system sounds', clicked on Play (for test sound) button and got a sound with an MP3 still playin in pm123 ok but the second time I did it there was no sound, and the MP3 though still playing was silent. I could stop, and restart playing the MP3 but nothing I could do from then on resulted in any sounds. I unticked 'Enable system sounds', exited, closed pm123, then restarted pm123 and had audio back again. I find it interesting that I was able to at least play a system sound once without affecting the mp3 stream so there appears to be some sort of mixing happening though broken. This is with the SB Audigy 4 [SB0610] card. Will find the time to do more experimenting later.
Cheers
Ian B Manners

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 57
  • -Receive: 110
  • Posts: 809
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #527 on: January 24, 2021, 09:28:41 am »
New build - https://smedley.id.au/tmp/uniaud32-linux-5.10.10-20210124.zip

No significant changes - mainly updated some libraries to the latest kernel (rbtree, regmap, regcache) and some code cleanups from AlexT

Full details at http://trac.netlabs.org/uniaud/timeline

OS4User

  • Sr. Member
  • ****
  • Thank You
  • -Given: 89
  • -Receive: 12
  • Posts: 276
  • Karma: +5/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #528 on: January 24, 2021, 02:46:54 pm »
Uniaud32 logs record what the number of supported streams is, in a line like:
GetUniaudPcmCaps: pcm 0, cp2. nr of streams: 1

I'm interested to see if anyone has any hardware that has 'nr of streams' > 1 - most likely this would be SB Live! type hardware.

I have  got SB Audigy 1 [SB0092]. It reports:

Code: [Select]
GetUniaudPcmCaps: cp1. pcm 0, phandle e494dc84
GetUniaudPcmCaps: pcm 0, cp2. nr of streams: 32

5.10.10 works ok
« Last Edit: January 24, 2021, 05:26:55 pm by OS4User »

Alex Taylor

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 19
  • Posts: 291
  • Karma: +0/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #529 on: January 24, 2021, 06:37:18 pm »
No significant changes - mainly updated some libraries to the latest kernel (rbtree, regmap, regcache) and some code cleanups from AlexT

?? ???

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 551
  • -Receive: 114
  • Posts: 3074
  • Karma: +17/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Updated Uniaud32 build
« Reply #530 on: January 24, 2021, 07:46:36 pm »
No significant changes - mainly updated some libraries to the latest kernel (rbtree, regmap, regcache) and some code cleanups from AlexT

?? ???
Hi Alex.  On the IRC there is a user called AlexT on the some OS/2 channels.  I guess it is not you (Alex Taylor) because you usally go on IRC with the "altsan" nickname, right?
Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 57
  • -Receive: 110
  • Posts: 809
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #531 on: January 24, 2021, 09:34:26 pm »
No significant changes - mainly updated some libraries to the latest kernel (rbtree, regmap, regcache) and some code cleanups from AlexT

?? ???
Hi Alex.  On the IRC there is a user called AlexT on the some OS/2 channels.  I guess it is not you (Alex Taylor) because you usally go on IRC with the "altsan" nickname, right?
Regards

Correct.

Alexander

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 10
  • Karma: +4/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #532 on: January 25, 2021, 02:27:47 am »
Hi!
First, thank you very much for your great work on uniaud!

I have sblive CT4830 4-channels card. It supports multistream and it really works with old uniaud.

I tried uniaud32-linux-5.10.10-20210124 , no traps , but no sound at all, pm123 says mci error 5134: no device driver found

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 551
  • -Receive: 114
  • Posts: 3074
  • Karma: +17/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Updated Uniaud32 build
« Reply #533 on: January 25, 2021, 03:18:30 am »
New build - https://smedley.id.au/tmp/uniaud32-linux-5.10.10-20210124.zip
Hi Paul

I tested it on the Thinkpad L420.
- Works. No trap. Master volume working. Works good here.
Thanks
« Last Edit: January 25, 2021, 03:20:29 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 57
  • -Receive: 110
  • Posts: 809
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #534 on: January 25, 2021, 05:59:45 am »
Hi!
First, thank you very much for your great work on uniaud!

I have sblive CT4830 4-channels card. It supports multistream and it really works with old uniaud.

I tried uniaud32-linux-5.10.10-20210124 , no traps , but no sound at all, pm123 says mci error 5134: no device driver found

Check mixer controls with pmunimix.

Card seems to be detected:
Sound card name = SB Live! Value [CT4830]
...
pcm_info()
00-00: emu10k1 : ADC Capture/Standard PCM Playback
 : playback 32
 : capture 1
...

What does unimix -card show?

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 57
  • -Receive: 110
  • Posts: 809
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #535 on: January 25, 2021, 10:00:54 pm »
Hi All,

I have one report (and can confirm on a T60 locally) of sound not working after a warm boot (ie ctrl-alt-del or setboot /b). The T60 has Analog Devices HDA hardware. I'm wondering if anyone else is seeing similar behaviour. Sound works 100% of the time after a cold boot.

Thanks,

Paul

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 331
  • Karma: +13/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #536 on: January 25, 2021, 10:18:17 pm »
 Paul,

 Version uniaud32-linux-5.10.10-20210124 works just fine here on my laptop and desktop, cold or warm boot...

Regards,

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 57
  • -Receive: 110
  • Posts: 809
  • Karma: +50/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #537 on: January 25, 2021, 11:36:48 pm »
Hi David,
Version uniaud32-linux-5.10.10-20210124 works just fine here on my laptop and desktop, cold or warm boot...

Thanks for confirming - at this stage, it seems to be something unusual with the Analog Devices hardware...

New build - https://smedley.id.au/tmp/uniaud32-linux-5.10.10-20210126.zip has some code cleanups to remove some OS/2 specific workarounds in alsa-kernel/core/oss/pcm_oss.c, relating to calculations for min and max buffer sizes.

Seems to work ok here in minimal testing.

I'm slowly working my way through my //FIXME comments in the code, where in the interests of speed, I reverted to old code rather than spend time implementing kernel functionality.

Cheers,

Paul

Ian Manners

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 49
  • -Receive: 32
  • Posts: 400
  • Karma: +5/-0
  • I am the computer, it is me.
    • View Profile
    • ComKal Networks Australia
Re: Updated Uniaud32 build
« Reply #538 on: January 26, 2021, 08:24:59 am »
Hi Paul,

I have one report (and can confirm on a T60 locally) of sound not working after a warm boot (ie ctrl-alt-del or setboot /b). The T60 has Analog Devices HDA hardware. I'm wondering if anyone else is seeing similar behaviour. Sound works 100% of the time after a cold boot.

Both
  uniaud32-linux-5.10.10-20210124.zip and
  uniaud32-linux-5.10.10-20210126.zip
work fine here from cold and warm boots at least with SB Audigy 4 [SB0610].
Cheers
Ian B Manners

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 331
  • Karma: +13/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #539 on: January 26, 2021, 10:29:19 pm »
 Paul,

  Uniaud32-linux-5.10.10-20210126 is working great here too...

Regards,