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

KayBee

Active member
Feb 24, 2020
135
102
43
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

Member
Jul 27, 2019
41
38
18
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.
 

KayBee

Active member
Feb 24, 2020
135
102
43
OK Thanks Gents, I'll investigate the SDL source first.

Cheers,

KB
 

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