How to check to have microphone in QTKit

Hi All,
I try to write an application which can record my voice in Cocoa and I use QTKit framework.
Here is my code to find and open an audio input device:
BOOL succes;
NSError error;
QTCaptureDevice *audioDevice = [QTCaptureDevice defaultInputDeviceWithMediaType:QTMediaTypeSound];
success = [audioDevice open:&error];
success is always TRUE, event though I don't input any device to record (microphone). I'm using a mac mini.
So how can I check when not having a device to record?
Please help me.
Thanks.

Consider putting up an interactive recording dialog (meter, etc.) that includes a polite admonition to confirm/test microphone is 'ready' before proceeding. Even a mini could have a mac under the right circumstances...

Similar Messages

  • How  to check  table have  exists any views in oracle

    hi,
    how to check table have exists any views in oracle

    SELECT * FROM user_dependencies
    WHERE type='VIEW'
    AND referenced_type='TABLE'
    AND referenced_name ='Your_Table_Name' You may use dba_dependencies to find views in different schema.

  • How to check the tables we have created in JDBC??

    I have created a table called COFFEE2 in a datasource called temp which is in SQL server...How to check the table values??
    i went into administrative tools and odbc cource then i could see the data source i have created but how to see the table??
    Can anyone help??
    thanx

    Hmm.. not sure that I understand the problem.
    Call getConnection on the DataSource, and then execute the select query on the connection.
    Kaj

  • How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?

    How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?
    Chandy Boy

    chandlar_27 wrote:
    How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?
    Hi @chandlar_27! Welcome to the BlackBerry Support Community Forums!
    Warranty? You have to conntact the place where you got it.
    To know if it's not been used yet, Go to the Phone App> Swipe down from the top screen> Settings> Call Summary.
    if the number there doesn't match your personal use since purchase, you will know it has been used before.
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • I Have iPad4 and using with Aricel Prepaid 3G SIM, How to check my VAlidity period and balance amount through iPad?. pls help me

    I Have iPad4 and using with Aricel Prepaid 3G SIM, How to check my VAlidity period and balance amount through iPad?. pls help me, M.Kumar, Chennai,
    <Email Edited By Host>

    There are 2 concepts attached to a bank balance. The balance as per your books of accounts and another is the balance maintained with the bank. I believe i need not explain these 2 concepts. These 2 balances can be obtained from Oracle system provided some of prerequsities are met with.
    Balance as per your books - This is nothing but the GL balance available. In order to obtain balances for each bank accounts, it is advised that each bank account should have a separate account code combination. This is achieved generally by having a separate natural account for each bank. The code combination is attached to the cahs account for each bank. By maintaining separate account code combination, the balance in each code combination can be obtained from GL (provided transactions are accounted and posted in GL). These balances represent the balance for each bank according to your books of accounts. You can create an FSG for this purpose and provide the same to the customer, so that they can run the same whenevr they want.
    Balance as per bank - This balance is maintained by oracle in 2 ways - either the bank balance can be manually entered for each bank account for each date (quite cumbersome). Else, while loading the bank statement, the bank balances are also loaded. There are various types of bank balances stored - value dated balance, available balance, float balance etc. Depending on the balances provided by bank along with the bank statement, the bank balance can be recorded in oracle system. After the bank statement is uploaded and balances stored, standard cash management reports are available to query for the bank account balances. In order to view daily movement, the bank statement should be loaded on daily basis.
    Hope this helps.
    Vinit

  • How to check the sales orders that have been created with an Rebate Agreeme

    Dear Experts,
    Do you know how to check the sales orders that have been created with an Rebate Agreements?
    Thanks!!

    Hi Hoo Laa,
    I have one way but little lengthy.
    Rebate condition always appears in the billing document.
    So 1st you extract the sales order list from Table VBAK.
    once you have the sales order list then you can put your order list in Table VBFA --> Extract the billing document list.
    Now put that list in the table VBRK.
    In VBRK you will get the "Doc. condition" --> put that doc condition in table KONV with your rebate condition type.
    It will show the result.
    Later, through VLOOKUP you can identify in which order you have given rebate to your customer.
    Already said, Little lengthy
    Regards,
    MT

  • How do I check how much memory I have left on my MacBook Pro

    Im just curious because I am a HUGE gamer and Im in the progress of downloading a 6.6 GB game to my 8 GB laptop. Id like to check how much memory I have to be safe and make sure it docent overflow. Unfortunetly I dont know how to do this so thats why Im asking. Im also wondering just in case what would happen if I reached the maximum data...thats what I am REALLY worried about if it will crash and burn and go all "2467474098170984704083470561837089_ERROR_CODE" on me. I really dont want that to happen because I need to make this computer last. Please type back as soon as possible. Thank you!

    Memory = RAM
    Hard Drive = Available Disc Space
    what-to-do-when-your-hard-drive-is-full.html

  • I'm trying to view a site that sends a message that I don't have the most recent graphic card drivers to view with.  It suggests I have the ability to view, but that my drivers might be disable.  I don't know how to check to see what graphic drivers my ma

    I'm trying to view a site that sends a message that I don't have the most recent graphic card drivers to view with.  It suggests I have the ability to view, but that my drivers might be disabled.  I don't know how to check to see what graphic drivers my macbook (end of 2008 model) have enable.  Can someone help?

    You don't need to care about graphic driver on Mac OSX. It includes in OSX and run the driver your MacBook need.

  • How can i check how much money i have on my iTunes gift card?

    How can i check how much money i have on my iTunes gift card?

    If the card has been redeemed then its remaining amount should be on your account, the card itself is now effectively zero. My account's balance shows at the top left of the store's page on my computer's iTunes, and by logging in to view my account via the Store > View Account menu option. On my devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > iTunes & App Stores and it should show on the screen that you are taken to). If your account's balance is zero then it might not show at all.

  • HT2481 iphoto now says it is running low on disc space. i should have plenty. not sure how to checkit

    iphoto says it is running low on disc space. i should have plenty. not sure how to check my space or increase my space

    In the finder select your hard drive and get info
    LN

  • How do I retrieve the microphone for voice text in ios8? I upgraded to iOS 8 last night and I don't have it.

    How do I retrieve the microphone icon for voice text in iOS 8? I downloaded the new iOS 8 last night and I do not have the ability to voice text. Someone please help.

    I did not do anything to mine except update. You can try doing a reset on the phone. It will not affect data. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot. Make sure you also have iMessage activated and data turned on. Remember that iMessage requires both users to have an active internet connection.

  • HT204053 How to check if i have another apple id or another iTunes store ?

    How to check if i have another apple_id or another iTunes store?

    See http://support.apple.com/kb/HT5625.

  • How do i check how much memory i have on my mac book pro 13in

    How do i check how much memory i have left on my mac book pro 13in

    If you mean you need to Free Up Disc Space on your Hard Drive... have a look here...
    http://macmost.com/what-to-do-when-your-hard-drive-is-full.html

  • How do I check how much space I have?

    How do I check how much space I have on my I-Pad 2?

    Connec the iPad to your computer.
    Right or control click the iPad under Devices left side of the iTunes window.
    Then select the Summary tab.
    Storage space located at the bottom of the window.
    OR, directly on the iPad tap Settings > General > Available

  • How to use built in microphone on ipad3 I have Siri on but no icon shows on my keyboard just want to record voice

    How to use built in microphone on ipad3 just for audio no dictation

    If you just want to record a a voice memo, use the included Voice Memos app. That has nothing to do with Siri.

Maybe you are looking for

  • How to update model only if value has changed?

    I would have expected that a model property is only updated if the value of the UIComponent has changed, but I am apparently wrong. Why is the setter-Method of a model always called, even if the old and new value are the same (or better: equal)? I ha

  • Urgent help required regarding reports Arabic Characters (Right to Left)

    Hello Members I am facing problem while deploying oracle reports on application server (Forms & Reports). I am using Developer Suite 10g 10.1.2.0.2 and same version of Application Server on Windows Environment. I have some fields in Arabic and some a

  • Is it possible to pass parameter in Navigation to BI content ActionLink ?

    Created and action link in a report A which call report B. Now when we use Dashboard filter on column 1 the value of column 1 in Report A get filtered according and shows the record set qualify the filter condition. When we Navigate from Report A to

  • Wish-list for

    I don't know if this has been touched before, but some things in the ZEN could be changed (except for bugs). Perhaps I am the only one who's bothered about the things I'll mention in a moment, maybe I'm not, but some things are very annoying, given t

  • HT5429 iOS 6 Maps and Chinese writing every where

    Why is it that all the countries, cities etc have the name in English (which I expect) but also above that Chinese characters for I assume the name in Chinese. Very annoying where can I turn this off? Thanks