Problem of capturing sound

I'd like to capture sound from sound card and use the following code to get the device list.
Vector deviceList = CaptureDeviceManager.getDeviceList(new AudioFormat("linear", 44100, 16, 2));
But the compiler tell me :
can not resolve the symbol
symbol : constructor AudioFormat (java.lang.String,int,int,int)
location: class javax.sound.sampled.AudioFormat
Vector deviceList = CaptureDeviceManager.getDeviceList(new
I have already inport the javax.sound.sampled.*; packages
Please help me !

this form of AudioFormat is found in jmf package
import javax.media.*;
if you have jmf package

Similar Messages

  • Problem capturing sound with picture on Premiere 6.0

    I've been using this system successfully for 10 years and I promise it's the last project with it, I'm going HD with CS4 next month. But...
    Using Premiere 6.0. MAC G4 Dual 1000 processors, lots of RAM, 4 hard drives. For some reason when I capture a clip from tape through my Sony DS11 deck, the picture comes in fine, but without sound.  I've checked all the audio settings, they're all right.  I tried changing all the settings one at a time, it doen't help. I tried using the camera to capture from instead of the deck, no help.  I tried a tape shot with a different camera, nope.  I tried previous tapes that I was able to capture picture and sound from, now no sound. Oddly, occasionally it will work, maybe one in 20 tries. I'm finishing an important project and only need to lay in the narration, which I record with the camera using a good mike, but of course I can't capture sound. I'm tempted to reload Premiere onto the computer, but I'm afraid it won't hook up with the hundreds of clips already captured. Any suggestions?

    FW Capture, whether from your deck, or from your camera, should be just a byte-for-byte data transfer, using the Capture settings that you have chosen. You have confirmed that the settings are 100% correct, and your problem is with both the deck and the camera. That leaves the FW cable, and the connection on your Mac. Now, with either, I would expect that both the video and audio would be messed up, and not just one stream. Still, those would be the next things that I would check.
    Since my normal go-to utility, G-SPOT is not ported for the Mac, I'd use MediaInfo, and run one of the Captured files through it, just to see if there is an Audio stream - just on the off-chance that it's a playback issue. Assume that you are doing the Capture to MOV, so playing in QT Player should be a test too.
    Other than that, I don't have any ideas to help.
    Good luck,
    Hunt

  • Big Problem when Capturing DVCPro 50 tape with FCP 5.0.4

    At the job we work with DVCPro 50 tapes wich I capture using the capture Preset DVCPro 50 NTSC, the images are perfect, but there is a problem with the sound it doesn't capture at the good frequence, exemple, if the capture provide 5 clips, the 3 or 4 first will be fine and the other one qill be at an audio rate of 47.* instead of 48 khz, does anyone had that problem already and if so, what can i do?? Cause now everything is off sync
    thanks

    sorry to bother you, but you were the only reply. 3 sources were mini dv. 1 was hdv. the mini dv sources were converted using toast (by someone else). when all sources were put on the timeline, i got the redline render. so i rendered them (took many many hrs). then i exported them. this turned them into
    fcp movie files. then i re imported them. currently the browser says they are all dv/dvcpro, ntsc ccir601, 720x480. the weird thing is that i can multiclip any of the two sources, but not 3 or more. any help would be appreciated. thx dr

  • Help ! Screen Capture sound every 30 seconds

    Hi all I need help! Last week in the middle of my work day nothing special, the system started playing the camera shutter / screen capture. I started timing between the shutter, every 30 seconds, very annoying - the camera shutter sound - same as the shift-4 screen capture sound and same as the sound that occurs when you press the back button in terminal. I have a 15 inch mac book pro. 2009 model.
    I wondered whether someone had installed a hidden shell script or apple script program and is capturing my screen and maybe sending it over the net.
    I have checked activity monitor and did not notice any programs running like "screencapture" or anything else like that. I have also turned hidden files visable on, but i can't find any screen capture directory or files: .jpg, .pdf, .png files I should be seeing lots of them for every 30 seconds per capture. Back to terminal here is my dump from ps ax command:
    PID TT STAT TIME COMMAND
    1 ?? Ss 0:07.47 /sbin/launchd
    10 ?? Ss 0:01.75 /usr/libexec/kextd
    11 ?? Ss 0:01.15 /usr/sbin/DirectoryService
    12 ?? Ss 0:01.16 /usr/sbin/notifyd
    13 ?? Ss 0:00.19 /usr/sbin/syslogd
    14 ?? Ss 0:00.15 /usr/sbin/diskarbitrationd
    15 ?? Ss 0:02.08 /usr/libexec/configd
    16 ?? Ss 0:01.65 /usr/sbin/distnoted
    19 ?? Ss 0:00.54 /usr/sbin/mDNSResponder -launchd
    26 ?? Ss 0:00.19 /usr/sbin/securityd -i
    31 ?? Ss 0:00.41 /usr/sbin/ntpd -c /private/etc/ntp-restrict.conf -n
    32 ?? Ss 0:00.06 /usr/sbin/cron
    34 ?? Ss 0:00.07 /System/Library/PrivateFrameworks/MobileDevice.frame
    35 ?? Ss 0:00.04 /sbin/SystemStarter
    39 ?? Ss 0:11.81 /System/Library/Frameworks/CoreServices.framework/Fr
    40 ?? Ss 2:11.63 /System/Library/CoreServices/loginwindow.app/Content
    41 ?? Ss 0:00.06 /usr/sbin/KernelEventAgent
    43 ?? Ss 0:34.52 /usr/libexec/hidd
    44 ?? Ss 0:01.19 /System/Library/Frameworks/CoreServices.framework/Ve
    46 ?? Ss 0:00.00 /sbin/dynamic_pager -F /private/var/vm/swapfile
    51 ?? Ss 0:00.16 /usr/sbin/blued
    52 ?? Ss 0:00.03 autofsd
    55 ?? Ss 0:00.10 BBDaemon
    61 ?? Ss 0:01.88 /System/Library/CoreServices/coreservicesd
    62 ?? Ss 1:37.87 /System/Library/Frameworks/ApplicationServices.frame
    63 ?? Ss 0:01.65 /usr/libexec/ApplicationFirewall/socketfilterfw
    67 ?? S 0:00.05 /Library/StartupItems/HWPortDetectdriver/HWPortCfg
    146 ?? Ss 0:00.01 /System/Library/Frameworks/OpenGL.framework/Versions
    160 ?? Ss 0:06.90 /usr/sbin/coreaudiod
    170 ?? Ss 0:10.15 /System/Library/PrivateFrameworks/DiskImages.framewo
    174 ?? Ss 0:00.58 /System/Library/PrivateFrameworks/DiskImages.framewo
    180 ?? Ss 0:00.71 /sbin/launchd
    184 ?? S 0:02.16 /System/Library/CoreServices/Dock.app/Contents/MacOS
    185 ?? S 0:06.26 /System/Library/CoreServices/SystemUIServer.app/Cont
    188 ?? S 0:02.26 /System/Library/Frameworks/ApplicationServices.frame
    191 ?? S 0:00.00 /usr/sbin/pboard
    199 ?? S 0:00.04 /System/Library/Frameworks/InputMethodKit.framework/
    201 ?? S 0:04.23 /System/Library/Input Methods/Kotoeri.app/Contents/M
    206 ?? S 0:00.28 /usr/libexec/UserEventAgent -l Aqua
    212 ?? S 0:00.04 /System/Library/CoreServices/AirPort Base Station Ag
    213 ?? S 0:24.59 BBLaunchAgent
    215 ?? S 0:00.15 /System/Library/CoreServices/Folder Actions Dispatch
    218 ?? S 0:00.28 /System/Library/CoreServices/Menu Extras/TextInput.m
    223 ?? S 0:00.23 /Library/PreferencePanes/Growl.prefPane/Contents/Res
    225 ?? S 0:22.03 /Users/salexsaa/Library/Application Support/RealNetw
    227 ?? S 0:00.03 /Users/salexsaa/Library/Application Support/RealNetw
    463 ?? S 0:41.93 /System/Library/CoreServices/Finder.app/Contents/Mac
    632 ?? S 2:48.51 /Applications/Google Chrome.app/Contents/MacOS/Googl
    638 ?? S 0:03.06 /Applications/Google Chrome.app/Contents/Versions/8.
    639 ?? S 0:22.09 /Applications/Google Chrome.app/Contents/Versions/8.
    642 ?? S 0:01.15 /Applications/Utilities/Terminal.app/Contents/MacOS/
    679 ?? S 3:27.94 /Applications/Google Chrome.app/Contents/Versions/8.
    692 ?? S 1:15.15 /Applications/Google Chrome.app/Contents/Versions/8.
    701 ?? S 0:01.71 /Applications/Preview.app/Contents/MacOS/Preview -ps
    815 ?? S 0:04.11 /Applications/Microsoft Office 2011/Office/Open XML
    1278 ?? S 0:00.39 /System/Library/Services/AppleSpell.service/Contents
    1287 ?? S 0:18.59 /Applications/Google Chrome.app/Contents/Versions/8.
    1297 ?? S 0:22.32 /Applications/Microsoft Office 2011/Microsoft Excel.
    1303 ?? S 0:00.05 /Library/Application Support/Microsoft/MAU2.0/Micros
    1323 ?? S 0:13.76 /Applications/Skype.app/Contents/MacOS/Skype -psn0
    1360 ?? S 0:08.29 /Applications/Google Chrome.app/Contents/Versions/8.
    1375 ?? S 0:22.34 /Applications/Google Chrome.app/Contents/Versions/8.
    1452 ?? S 0:02.12 /Applications/Google Chrome.app/Contents/Versions/8.
    1497 ?? SNs 0:00.18 /System/Library/Frameworks/CoreServices.framework/Fr
    1512 ?? Ss 0:00.01 /System/Library/CoreServices/backupd
    644 s000 Ss 0:00.03 login -pf salexsaa
    647 s000 S 0:00.01 -bash
    1525 s000 R+ 0:00.00 ps ax
    Please any suggestions??? as you can imagine im pulling my hair out. Please any ideas before i have to reinstall everything again i just finished a re-install. My last system had the Isight camera turning and flashing randomly now this...am i a victim of mac hacking???
    Help!!! Pls.

    Make sure the sound is coming from your speakers and not from your hard drive, by muting the speakers. If the sound continues, it may be your hard drive's heads parking (which shouldn't happen every 30 seconds either, but that's a very different problem). If it doesn't continue and is therefore exactly what you think it is, I'm as puzzled as you are.

  • My Video Camera won't capture sound!

    My camera will not capture sound! I have done loud things to test it while recording, turned my sound all the way up, and played it to hear nothing. I put in headphones to try it, and once again i heard nothing. I was sure it was recording when I spoke and I know that there was supposed to be noise. What is wrong with my Nano?

    Run through these troubleshooting steps to see if this solves your problem. Let us know if this does it for you.
    http://www.apple.com/support/ipod/five_rs/nano5gen/
    i

  • Problem in capturing excse invoice

    Hi,
    I am facing a problem while capturing excise invoice. I made goods receipt with reference to a single PO containing 3 line items by 101 mvt type. after that i reversed that document using mvt 102 for line item 2 and 3. Now the Original GR document contains only line item 1.
    But while capturing Excise invoice with reference to the GR docuumber, system is showing message Document 9000005126   does not contain any selectable items.
    Please suggest me how to capture excise invoices in the above scenerios.
    Thanks
    Prasant,

    Prasant,
    U said u have made 102 GR cancellation.While doing 102 mov type system will cancel whole document not 2 & 3 document.
    So check whether this happened or not.
    Thats why there is message of No selectable items.
    Thanks & regards
    Gitesh

  • "A How-To" on the steps to FIX the Problem of NO Sound Card DETECTION with AUDIGY 2 and Win XP

    Note#: When restarting the PC each time, shut off the main power switch on the Power Supply then back on.
    Note#2: You will need the Windows XP CD WITH the SP2 on it or have the download SP2 Install file from MS on your PC. I have it on CD.
    . Remove the sound Card
    2. Use the Removal/Un-installation Procedures for the drivers in Knowledge Base Under Windows XP Step by step. Restart to get all the files deleted in the Creative folder if necessary.
    Here is the (Solution ID#) for the Uninstallaion found in the Creative.com Knowledge Base: SID72 "How to uninstall Sound Blaster drivers and applications?"
    Alternati'vely, Click on the Sound Blaster Picture Box under the Knowledge Base Main Search Page and the article should be in the resulting list.
    3. Use the DCProSetup_.exe from http://files.trunetworks.com/utilities/
    Use it carefully Selecting [Creative] then Check the box for Muntiple Cleaning Filters, and remove the Creative Audio Drivers by Clicking on Start.
    4. Go into the Registry by Typing Regedit in the Start>Run.. Menu
    Navigate and remove the Entry for CTCMSGo.exe, it is running in the back ground otherwise and i believe it interrupts the re-installation of MediaSource Files.
    HKEY_CURRENT USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    The file link/tag, it will be on the right half of the screen, Delete it. CTCMSGo.exe=(Creative Technologies Media Source Go)
    5. Restart the PC, dont forget to switch Power Supply to off while powered down and on before powering back up.
    6.Go to the Win XP SP2 CD or the file downloaded, select re-install but choose UPDATE, not New Installation. Let the Install run and update your pc, this procedure has no data loss or settings changes in Windows.
    7. Restart PC
    8. Turn off PC and install the Audigy 2 Card. Then turn on the PC. At this point you might get a plxcore.plx Error of file missing. Not to worry.. copy the file from within the Creative Drivers CD and paste it into the Creative Folder In C:\Program Files\Creative
    The Knowledge base Article on the steps is: SID287 "Error: Program could not load because Plxcore.plx cannot be found"
    9. Power up and see if you get PCI Device, and Audio Controller Detetion. If you dont then do the following:
    A) Remove the Sound Card and Re-install the Win XP SP2 Update a number of times ( I did this about 5 times until detection) Each time restart and install the Sound Card into any of the empty PCI Ports until detection.
    If that does not work after a number of times try the following:
    B)Power off and switch the PCI slot of the Sound Card (to all the PCI slots if necessary with complete power off each time) Without Re-installing XP SP2 Update.
    0. After you get Detection, The Windows Auto Installer for Drivers will pop up..select Find Drivers Automatically, then Install then install the drivers it finds. It will put in some basic Audigy Drivers from the CD or online i'm not sure where it gets them from. Keep your Driver CD in the CD Dri've.
    .Restart the PC, then install the Drivers and Media Source Files from the CD (it may not all get installed and may give an error and you have to shut down and re-install the drivers and Media Source over again and over again so it fills in the gap of missing files/drivers until it all works without deleting the previously installed parts).
    2. Only install this update from the File/ Downloads Section on the Creative website: EAX4DRV_AUDIGY2__84_50.exe Dated 29 July 04. The new beta one that was released is what started all my troubles, so plz i urge you to wait for it to be official.. unless you really want to test it out at your risk.
    And there you have it.. in 8 Hours and some ideas from friends and relati'ves concerning detection problems of other hard ware they have had i decided to play Roulette all night and this combo works. I had to play Roulette switching the PCI slots (5 of them), and then towards the end play Roulette with the Creative Driver CD install... until they all work perfectly. WHEW!!!
    Notice: I hope if you are really ticked off at having no sounds and want to try this at your own risk and responsiblity go ahead, and I wish you luck. None of the proedures are too out of the ordinary. I dont know if it will work for you but it worked for me and maybe it will possibly for other similar Sound Cards as well.. like ZS or Li've! etc. with similar problems. Happy Sound Blasting!!!
    My Specs: P4 3.2Ghz Prescott on Intel D875PBZ MB, pqi GB PC3200 Dual Channel RAM, Win XP SP2, Plextor CD-R and DVD Dri'ves, BFG 6600GT OC 28MB and the Audigy 2 Sound CardMessage Edited by Flying_Ghost on 05-04-2005 09:38 PM

    Thanks for pointing that out, it was not apparent on the day i used them and wrote the How-To. The links have been replaced with the SID# (Solution ID #) and the title given for the Article.
    Have fun

  • Is there any way to turn the phone back to firmware 4.2 or can anyone help with my problem of no sound

    Ever since I downloaded update 4.3, I don't have any external sound from the speakers.  The phone rings fine and some sounds like the clock alarm works,
    However I don't have any sound from any game app or apps like Pandora, I-Heart Radio etc.  All apps work fine, when an external headset is plugged in.
    I keep getting a message that says "THIS ACCESSORY IS NOT OPTIMIZED FOR THIS IPHONE.   YOU MAY EXPERIENCE NOISE CAUSED BY CELLULAR INTERFERANCE AND A DECREASED IN CELLULAR SIGNAL STRENGTH.
    I took the phone to the local Apple store and they said that it was the external phone jack.  However when I took the phone in for repair, the technican said that it was a software problem.
    I tried restoring my phone and it did not help.  The repair tech said that I need to restore the software to a PRE 4.3 to verify that this will fix the problem.
    The sound works fine when I plug in an external headset.  The sound bars show up on the front screen.  However when I remove the headphone, The sound bars no longer show up on the screen.

    I have a similar issue. Sound works okay but keep getting the app not optimized, you may experience a decrease in celluar strength. Verizon says it is a software issue. Apple says it is a hardware. Phone will niot synch to itunes to do any kind of reset.

  • Can I use a Bluetooth headphone/microphone for capture sound instead of normal iPhone mic when shooting video?

    Can I use a Bluetooth headphone/microphone for capture sound instead of normal iPhone mic when shooting video?
    The sound when I record video is not so good, so I'm trying to use the Bluetooth headphone/microphone to capture a person voice but not know which setting to use.

    Hi Robert
    Thanks for answering. I didn't know where to post other than the bluetooth forum which is relatively quiet and had no answers forthcoming.
    Yes the voice isn't reaching the amp although it is registering on the input bar in the Sound System Prefs, just won't "play through" as it were. I can't see how it could be done I was just hoping someone might see something I am missing.
    It seems a shame that you can't do it as iTunes on an old iBook makes a good juke box for DJ'ing and with everything becoming wireless these days it seems sensible that you could cut that one last wire.
    Mike

  • Having problem with Ipod Sound

    I am having a huge problem with the sound for my Ipod. I was recently at a concert and using my car audio conversion in both my Ipod and my girlfriends, when I unplugged it from hers to mine I lost all sound to my Ipod when I plug in my headphones now or when I put the receiver back into the bottom. I have reset and restored it and run the diagnostics check to see if it could be the USB or the headphone Jack. Both are in working order but I am still not getting any sound to my Ipod. Can anyone help me with this problem? My Ipod is my life staple for my morning commuet.

    You can try to following to rule out/fix a software problem:
    - Reset. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod
    If still a problem you very likely have a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Problem with capturing of baselines

    Hi !
    I have a problem with capturing of baselines- when the SQL is called from PL/SQL code...
    For example if I execute in SQL* Plus session
    alter session set optimizer_capture_sql_plan_baselines = true;
    exec dbms_mview.refresh('VIEW_CLIENT_KONTO', 'C');
    exec dbms_mview.refresh('VIEW_CLIENT_KONTO', 'C');
    nothing happens ..I do not find the baseline in dba_sql_plan_baselines...
    ========================================================
    optimizer_use_sql_plan_baselines = TRUE..of course and I can capture baselines for plain SQL -only not if SQL ist invoked from PL/SQL..
    Now, nowere in documentation could I find that capturing does not work from PL/SQL ..that would, in my opinion, be sderious disadvantage- so much code in the database runs as PL/SQL..
    We habe Oracle 11.2.0.3 Enterprise Edition
    optimizer_features_enable = 11.2.0.3
    What could be worng here..did I forget certain parameter or setting. Thanks for your help in advance.

    Now, nowere in documentation could I find that capturing does not work from PL/SQL ..that would, in my opinion,
    be sderious disadvantage- so much code in the database runs as PL/SQL..You're quite right. It would be serious disadvantage.
    But it's not true that they are not captured from PLSQL.
    Setup:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> select name, value from v$parameter where name like '%baseline%';
    NAME                                               VALUE
    optimizer_capture_sql_plan_baselines               FALSE
    optimizer_use_sql_plan_baselines                   TRUE
    SQL> create table t1
      2  (col1 number);
    Table created.
    SQL> INSERT /*+ domtest sql */ INTO t1 select 1 from dual;
    1 row created.
    SQL> begin
      2  INSERT /*+ domtest plsql */ INTO t1 select 1 from dual;
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> select sql_id, substr(sql_text,1,30) sql_text, child_number c, to_char(force_matching_signature
    ) sig, sql_plan_baseline
      2  from   v$sql
      3  where  sql_text like 'INSERT /*+ domtest%';
    SQL_ID        SQL_TEXT                                C SIG                            SQL_PLAN_BASELINE
    gmskus7sbgt5d INSERT /*+ domtest plsql */ IN          0 7407988653257810022
    64rzqgrt63wzu INSERT /*+ domtest sql */ INTO          0 17374141102446297863
    SQL> select to_char(b.signature) sig, b.created
      2  from   v$sql s
      3  ,      dba_sql_plan_baselines b
      4  where  s.sql_text like 'INSERT /*+ domtest%'
      5  and    b.signature = s.force_matching_signature;
    no rows selected
    SQL> alter session set optimizer_capture_sql_plan_baselines = true;
    Session altered.
    SQL> Baseline created for SQL statement:
    SQL> INSERT /*+ domtest sql */ INTO t1 select 1 from dual;
    1 row created.
    SQL> select sql_id
      2  ,      substr(sql_text,1,30) sql_text
      3  ,      child_number c
      4  ,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  from   v$sql
      7  where  sql_text like 'INSERT /*+ domtest%';
    SQL_ID        SQL_TEXT                                C SIG                            SQL_PLAN_BASELINE
    gmskus7sbgt5d INSERT /*+ domtest plsql */ IN          0 7407988653257810022
    64rzqgrt63wzu INSERT /*+ domtest sql */ INTO          0 17374141102446297863
    64rzqgrt63wzu INSERT /*+ domtest sql */ INTO          1 17374141102446297863           SQL_PLAN_1ayk9a0wnr
    SQL> Baseline created for PLSQL statement:
    SQL> begin
      2  INSERT /*+ domtest plsql */ INTO t1 select 1 from dual;
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> select sql_id
      2  ,      substr(sql_text,1,30) sql_text
      3  ,      child_number c
      4  ,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  from   v$sql
      7  where  sql_text like 'INSERT /*+ domtest%';
    SQL_ID        SQL_TEXT                                C SIG                            SQL_PLAN_BASELINE
    gmskus7sbgt5d INSERT /*+ domtest plsql */ IN          0 7407988653257810022
    gmskus7sbgt5d INSERT /*+ domtest plsql */ IN          1 7407988653257810022            SQL_PLAN_5s3v02k7yx9
    64rzqgrt63wzu INSERT /*+ domtest sql */ INTO          0 17374141102446297863
    64rzqgrt63wzu INSERT /*+ domtest sql */ INTO          1 17374141102446297863           SQL_PLAN_1ayk9a0wnr
    SQL> Cleanup baselines:
    SQL> declare
      2   l_spm_op pls_integer;
      3  begin
      4   for x in (select sql_handle from dba_sql_plan_baselines b where created >= trunc(sysdate))
      5   loop
      6       l_spm_op :=
      7       dbms_spm.drop_sql_plan_baseline(x.sql_handle);
      8   end loop;
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL> So, I would expect that this is related to DBMS_MVIEW and a restriction on recursive, internal statements.
    For example, if you capture sql plan baselines you don't capture baselines for sys and system statements, etc.
    Further investigation required.
    For example, let's build an MV:
    SQL> create materialized view mv1
      2  build immediate
      3  refresh on demand
      4  as
      5  select /*+ domtest mv */ col1 from t1;
    Materialized view created.
    SQL> exec dbms_mview.refresh('MV1');
    PL/SQL procedure successfully completed.
    SQL> We see two statements from the initial creation of the MV and the subsequent refresh (the latter is the one with the BYPASS_RECURSIVE_CHECK hint).
    SQL> select sql_id
      2  ,      substr(sql_text,1,50) sql_text
      3  ,      child_number c
      4  ,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  from   v$sql
      7  where  sql_text like 'INSERT %domtest%';
    SQL_ID        SQL_TEXT                                C SIG                            SQL_PLAN_BASELINE
    ctyufr5b5yzfm INSERT INTO "RIMS"."MV1" selec          0 12798978218302414227
                  t /*+ domtest mv */
    gfa550uufmr34 INSERT /*+ BYPASS_RECURSIVE_CH          0 12927173360082366872
                  ECK */ INTO "RIMS"."
    SQL> Even if we repeat the refresh, we can't see to get a baseline:
    SQL> exec dbms_mview.refresh('MV1');
    PL/SQL procedure successfully completed.
    SQL> exec dbms_mview.refresh('MV1');
    PL/SQL procedure successfully completed.
    SQL> exec dbms_mview.refresh('MV1');
    PL/SQL procedure successfully completed.
    SQL> exec dbms_mview.refresh('MV1');
    PL/SQL procedure successfully completed.
    SQL> exec dbms_mview.refresh('MV1');
    PL/SQL procedure successfully completed.
    SQL> exec dbms_mview.refresh('MV1');
    PL/SQL procedure successfully completed.
    SQL> select sql_id
      2  ,      substr(sql_text,1,50) sql_text
      3  ,      child_number c
      4  ,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  from   v$sql
      7  where  sql_text like 'INSERT %domtest%';
    SQL_ID        SQL_TEXT                                C SIG                            SQL_PLAN_BASELINE
    ctyufr5b5yzfm INSERT INTO "RIMS"."MV1" selec          0 12798978218302414227
                  t /*+ domtest mv */
    gfa550uufmr34 INSERT /*+ BYPASS_RECURSIVE_CH          0 12927173360082366872
                  ECK */ INTO "RIMS"."
    SQL> So.... might that BYPASS_RECURSIVE_CHECK have anything to do with it?
    It's not likely to be relevant but perhaps we should just check it?
    Let's see what happens if we go back to our original plsql statement because we can't insert into an MV directly.
    SQL> begin
      2   INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO t1 select 1 from dual;
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> select sql_id
      2  ,      substr(sql_text,1,50) sql_text
      3  ,      child_number c
      4  --,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  from   v$sql
      7  where  sql_text like 'INSERT /*+ BYPASS_RECURSIVE_CHECK */%';
    SQL_ID        SQL_TEXT                                                    C SQL_PLAN_BASELINE
    6kjvr1gu6v2pq INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO T1 SELEC          0
    SQL> begin
      2   INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO t1 select 1 from dual;
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> select sql_id
      2  ,      substr(sql_text,1,50) sql_text
      3  ,      child_number c
      4  --,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  from   v$sql
      7  where  sql_text like 'INSERT /*+ BYPASS_RECURSIVE_CHECK */%';
    SQL_ID        SQL_TEXT                                                    C SQL_PLAN_BASELINE
    6kjvr1gu6v2pq INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO T1 SELEC          0
    SQL> begin
      2   INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO t1 select 1 from dual;
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> select sql_id
      2  ,      substr(sql_text,1,50) sql_text
      3  ,      child_number c
      4  --,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  from   v$sql
      7  where  sql_text like 'INSERT /*+ BYPASS_RECURSIVE_CHECK */%';
    SQL_ID        SQL_TEXT                                                    C SQL_PLAN_BASELINE
    6kjvr1gu6v2pq INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO T1 SELEC          0
    6kjvr1gu6v2pq INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO T1 SELEC          1 SQL_PLAN_aq62u7rqdfcs8125daea2
    SQL> So, nothing to do with that.
    I would suggest that it is because, being executed via DBMS_MVIEW, it is special and bypasses consideration for baselines.
    Can we somehow circumvent this?
    Perhaps, baselines being a pretty flexible vehicle that work off SIGNATURE (and PLAN_HASH_2).
    Let's double check the signature and plan hash we need to reproduce.
    SQL> select sql_id
      2  ,      substr(sql_text,1,50) sql_text
      3  ,      child_number c
      4  ,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  ,      plan_hash_value
      7  from   v$sql
      8  where  sql_text like 'INSERT %domtest%';
    SQL_ID        SQL_TEXT                                C SIG                            SQL_PLAN_BASELINE
    PLAN_HASH_VALUE
    ctyufr5b5yzfm INSERT INTO "RIMS"."MV1" selec          0 12798978218302414227
                  t /*+ domtest mv */
         3617692013
    gfa550uufmr34 INSERT /*+ BYPASS_RECURSIVE_CH          0 12927173360082366872
                  ECK */ INTO "RIMS"."
         3617692013
    SQL> And replace the materialized view with a table:
    SQL> drop materialized view mv1;
    Materialized view dropped.
    SQL> create table mv1
      2  (col1 number);
    Table created.
    SQL> And try to get a statement with the same signature and plan that does use a baseline:
    SQL> begin
      2   INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO "RIMS"."MV1" select /*+ domtest mv */ col1 from t1 ;
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> select sql_id
      2  ,      substr(sql_text,1,50) sql_text
      3  ,      child_number c
      4  ,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  ,      plan_hash_value
      7  from   v$sql
      8  where  sql_text like 'INSERT %domtest%';
    SQL_ID        SQL_TEXT                                C SIG                            SQL_PLAN_BASELINE
    PLAN_HASH_VALUE
    ctyufr5b5yzfm INSERT INTO "RIMS"."MV1" selec          0 12798978218302414227
                  t /*+ domtest mv */
         3617692013
    5n6auhnqpb258 INSERT /*+ BYPASS_RECURSIVE_CH          0 12927173360082366872           SQL_PLAN_b6tnbps6tn
                  ECK */ INTO "RIMS".
         3617692013
    gfa550uufmr34 INSERT /*+ BYPASS_RECURSIVE_CH          0 12927173360082366872
                  ECK */ INTO "RIMS"."
         3617692013
    SQL> Now if we drop and recreate the materialized view:
    SQL> create materialized view mv1
      2  build immediate
      3  refresh on demand
      4  as
      5  select /*+ domtest mv */ col1 from t1;
    Materialized view created.
    SQL> exec dbms_mview.refresh('MV1');
    PL/SQL procedure successfully completed.
    SQL> select sql_id
      2  ,      substr(sql_text,1,50) sql_text
      3  ,      child_number c
      4  ,      to_char(force_matching_signature) sig
      5  ,      sql_plan_baseline
      6  ,      plan_hash_value
      7  from   v$sql
      8  where  sql_text like 'INSERT %domtest%';
    SQL_ID        SQL_TEXT                                C SIG                            SQL_PLAN_BASELINE
    PLAN_HASH_VALUE
    dac4d22mf0m6k INSERT INTO "RIMS"."MV1" selec          0 12798978218302414227
                  t /*+ domtest mv */
         3617692013
    cn4syqz9cxp3y INSERT /*+ BYPASS_RECURSIVE_CH          0 12927173360082366872           SQL_PLAN_b6tnbps6tn
                  ECK */ INTO "RIMS"."
         3617692013
    SQL> And cleanup:
    SQL> drop table t1;
    Table dropped.
    SQL> drop materialized view mv1;
    Materialized view dropped.
    SQL> declare
      2   l_spm_op pls_integer;
      3  begin
      4   for x in (select sql_handle from dba_sql_plan_baselines b where created >= trunc(sysdate))
      5   loop
      6       l_spm_op :=
      7       dbms_spm.drop_sql_plan_baseline(x.sql_handle);
      8   end loop;
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL> So....
    Are baselines created for sql statements executed from PLSQL? Yes.
    Are baselines created for internal statements from DBMS_MVIEW? No.
    Why? Don't know. But I think it's expected behaviour.
    Is there a convoluted way of applying a baseline to the internal refresh statement? Yes.

  • Capturing sound samples

    hi , i need the best way to capture sound samples from an opened Microphone port
    is it by directly using a TargetDataLine and how ?
    and thanks

    Hope this program will help you.
    http://www.jsresources.org/examples/SimpleAudioRecorder.java.html

  • Capturing Sound with microphone

    I need code that will capture sound through a microphone, please help. Thank You.

    and can someone possibly explain this code for please:
              CaptureDeviceInfo di = null;
              Vector deviceList = CaptureDeviceManager.getDeviceList(
              new AudioFormat( "linear", 44100, 16, 2 ) );
              if ( deviceList.size() > 0 )
                   di = (CaptureDeviceInfo)deviceList.firstElement();
              Processor p = Manager.createRealizedProcessor(di.getLocator());
              DataSource source = p.getDataOutput();
              /*The source object returned from the Processor can then be turned into a Player
              *object by calling Manager.createPlayer().  To capture it to an audio file
              instead, a DataSink can take the data instead:/
              DataSink sink;
              MediaLocator dest = new MediaLocator("file://output.wav");
              try {
                        sink = Manager.createDataSink(source, dest);
                        sink.open();
                        sink.start();
              catch (Exception e)
              }

  • Capturing Sound

    Capturing Sound with Electro magnets
    https://www.reddit.com/3epdzn/
    https://www.reddit.com/3epf8t/
    https://www.reddit.com/3epghp/

    I've just finished transferring some vinyl to my eMac. I used the Sound Studio application that came with the eMac to do the transfer, and used ClickRepair to get rid of clicks. I haven't burnt the stuff to CD, but I'd probably use iTunes if I did.
    I can't comment on the pre-amp thing: I had my turntable connected to a receiver and cabled from Tape Rec to the eMac input jack.
    If you go to Audio Midi Setup in your Utilities folder and set it up as pictured here, you'll be able to monitor the sound through the eMac speakers or the headphones, if you want.
    eMac Combo 1GHz/1GB/60GB   Mac OS X (10.4.7)   CanoScan D646U, Canon iP1600, CrossFire 120GB, DSL, D-Link DI-624

  • Problems with the sound in Windows

    Hey everybody, hoping someone can help.
    I'm working with Cubase in Windows with my mac and i have problems with the sound, but not all the time.
    I have an M-Audio card connected and while i'm playing something in Cubase, the sound makes a digital distortion just for 10 seconds, and then again sounds perfect and then again comes back the digital crash, somekind of loop. So i was thinking that maybe was a problem with the drivers of my M-Audio card, but then i was playing a song in Winnamp with the built-in speakers and happens exactly the same, so i think it's a problem with the Mac drivers for Windows, i use the same audio card in MacOsX and i don't have problems
    I have tried various display settings. I have no idea if this is just me or a common problem.
    Thanks in advance...
    MacBook Pro 2.16 GHz Intel Core 2 Duo   Mac OS X (10.4.8)  

    This is not a BOOT CAMP Problem. It is a WINDOWS XP Problem. Either he didn't install the drivers for the sound card. (Which is Realtek High Definition Audio) or the Windows XP audio driver (WNMM) is corrupt.
    Go to Device manager and under Sound, Video and Game controllers you should see a little yellow question mark under the WNMM driver. If this is the case he needs to uninstall the driver and reboot. It will then reinstall itself and should work properly after that.
    MAC PRO   Mac OS X (10.4.9)  

Maybe you are looking for

  • Animated GIF in twitter app on Z30 not displayed

    When using the Blackberry twitter app and click on a tweet with an animated gif all I get is a blank screen. This used to work but just recently stopped. Any suggestions?

  • LR 5 won't open a catalog on my external HD due to "volume" issue

    Sorry for the length of this post. Just trying to get as much into to everyone early on. I recently purchased an MacbookPro laptop and downloaded LR 5.  I had been doing all my LR5 work on my iMac with my images and LR catalog on a Seagate external H

  • Custom dashed border

    Hello everyone. For a custom project I've created a PhotoViewer, that simply shows images and fades them in and out along with a title and some text. I wanted to create a dashed border to put around these images and created my own implementation of a

  • ICAN'T GO TO MY GMAIL.

    When I go to gmail, and enter my username and password I get the error message: ''The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem

  • HT4623 Como actualizar el software del IPAD, cuando te manda error?

    Como actualizar el software del IPAD, cuando te manda error?