Author Topic: Rebuilds of MM Audio Pack  (Read 1720 times)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1264
  • Karma: +116/-0
    • View Profile
Re: Rebuilds of MM Audio Pack
« Reply #15 on: November 01, 2022, 01:20:26 am »
I had to set the test programs, especially the pipe tests, to use binary mode with flac.
Does the audio pack support AIFF?

Yeah as a quick kludge I might just link with -Zbin-files and see if it fixes it...

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1264
  • Karma: +116/-0
    • View Profile
Re: Rebuilds of MM Audio Pack
« Reply #16 on: November 01, 2022, 01:21:29 am »
Hey Dave,

Does the audio pack support AIFF?

Is there an open source library that supports AIFF?

Cheers,

Paul.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 3813
  • Karma: +80/-0
    • View Profile
Re: Rebuilds of MM Audio Pack
« Reply #17 on: November 01, 2022, 01:32:11 am »
I was thinking of Flac. Of course there is libavcodec (FFmpeg) that supports most anything, though last I checked, not encoding to MP3.
In flac/test are some example aiff 's, also wave 64.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1264
  • Karma: +116/-0
    • View Profile
Re: Rebuilds of MM Audio Pack
« Reply #18 on: November 01, 2022, 09:14:29 am »
OK -Zbin-files didn't help... I did change to linking with -static-libgcc, and now see that the first exception in audconv.exe is now in mmiovorb.dll - the map file should help understand where it's trapping, and I can also enable debug logging.

Will do this on another day, feeling a bit sore tonight after having a couple of biopsies taken from some moles on my back!

Dave Yeo

  • Hero Member
  • *****
  • Posts: 3813
  • Karma: +80/-0
    • View Profile
Re: Rebuilds of MM Audio Pack
« Reply #19 on: November 01, 2022, 03:31:21 pm »
OK -Zbin-files didn't help... I did change to linking with -static-libgcc, and now see that the first exception in audconv.exe is now in mmiovorb.dll - the map file should help understand where it's trapping, and I can also enable debug logging.

Perhaps try linking against libcx?

Quote
Will do this on another day, feeling a bit sore tonight after having a couple of biopsies taken from some moles on my back!

Sounds painful, part of living in Australia I guess. Hopefully they're just regular moles. Good luck.

Remy

  • Hero Member
  • *****
  • Posts: 519
  • Karma: +8/-1
    • View Profile
Re: Rebuilds of MM Audio Pack
« Reply #20 on: November 03, 2022, 11:15:56 pm »
Hey Dave,

Does the audio pack support AIFF?

Is there an open source library that supports AIFF?

Cheers,

Paul.

You can use same as for WAV
It is PCM.

Lars

  • Hero Member
  • *****
  • Posts: 1018
  • Karma: +51/-0
    • View Profile
Re: Rebuilds of MM Audio Pack
« Reply #21 on: November 05, 2022, 02:13:28 pm »
OS/2 already contains an IOProc for AIFF as well as IFF, it's implemented in aiffproc.dll.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3745
  • Karma: +36/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Rebuilds of MM Audio Pack
« Reply #22 on: November 11, 2022, 05:34:39 pm »
https://smedley.id.au/tmp/mmaudiopack-20221031.zip updates to the latest ogg, vorbis and flac libraries - and uses GCC 12.2.0

Also - https://smedley.id.au/tmp/mmiovorbis-O0-20221031.zip is built with GCC 12.2.0 - but with Optimisation set to -O0 to minimise any optimisation.

Hi

I finally got some time to test this packages. I'm starting with "mmaudiopack-20221031.zip"

Here is the install with MINSTALL, I think that everything went normal.
Code: [Select]
MINSTALL - Multimedia Installer (CLI/CID) - by Kiewitz

Active package is : 'MMAudio Pak 2'

1 - 'MMIOFLAC' (Selected)
2 - 'MMIOVorbis' (Selected)
3 - 'MMIOMP3' (Selected)

Please select/deselect group(s), ENTER to install or ESC to exit

Are you sure to install this package? (ENTER to confirm)
 -> C:\MMOS2\DLL\mmiomp3.dll
 -> C:\MMOS2\DLL\mmiovorb.dll
 -> C:\MMOS2\DLL\mmioflac.dll
Custom-Terminate-API: Thread opened
Custom-Terminate-API: Thread closed
Return-Code FE00 (CID: Success, system should reboot)

[C:\HOME\DESKTOP\MMAUDIOPACK-20221031]

- Rebooted

Now I want to know what will be some usefull testing procedure.
- I grabbed and MP3, OGG and FLAC test files from the internet.
- WPS Play: OGG and FLAC tested fine with "WPS Play" (double click). MP3 is not register by default on the WPS, gotta check on that.
- MPPM.EXE: The MP3, OGG and FLAC test files reproduced fine on MMPM.EXE.

What other tests do you suggest for it ? I have no problems to report for the moment.

Regards
« Last Edit: November 11, 2022, 05:42:29 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1264
  • Karma: +116/-0
    • View Profile
Re: Rebuilds of MM Audio Pack
« Reply #23 on: November 11, 2022, 09:39:41 pm »
Hey Martin, thanks for testing. You could test audio conversion, but suspect you'll see the same issues David reported. I need to get around to investigating that !!