Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003

    Which fields of TMdaAudioDataSettings should I initialise?

    I am working on some streaming audio code and noticed that in one of Nokia's examples, only the iChannels and iSampleRate members of the TMdaAudioDataSettings are initialised before calling CMdaAudioOutputStream::Open().

    However, what of the other fields in this structure? Are they ignored or should they be set to zero?

    Thanks in advance for any answers.

  2. #2
    Registered User
    Join Date
    Nov 2004
    Other fields in the structure are Volume, balance, capapbilities and flags.
    Sample rate and channels cannot be set/changed after the stream is opened for writing.
    Volume, Balance can be set/changed either before or anytime after stream is opened. You can very well avoid these if you are happy with the default values.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts