How to tell what type of sample is requested by MediaStreamSource.SampleRequested?

MediaStreamSource.SampleRequested handler gets MediaStreamSourceSampleRequestedEventArgs which has s StreamDescriptor.
The StreamDescriptor has property Name, but it does not seem to work.  When the MediaStreamSource is created, both VideoStreamDescriptor and AudioStreamDescriptor have their Name property set, but Name is null in the SampleRequested handler.
Hong

I think check the object type (e.g. if (args.Request.StreamDescriptor is VideoStreamDescriptor)...) is a hack. This will not work if there are more than one streams of the same type (e.g. audio).  I would still like to know the official
way of doing this. I am also curious about the usage of the Name property.
Hong

Similar Messages

  • How to tell what type of dump?

    Hi,
    I was given a backup file EXPDAT.dmp to be loaded at my test database.
    It was not indicated what type of export created this dump.
    How do I know if it is at output of exp or expdp?
    Thanks a lot

    thanks,
    I already granted access permission. but I got new error:
    C:\>impdp system/manager directory=exp_dir dumpfile=DEVO_CISADM_EXPDP_042011.dmp sqlfile=a.sql
    Import: Release 11.1.0.7.0 - Production on Friday, 06 May, 2011 16:56:05
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Produc
    tion
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-39142: incompatible version number 3.1 in dump file "e:\DEVO_CISADM_EXPDP_042011.dmp"

  • How can you tell what type of Iphone I have from the model number or serial number from the settings menu

    how can you tell what type of Iphone I have from the model number or serial number from the settings menu?

    Type Serial Number from Settings App here https://selfsolve.apple.com/agreementWarrantyDynamic.do it will tell you the type of iPhone.

  • How can you tell what type of credits you have?

    My iTunes account shows that I have 4 credits on the top right of iTunes but I can't tell what type of credits I have.  I have sent numerous emails to Apple iTunes support and they just keep telling me that it should say 1 song credit or 1 TV episode credit, etc. but all it says are 4 credits so I can't tell what the credits are for?  Can someone help?  I have the latest version of iTunes for Windows on a Windows 7 PC.

    I updated QuickTime and now the top right under my name displays the number of credits and the types of credits.  Prior to this update, it only showed the name.

  • What types of samples are included with the EXSP?

    I'm considering purchasing Logic Express, but wanted to know what types of samples (orchestral, synth, drum, keyboard, etc) are included with the EXSP player. Can anyone owning Logic Express tell me what types of samples are included?
    Mac G5   Mac OS X (10.3)  

    Hello, Jeb247.
    This is merely a matter of personal opinion, but I believe that the included samples for EXSP are among the better features of the program. Granted, there are some cases where you have several instruments loosely based on the same samples run through different filters, but you are likely to find a decent array of what you need.
    You get all the Garageband instruments, as well as the ability to load the Jam Packs into EXSP. While the following list probably contains some overlap with those samples, it will still give you an idea of what's out there:
    The top-level hierarchy lists 41 different groups of sounds. After each listing, I'll note the approximate number of 'instruments' in each group:
    Piano (10)
    Guitars (11)
    Bass (5)
    Strings (9)
    Horns & Winds (9)
    Ethnic Instruments (2)
    Voices & Choir (3)
    Drum Kits (12)
    Effects(~50)
    Percussion & Specials (2)
    Analog: Bass (45), Leads (20), Pads (17), Percussive Waves (44), SpectrumSQ (25), Sweeps (30), Synthcomp (33), Waveforms (50+)
    Digital Chromatic Kits (12), Initial Waveforms (60+), Motion & FX (36), Pad Synths (46), Percussive Waves (23), Synths (31)
    FM Bass (17)
    Synth Atmospheres Layers (31), Singles (40)
    Synth Bass (45), Brass (12), Chords (21), Leads & Hooks (30), LFO Synths (21), Multi Sequence (6), Pads (44), Percussive Synths (44), Poly (28), Sidechain Chords (14), Spacious Effects (40), Strings (16), Sweeps & Swells (32), Vocalish (25)
    Now, as to the quality of the sounds... your mileage may vary. For orchestral stuff, nothing appeals to my ears like the Kurzweil -- largely because of those smooooooooooth output filters. That's not to say that the EXSP stuff isn't worth checking out; I just happen to use it for electronic textures and percussion rather than acoustic emulations. The drums simply don't cut it for me -- not nearly enough punch. But -- as I've mentioned before, you ears may report different pleasure levels.
    Suffice it to say that the EXSP comes with a substantial array of music-making potential. For the money (a freebie w/ Logic Express) it's a really good deal. Shortcomings in its sound set can be overcome by the careful purchase of additional material where your ears report unsatisfactory sounds. If you don't like the drums, iDrum or Battery might be a good idea (or my personal favorite: an outboard drum machine with dead-short latency...); if the orchestra stuff is weak, there are alternatives there, too.
    And your options for synth textures are beyond counting -- though I can specifically recommend the utterly astounding (and free!) Alphakanal "Automat". And you can have a pile of fun with the (equally free) NUSofting daHornet. And... and... the list goes on.
    Cheers,
    Michael

  • How to tell what codec has been used??

    Hi
    Just wondering how to tell what codec a particular video clip has been encoded in? I cannot see it anywhere in bridge. after fx dos it for some but not all clips.
    cheers
    angus

    if you're using Loader to load the swfs, you could examine e.contentLoaderInfo.url to see which swf it is

  • How to tell what packages have recently run

    Occasionally, after start up, I'll see something that looks like a package that quickly runs.  I have no idea where to look for information to figure out what ran.  I've ran searches trying to find out how to tell what packages have recently run but have not found anything useful.  If anyone knows or has any ideas on what I can do to figure that out, I'd love the help.

    You are welcome. Based on my experiences, the only time I look at Console is when something is not working. You could get overly engrossed trying to figure out what everything means.

  • How to tell what has been downloaded/installed on iphone 4s

    how to tell what has find and read hidden log filesa/programs on iphone 4s

    Again, it's not universal. It's not a feature of any cell phone I've ever seen in the U.S. And, it's not a feature of the iPhone.
    Submit feedback to Apple requesting such a feature here:
    http://www.apple.com/feedback

  • Icloud has has exclamation but I don't know how to tell what the error is?  I recently selected bookmarks for syncing.

    icloud has has exclamation but I don't know how to tell what the error is?  I recently selected bookmarks for syncing.

    TM will show it has done a backup.. Look at the info.. when was the backup completed??
    If you want more details install the widget.
    A1 here.
    http://pondini.org/TM/Troubleshooting.html
    The time capsule though blinks amber and the Airport Utility shows blinking amber light and has a red circle with the number 1 in it.
    There is an error.. probably trivial.. firmware update, default password..
    Open the airport utility and find out what the error is.
    Simply click the TC and see status in the summary page.. it will list all the errors and what you should do.. fix or ignore them. ie this TC has an error.. default password.. I chose to ignore.. when I "fix" the problem the LED goes green.
    Here is additional TC.. it is blinking amber with faults.
    Click the fault. eg default password.
    You can ignore or edit .. if you click edit it will take you to the full setup where you can change the settings.
    I ignored my errors and now it is green..

  • How to tell what template is applied to a Framemaker file?

    I'm new to Framemaker...so please excuse if this is a silly question.
    We are trying to figure out how to tell what template has been applied to a Framemaker file. We are using the structured view in Framemaker 7.2.
    Perhaps I am thinking too much like a Microsoft Word user -- in which case I can look at what template has been applied to a document.
    Does Framemaker work the same way -- or are templates associated with Framemaker files in some other way?
    Thank you --
    J-Ha

    J-Ha,
    FrameMaker works differently. Strictly speaking, there is no way to tell which template was used last. A FrameMaker template is just a FrameMaker document which you call "template". Using File > Import > Formats you can import all or selected formats from one document to another. The main benefit: Each document is completely self-contained and does not require any other document.
    Many solutions I know of include a user variable named something like "template-version" into their template document or put the version information on one of the reference pages. When importing user variables or reference pages, this can tell you version imported last.
    - Michael

  • How to tell what fonts are missing in a Photosohp CS5 document?

    Hello!  I have received some work from a graphic designer.  I need to modify some of the text in the document.  When I open the document I get an error message:
    Some text layers might need to be updated before they can be used for vector based output.  Do you want to update these layers now?  [Update] [No]
    If I click [Update] it replaces the font with Myriad Pro.  If I click [No] the text looks the way the designer intended, but I have the exclamation mark-triangle symbol over the layer with the text.  If I try to edit the text I get another warning:
    Editing or rendering the text layer "Text Layer" will cause its layout to change.  Continue?  [Cancel]  [OK]
    The same behavior described above occurs.  If I click [Cancel] I obviously can't edit the text.  If I click [OK] it changes the font to Myriad Pro.
    I would like to determine what font the layer is using.  I could swear that previous versions of Photoshop would tell me what fonts were missing when I opened a document.  I can't use the text tool to select the text without it changing the font.  Other posts have mentioned using the text tool to look at the text drop-down to find a greyed-out font which indicates the missing font.  I do not have that.  I only have perhaps 200 fonts installed.  Can anyone tell me how to determine what fonts a .PSD document is using?  I would prefer not to bug the graphic designer if possible.  Thanks much!
    ~ Dan

    Not sure why you are getting ""Font is present on the system but requires a layout change.", usually you do not get that instead the name of the font shows.
    We use extensis Universal Type Client, so the fonts load automatically upon opening files, and never really get missing fonts in Photoshop.
    Actually fontbook has auto font loading if you want to give that a try. Fontbook >> Preferences

  • How to tell what version of Acrobat or Reader was last used to save a PDF

    How can I tell what version of Acrobat or Reader was last used to save a PDF file? My users are using fillable forms from grants.gov. We want them to use Adobe Reader 8.1.3 to fill these forms, but some accidentally use the Pro version of Acrobat. They need this to make PDFs from Word & other apps, but Pro will corrupt the fillable forms.
    When I open a saved form in Reader 8.1.3 and click File > Properties it says Acrobat 7.x even though I know it was saved with 8.1.3.
    Is there a way to know which version number and type (Reader or Pro) last saved a PDF?

    But it won't tell you what was used last. It just gives the original information.
    It also won't differentiate between Pro and Standard and of course won't mention Reader at all.

  • How to find what type of middleware product we are using in SAP CRM ?

    Hello All,
    Ca anyone help me in getting the information  for the following :
    1) How to find out what type of middleware product we are using in our Project? ( Currently our SAP CRM version is 4.0 and the middleware is using for R/3 to SAP CRM and vice versa)
    2) Do we have a product called u201CMessaging wareu201D used in SAP ?
    Kindly revert at the earliest .
    Cheers
    Sreedhar

    Hi Sreedhar,
    What you've mentioned is exactly the task of CRM Middleware, which sits on the CRM server and governs the data flow.
    By any chance are you trying to find out about DOE(Data Orchestration Engine) used by SAP NetWeaver Mobile ?
    maybe this link would help then:
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/7f/c9391404c74fabb8ccc321bac64e8d/content.htm
    -Rohit

  • How to tell what version of a document the workflow ran against?

    I am using the OOB Approval workflow and in the workflow information I see a Document field, but that links latest version of the document. How can I tell what version of the document the workflow actually ran against?

    Hi,
    Set a variable in the workflow to be equal to the version of the document.
    Now you can use this variable to update a column in the document library with the version and date the workflow was ran. Next time the workflow runs, update this column with next run details.
    OR write this variable to workflow history. Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • How to tell what OSX I have, while booted into BootCamp

    Hello everybody.  I'm currently booted into my Windows BootCamp partition, but have read access to the OSX partition.  How can I tell what version of OSX I have while staying booted into my BootCamp Windows session.  Is there a file I can look at on the OSX partition that has this info?
    I know the easy answer is to boot into the Mac side and just look in About This Mac, but I can't reboot right now.

    Open the file /System/Library/CoreServices/SystemVersion.plist in any text editor. If needed, copy it to the Windows partition and change the copy's extension to txt.
    (69764)

Maybe you are looking for

  • How many lies can BT tell in one phone call?

    Yesterday I had extremely slow broadband (dropping to 0.2Mbps)  I phoned the people in India who imformed me that this was due to engineers upgrading my exchange.  I questioned why they would be doing this work at 6:20 on a saturday night and was tol

  • Xquery: Element to Attribute Mapping - remove empty attribute tags

    Hi, I have a requirement to map source schema xml elements to target schema xml element attributes i have done it like below <Spd minimumvalue = "{ xs:decimal(data($Test/*:A)) }" maximumvalue = "{ xs:decimal(data($Test/*:B)) }" averagevalue = "{ xs:d

  • T code for inv output type

    Hi all, We have 2 SD inv type - standard output and attachment required. Can anyone tell me what transaction code would allow us to create others? Thanks Ciara

  • SLES sp3 w/OES11 sp2 media upgrade reboot to cursor

    Pre-upgrade Sles 11 SP2, OES11 SP1, VMware 5.1 essentials on an Gen 8 HP Proliant DL380, plenty of RAM and CPU I ran the upgrade media on a test server and everything seemed to go fine a couple of weeks ago. My school district is on spring break, so

  • Deleted Federated Gateway

    Hi, I have been having an issue with Exchange 2010 federation that I hope someone can help me with. I am trying to setup free/busy and calendar sharing with an external organisation.  I had some problems with it and decided to delete everything and s