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 8623617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:19:30+00:00 2026-06-12T07:19:30+00:00

How can i control my app’s output volume. I’ve got an app that uses

  • 0

How can i control my app’s output volume.

I’ve got an app that uses https://github.com/mattgallagher/AudioStreamer to stream mp3 files from the internet. The AudioStreamer class does not have a way to change output volume and I don’t want to change system volume.

Many apps do this:

  • iTunes
  • Spotify
  • MPlayerX
  • Most Audio Players

Edit: If you’re hear about AudioStreamer, I’ve since switched to Apple’s AVPlayer, which i’ve found far simpler and superior. Easy volume adjustment too!

  • 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-06-12T07:19:32+00:00Added an answer on June 12, 2026 at 7:19 am

    AudioStreamer and I’m guessing most OSX media players use the AudioToolbox framework. AudioToolbox uses a programming interface called AudioQueue to playback media files. Here is the way to adjust the volume using AudioQueue.

    AudioQueueSetParameter(audioQueue, kAudioQueueParam_Volume, 0.5);
    
    • audioQueue is an AudioQueRef
    • kAudioQueueParam_Volume tells AudioQueueSetParameter() to change the Volume Parameter
    • 0.5 is the volume from 0.0 – 1.0

    More details on AudioQueue: https://developer.apple.com/library/mac/#documentation/MusicAudio/Reference/AudioQueueReference/Reference/reference.html

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

Sidebar

Related Questions

I can easily control a console based app with the input and output streams
This is my app page: https://www.facebook.com/pages/When-Biebs-Attack/402350233140999 As you can see, it's an actual App
I'm developing an app using Silverlight control for Bing Maps . User can search
The org-mode manual mentions a number of properties that can control the behavior of
I have a WinForm app that displays results in a Gridview control. If a
I am trying to replicate the feature in voice memos app that uses a
Can someone recommend a reliable HTML tree control that also supports tree manipulation? I
In my ASP.NET app I have a control in the master page that raises
According to https://developers.facebook.com/docs/beta/authentication/ , the 'Default Activity Privacy' field in the Auth Dialogue can
I've got some UI Automation tests for a universal app that I'm running from

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.