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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:49:28+00:00 2026-06-13T20:49:28+00:00

OSStatus status; /******** Number of input channels ***************/ UInt32 inputchannels; UInt32 sizeofdata= sizeof(inputchannels); //problematic:

  • 0
OSStatus status;
/******** Number of input channels ***************/
UInt32 inputchannels; 
UInt32 sizeofdata= sizeof(inputchannels); 
//problematic: gives number of potential inputs, not number actually connected
status= AudioSessionGetProperty(kAudioSessionProperty_CurrentHardwareInputNumberChannels,&sizeofdata,&inputchannels);
[self checkStatus:status]; //prints statement 1 if OSStatus !=0
NSLog(@"Inputs %d \n",inputchannels); //prints statement 2

Above code results in OSStatus 560161140 (statement 1)….. and Inputs 0 (statement 2).

Any one please help me to know why i am getting this error status, what can it cause and how to prevent it……..

  • 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-13T20:49:29+00:00Added an answer on June 13, 2026 at 8:49 pm

    According to the Result Codes section of the Audio Session Services Reference:

    560161140 == 0x21636174 == "!cat"
    

    Which means:

    The specified audio session category cannot be used for the attempted
    audio operation. For example, you attempted to play or record audio
    with the audio session category set to
    kAudioSessionCategory_AudioProcessing. Available in iOS 3.1 and later.

    I can help you interpret the result but I cannot tell you the root cause.

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

Sidebar

Related Questions

I have the following code: OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)attrDictionary, (CFTypeRef *)&value); which causes
Well, I have some code like: FILE *file; AuthorizationRef authorizationRef; OSStatus status; ... status
We have the following snippet. OSStatus createErr = PasteboardCreate(kPasteboardClipboard, &m_pboard); if (createErr != noErr)
I don't see any options for the FSPathMoveObjectToTrashSync() function for not following links. Here
When I try to bind a valueconverter from a defined enum Status to brush,
I came across this in some example code: - (IBAction) startPlayLowNote:(id)sender { UInt32 noteNum
Using the apple built in Security framework and common crypto libraries I do not
2009-07-06 06:49:13.666 Spark[9825:10b] -[<NSUserDefaultsController 0x137af0> valueForUndefinedKey:]: this class is not key value coding-compliant for
I work on custom voip application. It relies in audio input/output on CoreAudio. I
Many/most OSStatus values on iPhone are 4-character displayable values jammed into the 4-byte int.

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.