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

  • Home
  • SEARCH
  • 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 6188483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:14:23+00:00 2026-05-24T02:14:23+00:00

I am trying to write a C++ program which plays real-time processed audio. I

  • 0

I am trying to write a C++ program which plays real-time processed audio. I have decided to use RtAudio but cannot make the test programs play audio.

I am using Mac OS X, so I compiled with ./configure --with-core and make. After compiling the files in the test directory, I ran ./audioprobe to return this list.

Compiled APIs:
  OS-X Core Audio

Current API: OS-X Core Audio

Found 3 device(s) ...

Device Name = Apple Inc.: Built-in Microphone
Probe Status = Successful
Output Channels = 0
Input Channels = 2
Duplex Channels = 0
This is NOT the default output device.
This is NOT the default input device.
Natively supported data formats:
  32-bit float
Supported sample rates = 44100 48000 88200 96000 

Device Name = Apple Inc.: Built-in Input
Probe Status = Successful
Output Channels = 0
Input Channels = 2
Duplex Channels = 0
This is NOT the default output device.
This is the default input device.
Natively supported data formats:
  32-bit float
Supported sample rates = 44100 48000 88200 96000 

Device Name = Apple Inc.: Built-in Output
Probe Status = Successful
Output Channels = 2
Input Channels = 0
Duplex Channels = 0
This is the default output device.
This is NOT the default input device.
Natively supported data formats:
  32-bit float
Supported sample rates = 44100 48000 88200 96000 

Since the Built-in Output device is index 2, I then ran ./playsaw 2 44100 2, but an error occurred:

RtApiCore::probeDeviceOpen: system error (kAudioHardwareUnknownPropertyError)
    getting stream format for device (2).

How can this be fixed?

  • 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-24T02:14:23+00:00Added an answer on May 24, 2026 at 2:14 am

    Are you on Lion (10.7)? I am seeing the same problem, on older systems (10.6.x) RtAudio work fine for me.

    Perhaps you can downgrade to RtAudio 4.0.6, this worked for me on Lion, but there’s still a bug lurking around with device names which got fixed in 4.0.8.

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

Sidebar

Related Questions

I have been trying to write a C program which generates all possible permutations
Imagine we have a program trying to write to a particular file, but failing.
Hi I am trying to write a program which uses readdir but the entries
Perhaps I'm being over-ambitious, but I'm trying to write a server program which can
I am trying to write a program in PHP which I had already written
I'm trying to write a simple program in VC++ which will just initialize the
I'm trying to write a program which calls a library function ( http://www.diku.dk/hjemmesider/ansatte/pisinger/3dbpp.c )
I'm trying to write a program which will pseudorandomly autogenerate (based on a seed
I am trying to write a program wit Perl which should returns the frequency
I'm trying to write a program with a function which returns a matrix with

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.