We have a QNX 6.1 (not Photon) embedded system (on a DiskOnChip) and we want to play some short WAV files at certain points, e.g. key clicks when keys pressed.
We are using the playsound_noph library and inducing sound commands through that but there is a (relatively) long lag between starting it and the sound playing.
Calling ‘playsound_noph -v’ in a shell by hand you can see the slow progress as it reports its states (MV_OPENING… MV_STOPPED… MV_PLAYING).
Can this be quickened???
playsound_noph doesn’t seem to support all possible formats as Windows Media Player can (i.e. it can play them but QNX says invalid format).
Options on the ANX player seem scant to support.
We haven’t tried the MPEG player, but I assume that would include decompression, etc, and so it would be even slower.