CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2011
    Posts
    12

    Unhappy How to break audio

    Hi

    I am making an application in C++ under windows. I have an audio file
    and three buttons in my GUI. I want to play this audio on button play.
    i.e. Button will press 33% audio play. Button 2 press 33% audio play
    and Button 3 press 34% audio play. How can i do that.

    Thanks

  2. #2
    Join Date
    Jan 2003
    Location
    Wallisellen (Zürich), Switzerland
    Posts
    16,185

    Re: How to break audio

    Just split the original file into three parts (33 + 33 +34%) and play one of the parts in respond to button click.
    Victor Nijegorodov

  3. #3
    Join Date
    Jul 2011
    Posts
    12

    Re: How to break audio

    Quote Originally Posted by VictorN View Post
    Just split the original file into three parts (33 + 33 +34%) and play one of the parts in respond to button click.
    I have size of 6MB MP3 audio file. I want to break audio stream how can i do this
    through coding?
    Last edited by anand_t; August 5th, 2011 at 07:05 AM.

  4. #4
    Join Date
    Jan 2003
    Location
    Wallisellen (Zürich), Switzerland
    Posts
    16,185

    Re: How to break audio

    Sorry, I don't know about "do this throuh coding", however, there is a loot of free tools to accomplish it.
    Victor Nijegorodov

+ Reply to Thread

Bookmarks

Posting Permissions

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



HTML5 Development Center

Click Here to Expand Forum to Full Width