Playing sound from within c program. Anyone have examples of graphics with sound?

KayBee

Member
Feb 24, 2020
80
56
18
Hi Again All,

I am writing simple IRISGL programs and would like to incorporate sound. I have the dmedia .pdf manuals but I cannot find a programmatic example of how to include sound with existing graphics. In the old days I would send sound commands to the speaker, but here, the machines are sample centric, which I think means you have to multi thread to play sound while doing other things. I'd appreciate any examples.

PS. my O2 has only dvaudiotest in the /usr/share/src/dmedia directory

Thank you.

KB
 

TruHobbyist

New member
Jul 27, 2019
13
7
3
Hi

dmedia should be enough to play sound on irix. If you dont find anycode examples i would suggest using a wrapper like sdl/sdl2.
 

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu