Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
Posts: 28
Registered: ‎02-07-2013
My Device: blackberry 10
My Carrier: vodafone

audio recording problem

Hi,

  I am using mm-render to record audio! Below is a part of the code! But when i add   " connection = mmr_connect(NULL); ", its not building any binaries! Also there is no code line error!

 

  const char* outputFile = "/accounts/1000/shared/downloads/testFile.wav";
     mmr_connection_t *connection;
      mmr_context_t *context;
      const char* context_name = "AnyNameYouWant";
      int output = 0;

      int input = 0;

      connection = mmr_connect(NULL);

 

Its working well with c project! But when i try to integrate to cpp its getting error! Can anyone help me?

Retired
Retired
Posts: 150
Registered: ‎10-19-2010
My Device: Not Specified
My Carrier: Rogers

Re: audio recording problem

Hi Paul

 

It would help us all a lot if you told us what the error was Smiley Happy