Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6241423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:45:58+00:00 2026-05-24T11:45:58+00:00

I am using FMOD to play some sounds from files and I add some

  • 0

I am using FMOD to play some sounds from files and I add some effects. I want to preview the effects added to it, and save the satisfied result to disk.
I have tried using SetOutput and Init and then createSound, playSound
but I cannot hear the sound and the file saved in the disk seems wrong!

If I don’t use setOutput and init system with the 4th parameter 0, I can hear the sound.

appending my code :

result = FMOD_System_SetOutput(gSystem,FMOD_OUTPUTTYPE_WAVWRITER);
result = FMOD_System_Init(gSystem, 32,FMOD_INIT_NORMAL,"/sdcard/wav.wav");
result = FMOD_System_CreateSound(gSystem, filename, FMOD_SOFTWARE | FMOD_LOOP_NORMAL, 0, &gSound);
result = FMOD_System_PlaySound(gSystem, FMOD_CHANNEL_FREE, gSound, 0, &gChannel);

Hope you can help me!

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:45:59+00:00Added an answer on May 24, 2026 at 11:45 am

    If you use setOutput with WavWriter the audio will go to a file instead of the speakers. If this isn’t what you are looking for perhaps you should try capturing the audio with a custom DSP.

    The basic idea is you follow the dsp_custom example, make a user created DSP, then in the DSP read callback write the data out to disk. You must also copy the data coming into the DSP into the output buffer (direct memcpy) to allow the audio to pass through to the speakers. You can place the DSP anywhere in the DSP network you want to capture audio. If you are only interested in the final mix, just use System::addDSP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to play only part of a sound using FMOD, say frames 50000-100000
I am using FMOD for iPhone to generate a tone and play it, but
Using php/html, I want to retrieve email addresses (plus other information) from MySQL and
So, I'm using the FMOD api and it really is a C api. Not
Using pycparser to parse a slew of .c source files, but the parser can't
I am starting using FMOD API and I have got problem with sound playing.
I'm using FFmpeg to extract informations about a video file. But i want to
Using mercurial, I've run into an odd problem where a line from one committer
using a binary search tree I need to add to a vector all int
Is there a way to get fmod to play a sound based on sound

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.