TStockAudioRecorder: how to change source of sound recording

Post here your experiences, comments, suggestions, or bug reports regarding to the DELPHI AREA products. Not-matching topics will be moved or deleted.

TStockAudioRecorder: how to change source of sound recording

by dpdelphi » 28/01/09 16:23

Hi sir,

When use TStockAudioRecorder, how to change source of sound recording, I need control which sound source to record, such as cd / line-in / wave-out? I had tried one day, but can't find answer, please help me, thank you very much.
dpdelphi
Active Member
Active Member
 
Posts: 6
Joined: 28/01/09 13:30

Re: TStockAudioRecorder: how to change source of sound recording

by Kambiz » 28/01/09 16:27

Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1676
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: TStockAudioRecorder: how to change source of sound recording

by dpdelphi » 29/01/09 00:47

I want to select the cmSrcWaveOut, but it seem can't work, I use XP/delphi 2009 and Wave Audio Package Version 1.89:

Code: Select all
AudioMixer.DestinationID:=1;
for LineID := 0 to AudioMixer.LineCount - 1 do
    if (AudioMixer.Lines[LineID].ComponentType = cmSrcWaveOut) then
    begin
      AudioMixer.Master.SelectedLine := LineID;
    end;


Thank you.
dpdelphi
Active Member
Active Member
 
Posts: 6
Joined: 28/01/09 13:30

Re: TStockAudioRecorder: how to change source of sound recording

by dpdelphi » 29/01/09 01:23

I use "SNDVOL32.EXE /R" command to check which recording source is selected. I want to change the recording source to "Wave Out", Thanks.
dpdelphi
Active Member
Active Member
 
Posts: 6
Joined: 28/01/09 13:30

Re: TStockAudioRecorder: how to change source of sound recording

by Kambiz » 29/01/09 09:42

Did you try cmDstWaveIn?
Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1676
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: TStockAudioRecorder: how to change source of sound recording

by dpdelphi » 29/01/09 13:24

cmDstWaveIn can't work



I want to use TStockAudioRecorder to record the wave-out. the default recording source is cd, so I need use code to change source of sound recording, Thank you.
dpdelphi
Active Member
Active Member
 
Posts: 6
Joined: 28/01/09 13:30

Re: TStockAudioRecorder: how to change source of sound recording

by Kambiz » 29/01/09 18:24

Use Mixer Control (SoundManager) demo to find out which control works as you expect. Then, you have to modify or debug the demo to find which ControlType you should look for.
Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1676
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: TStockAudioRecorder: how to change source of sound recording

by dpdelphi » 01/02/09 02:53

SoundManager can't show "volumn" and "select" checkbox, why?
dpdelphi
Active Member
Active Member
 
Posts: 6
Joined: 28/01/09 13:30

Re: TStockAudioRecorder: how to change source of sound recording

by Kambiz » 01/02/09 08:29

What do you mean "can't show"? No control at all, or what you are looking for?
Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1676
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: TStockAudioRecorder: how to change source of sound recording

by dpdelphi » 01/02/09 10:36

I can compile and run SoundManager, but every Line "volumn" and "select" checkbox is invisible.
dpdelphi
Active Member
Active Member
 
Posts: 6
Joined: 28/01/09 13:30

Re: TStockAudioRecorder: how to change source of sound recording

by Kambiz » 03/02/09 09:40

I have no idea what's going on.

I have attached the executable of sound manager demo. Maybe you can discover the problem using it. :?
You do not have the required permissions to view the files attached to this post.
Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1676
Joined: 07/03/03 19:10
Location: Tehran, Iran


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 0 guests