For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > September 2004 > OpenAL(++) Linux: setPitch problem?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author OpenAL(++) Linux: setPitch problem?
Harry

2004-09-20, 9:04 am

Hi all,
trying to setPitch on an OpenAL++ Source-object, I noticed this does
not work on a moving object (an object with dynamic position (Source
*)soundSource.setPosition(<xval>, <yval>, <zval> )). Only when calling
setAmbient(true) for this object (and thereby forgoing attenuation)
the pitch will change ...
Anyone else notice this too? I can see no mention of this behaviour in
the documentation, or google-searches.

Calling OpenAL directly (alSourcef(soundSource.getAlSource(),
AL_PITCH, <pitchval> )) doesn't work either.

Could it be a soundcard/sound-driver matter??? Soundcard at the moment
is on-board with Dell P4 (awaiting Audigy). OS: Linux RedHat 7.x.

Harry
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com