Quantcast
Jump to content


Blackbird

Members
  • Posts

    1
  • Joined

  • Last visited

Blackbird's Achievements

  1. I plugged a USB microphone into TV to record external audio. In my .NET app I can detect it with AudioManager.GetConnectedDevices(). To record audio I set the privileges (microphone) and follow the instructions here: https://docs.tizen.org/application/dotnet/guides/multimedia/raw-audio/ I tried both methods sync and asysnc: https://docs.tizen.org/application/dotnet/api/TizenFX/API11/api/Tizen.Multimedia.AudioCapture.html https://docs.tizen.org/application/dotnet/api/TizenFX/API11/api/Tizen.Multimedia.AsyncAudioCapture.html I instantiate AudioCapture or AsyncAudioCapture objects and when I invoke the Prepare() method the app crashes without any exception or error message. Simplified code snippet: AudioCapture audioCapture = new AudioCapture(44100, AudioChannel.Mono, AudioSampleType.S16Le); int bufferSize = audioCapture.GetBufferSize(); const int RecordingSec = 1; bufferSize *= 10 * RecordingSec; audioCapture.Prepare(); // THIS LINE CRASHES byte[] buffer = audioCapture.Read(bufferSize); The same result is on two different models (Tizen 6.0 and Tizen 6.5). How can I record audio from microphone on Tizen TV? What am I missing?


×
×
  • Create New...