OS4 DepotLogo by Nickman 
(anonymous IP: 54.81.110.186,1205) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (328)
   o Datatype (47)
   o Demo (181)
   o Development (534)
   o Document (21)
   o Driver (88)
   o Emulation (142)
   o Game (859)
   o Graphics (460)
   o Library (93)
   o Network (202)
   o Office (57)
   o Utility (807)
   o Video (61)

Total files: 3880

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Development » Example » mpega_demo.lha

Mpega_demo

Description: Mpega.library demo program for OS4.
Download: mpega_demo.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 12kb
Version: 1.3
Date: 24 Feb 2009
Author: Stï¿œphane TAVENARD
Submitter: Daniel Westerberg
Email: daniel/onyxsoft se
Category: development/example
License: Other
Distribute: no
Min OS Version: 4.0
FileID: 4565
 
Comments: 4
Snapshots: 0
Videos: 0
Downloads: 408  (Current version)
408  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Since I could not find the correct header files for using
mpega.library on AmigaOS 4 I banged my head against an
alignment issue in the library/mpega.h file for 3 days.

Now that I finally found the solution I decided to update
the MPEGA_demo.c example, distributed with the original
mpega.library for 68k, for OS4 with corrected headers for
OS4.

All needed headers except proto/mpega.h are included. The
proto had copyright text in it so I dared not include it.
Besides, that one seems already be updated and included
for OS4.

Changes
~~~~~~~
* FIX * Added #pragma pack(2) to the libraries/mpega.h file.

* FIX * Fixed the pcm buffer parameter for MPEGA_decode_frame() in
        interfaces/mpega.h to take an array of pointers to WORD,
        instead of just a WORD pointer which is incorrect.

* FIX * Fixed the demo so it works with OS4. Using SDI_hook.h
        to define the hook now. Made a tiny makefile for it.

--
Other programs by Deniil 715! can be found on OnyxSoft homepage at:

 http://www.onyxsoft.se/

Feel free to mail me if you found bugs or have suggestions!




Copyright (c) 2004-2018 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment