0
0

I have an application that’s using FMOD.OUTPUTTYPE.NOSOUND and was wondering if it would be possible to add a corresponding "no speaker" value to the SPEAKERTYPE enum? There are several spots where I’m checking the speaker count for UI feature enabling, and having zero speakers returned would make things more consistent.

  • You must to post comments
0
0

I dont understand the output mode has nothing to do with the fmod_speaker enum list. There is still a speaker mode by default and that is enabled with setSpeakerMode (default = stereo). Unless you’re talking about FMOD_SPEAKERMODE_RAW then you just use integers cast to the speaker type .

  • You must to post comments
0
0

I want the UI portion of the application, when querying the system for the number of speakers, to be zero (0); when the audio layer initializes using NOSOUND, I do not want the UI to see ANY speakers. Several of our routines, including speaker calibration, enable UI features based on the number of speakers detected in the system.

  • You must to post comments
0
0

Assuming that you have some wrapper or interface to query your audio engine, you can do that check yourself. You can query System::getOutput() and return 0 if it’s NOSOUND. Alternatively, you can set a flag internally when you initialize FMOD and check that.

  • You must to post comments
0
0

Yes, I understand I can check this myself. That’s why I tagged it as a feature request, as it seems to make sense to me that if I have a built-in "nosound" output, I would also have a "nospeaker" option, since a null sound driver would likely have no speaker configuration.

  • You must to post comments
0
0

NOSOUND is provided as a way to let users run their application as is, without any sound output. Everything else acts as normal. There may be circumstances where users are setting the speaker mix or doing something per speaker which is completely valid despite the fact there is no sound. In this case it wouldn’t be appropriate for us to return no speakers.

Hope this clears things up.

-Pete

  • You must to post comments
0
0

Yes , its not true that there is ‘no speakers’. There are ‘speakers’ you just don’t hear them. It depends on the speaker mode.

  • You must to post comments
0
0

It seems I am unable to communicate my intent clearly.

I appreciate the feedback.

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.