Shelf disappears when changing volume

I installed QNX 6.2 PE and tested a multimedia application on it. In the
application’s GUI, there is a slider to change the master volume, it used to
work fine on QNX 6.1.0 (w/wo patch A) but now, when the calls to
snd_mixer_group_write is made, I lose the shelf.

My bet is that when the call to snd_mixer_group_write is made, a callback
(snd_mixer_callbacks_t) is called to change something in the shelf (?) and
it makes it crash ! The funny thing is that when the audio mixer is opened,
I can see the master volume slider moving as I move the application’s slider
even with the shelf gone…

maybe more a bug report than a question…

Marc

Hello Marc

Do you have the volume plugin in the shelf? If you do can you remove it?
If you don’t can you add it? I just want to see if that has any affect at
all on your situation. Would it be possible to get a sample application
that I can try here?

Thanks,
Rodney

“Marc Labbe” <marc.labbe@mindready.com> wrote in message
news:ajbm16$ob1$1@inn.qnx.com

I installed QNX 6.2 PE and tested a multimedia application on it. In the
application’s GUI, there is a slider to change the master volume, it used
to
work fine on QNX 6.1.0 (w/wo patch A) but now, when the calls to
snd_mixer_group_write is made, I lose the shelf.

My bet is that when the call to snd_mixer_group_write is made, a callback
(snd_mixer_callbacks_t) is called to change something in the shelf (?) and
it makes it crash ! The funny thing is that when the audio mixer is
opened,
I can see the master volume slider moving as I move the application’s
slider
even with the shelf gone…

maybe more a bug report than a question…

Marc

Hi Rodney,

sorry for the delay, I haven’t been around lately… here is the update !

The shelf disappears with AND without the volume plugin in it. I noticed
afterward that the shelf disappears even when changing the volume from the
audio mixer application. It is not a problem in our code then… Note that
we had the same result on 2 different systems each with a different sound
card. That’s all the answers I have for now !

Marc


Rodney Dowdall <guisupport@qnx.com> wrote in message
news:ajdl4n$rht$1@nntp.qnx.com

Hello Marc

Do you have the volume plugin in the shelf? If you do can you remove it?
If you don’t can you add it? I just want to see if that has any affect at
all on your situation. Would it be possible to get a sample application
that I can try here?

Thanks,
Rodney

“Marc Labbe” <> marc.labbe@mindready.com> > wrote in message
news:ajbm16$ob1$> 1@inn.qnx.com> …
I installed QNX 6.2 PE and tested a multimedia application on it. In the
application’s GUI, there is a slider to change the master volume, it
used
to
work fine on QNX 6.1.0 (w/wo patch A) but now, when the calls to
snd_mixer_group_write is made, I lose the shelf.

My bet is that when the call to snd_mixer_group_write is made, a
callback
(snd_mixer_callbacks_t) is called to change something in the shelf (?)
and
it makes it crash ! The funny thing is that when the audio mixer is
opened,
I can see the master volume slider moving as I move the application’s
slider
even with the shelf gone…

maybe more a bug report than a question…

Marc

\