Keith,
If your system had a sound card, it would be initialized at startup with nonzero values for volume etc. Without a sound card, no such initialization is possible. I have never tried using that capture method on a system without a soundcard, but I wonder if that failure to initialize a missing sound card might be your problem. I know of no volume settings in trplayer, which suggests that it relies on the settings it happens to find on your nonexistent card.
Chuck
On Thu, 16 Dec 2004, Keith Whyte wrote:
Given the recent spate of activity here on the list, please have a look at this repost of mine, which went unanswered, from a couple of months ago.
Thanks.
----------------------------------------------------------
i was trying to get trplayer to work with vsound and i get silence.
if i run vsound -f vsound.wav realplay i have to turn up the volume control (from 0) manually each time i start realplay, - then i get output in the vsound.wav file if i use trplayer i get silence as it seems the volume is set to 0 each time. note: There is NO SOUND HARDWARE in this linux box!!
(Volume=0 always appears in .RealNetworks_RealMediaSDK_60 after exiting realplay or trplayer.) There was some discussion about this ages ago on this list, and it does appear from the SDK docs that there is a volume control for the audiooutput in IRMAAudioStream / IRMAVolume::SetVolume() and there is also control for the device volume in IRMAAudioDevice::SetVolume()
I had a go at trying to code a call to SetVolume() in main.cc in trplayer, but i don't know enough about COM / C to get this to work. I have given up for the moment and am looking for another solution, but maybe some wizard out there who knows COM and the real SDK could have a look? I believe it would complete trplayer like i said, i don't code much and this is beyond me and i don't have time to learn COM right now, but if somebody could give me a hand to create an object for IRMAAudioStream so as i can call IRMAvolume::SetVolume(), i could figure it out from there and would be happy to code in, say command line switch for volume, and keys to control volume during playback.
btw, my goal here is to reencode a real stream to mp3 (icecast/shoutcast etc)
thanks Keith.
-- The Moon is Waxing Crescent (36% of Full) "Things are in the saddle, and they ride mankind." Ralph Waldo Emerson Personal site www.hhs48.com, Download site www.mhcable.com/~chuckh
