Re: IBasicAudio::put_volume() not working?
- From: "Simon O'Beirne" <simon@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 17 Nov 2005 09:31:02 -0000
"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
.
- Follow-Ups:
- Re: IBasicAudio::put_volume() not working?
- From: The March Hare [MVP]
- Re: IBasicAudio::put_volume() not working?
- References:
- IBasicAudio::put_volume() not working?
- From: Simon O'Beirne
- Re: IBasicAudio::put_volume() not working?
- From: The March Hare [MVP]
- Re: IBasicAudio::put_volume() not working?
- From: Simon O'Beirne
- Re: IBasicAudio::put_volume() not working?
- From: The March Hare [MVP]
- Re: IBasicAudio::put_volume() not working?
- From: Simon O'Beirne
- Re: IBasicAudio::put_volume() not working?
- From: The March Hare [MVP]
- IBasicAudio::put_volume() not working?
- Prev by Date: DirectSound3D 'plok' if sound passes from back to front
- Next by Date: Re: IBasicAudio::put_volume() not working?
- Previous by thread: Re: IBasicAudio::put_volume() not working?
- Next by thread: Re: IBasicAudio::put_volume() not working?
- Index(es):
Relevant Pages
|