- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Multimedia for VMS (MMOV) programmig question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 07:43 AM
тАО12-17-2008 07:43 AM
I'm hacking libSDL, anybody who programmed/hacked MMOV please help. This trouble has been gone down my mind.
This is a code:
static int MMOV_OpenAudio(_THIS, SDL_AudioSpec *spec)
{
printf ("CHAPG waveOutGetNumDevs %d\n",waveOutGetNumDevs());
oForm = mmeAllocMem(sizeof(PCMWAVEFORMAT));
wHdr = mmeAllocMem(sizeof(WAVEHDR));
Caps = mmeAllocMem(sizeof(WAVEOUTCAPS));
if(!oForm || !wHdr || !Caps) {
SDL_SetError("mmeAllocMem failed!\n");
return -1;
}
waveOutGetDevCaps((UINT) 0, Caps, sizeof(WAVEOUTCAPS)))
printf("CHAPG Using device %d: %s version %d.%d\n",
0,
Caps->szPname,
(int)(Caps->vDriverVersion&0xff),
(int)((Caps->vDriverVersion>>8)&0xff));
}
waveOutGetNumDevs() returns me a 1 - this is nice, I really have sound board. Its ID=0.
waveOutGetDevCaps()
exit with internal error:
"CMMlib: Protocol Error received... exiting..."
Please note, MMOV works fine, mpg123 is working. For a first (and second) look I do the same in audio_vms.c in mpg123 project
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 03:43 AM
тАО12-18-2008 03:43 AM
Re: Multimedia for VMS (MMOV) programmig question
This libraries should not be used together. It seems, static version of LIBSDL.OLB cannot be used then...
Also I should add THREADS support... and so on...
+ 10 points for myself :)
Any ideas about concepts of writing Multimedia applications from MMOV hackers still welcome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 03:59 AM
тАО12-18-2008 03:59 AM
Re: Multimedia for VMS (MMOV) programmig question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 02:35 AM
тАО12-19-2008 02:35 AM
Solutiontake all modules out of mmov.olb and create from it a shareable image mmov.exe.
How I did it, please look into the make.com which comes with the xlockmore package
http://www.tux.org/~bagleyd/xlockmore.html
Good luck porting
Jouk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2008 11:08 PM
тАО12-21-2008 11:08 PM
Re: Multimedia for VMS (MMOV) programmig question
Previously, I decided to split problem and wrote simple bindings, but then just make an shared from MMOV.OLB. It seems, HP won't to support Multimedia because Itanium workstantions are died in the marked. Even Alpha workstations saled bit better the Itanium how I heared.
Now problems are solved, see next version of the Simple DirectMedia Layer with sound support at http://clamav.dyndns.org/libsdl/public.html
Thank you for all