Re: IBasicAudio::put_volume() not working?

Tech-Archive recommends: Fix windows errors by optimizing your registry




"The March Hare [MVP]" <phil@xxxxxxxxx> wrote in message
news:h4xbly5hwgbb$.8zot83ab50ne.dlg@xxxxxxxxxxxxx
> On Wed, 16 Nov 2005 23:06:31 -0000, Simon O'Beirne wrote:
>
>
>>> Isn't this a little more elegant? (and 60% fewer code lines in the
>>> method)
>>
>> Yes :)
>
> Thanks :)
>
>> I was told about some sort of special com pointer the other day but
>> haven't
>> had the chance to look into it. is that the sort that free's itself when
>> not
>> needed,etc?
>> and sadly no.... i'm a student doing final year project... no money in
>> this
>> at all :(
>
> It's pretty simple. There's CComPtr and CComQIPtr. There's a bit about
> them on my FAQ. Almost always no Release required, less code and no
> mysterious bad reference counts.
>
>>> Shouldn't that be m_pGraph?
>>
>> bah :P i don't normally use hungarian... infact i wouldn't normally put
>> the
>> p on there, but i'm going by the tutorial/sample/etc so its easiest just
>> to
>> go with whats on there so when something goes wrong i can compare it a
>> bit
>> better :)
>
> I don't do Hungarian either but unless my memory is failing me the "m_"
> member notation is from Stroustrup. It has been a while since I've looked
> a the books.

Haha, i better tell my lecturer he's wrong then ;)

>
>>> Have you looked at your graph in GraphEdit using the ROT code?
>>>
>> Nope, never heard of it... :) i've only been using directshow 4/5 days :)
>
> There are examples of how to use the ROT in the samples in the SDK
> (search
> for the REGISTER_FILTERGRAPH defines).

Found it and used it... very nice thanks, much better for my debugging now!

>
> However, Chris is probably correct as usual that the hw or driver is not
> providing the ability to change the volume.

Any ideas on how to change the volume if that is the case?

>
> Have fun :)

Thanks :)

>
> --
> Please read this before replying:
> 1. Dshow & posting help: http://tmhare.mvps.org/help.htm
> 2. Trim & respond inline (please don't top post or snip everything)
> 3. Benefit others: follow up if you are helped or you found a solution


.



Relevant Pages

  • Re: IBasicAudio::put_volume() not working?
    ... >> Isn't this a little more elegant? ... > I was told about some sort of special com pointer the other day but haven't ... I don't do Hungarian either but unless my memory is failing me the "m_" ... >> Have you looked at your graph in GraphEdit using the ROT code? ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: sorter script [was: Frustrated newbie question]
    ... was from the "perldoc -q sort" as a way of ... most 'elegant' of looking algorithms. ... that bogged the database engine down. ... was due to bad implementation on the db engine. ...
    (perl.beginners)
  • Re: Last question for awhile...
    ... It just seems like a sort of loophole way of solving the problem rather ... that stores those values and then use a different row source type of ... Curious to know why in your estimate it is "not an elegant solution". ...
    (comp.databases.ms-access)
  • Re: overheating Amstrad Sky+ box
    ... quality. ... someone suggest an elegant way of adding a fan to the box to aid its ... me a working Amstrad box or decide it'll be cheaper for them to sort out an alternative. ...
    (uk.tech.tv.sky)
  • Re: sorting a list and counting interchanges
    ... > I have to sort a list, but in addition to the sorting, I need to ... > rangeof the same length, sorting that, and then counting the number ... > and there's *got* to be a more elegant way. ... # count the number of cycles to determine the sign. ...
    (comp.lang.python)