coolducky
06-11-2013, 11:35 PM
Hi there,
I'm trying to build a simple audio capture program in Delphi with a compressor ( in this case QDesign MPEG) to capture directly to mpeg2-audio, but I can't find how to set the codec's bitrate. I want it to be set to 48K, 256 kbps. Now it only captures in 256 kbps if I set it in another audio program.
I've connected: ALDSAudioin1 > ALDSAudioLogger1
In ALDSAudiologger1 I've selected the codec as compressor and capturing works fine. But the params options says [No Config]. The codec has no dialog.
In GrapheditPlus (filtergraph editor) I can set the output format through IAMStreamConfig::SetFormat
Is there a way to set or enumerate and select these codec properties in Audioloab?
(aldsaudiologger1.Compression.Compressions.Items[0].???).
Any help, solutions or samples to capture audio with a compressor and bitrate/samplerate settings are welcome!
Best regards,
Paul
I'm trying to build a simple audio capture program in Delphi with a compressor ( in this case QDesign MPEG) to capture directly to mpeg2-audio, but I can't find how to set the codec's bitrate. I want it to be set to 48K, 256 kbps. Now it only captures in 256 kbps if I set it in another audio program.
I've connected: ALDSAudioin1 > ALDSAudioLogger1
In ALDSAudiologger1 I've selected the codec as compressor and capturing works fine. But the params options says [No Config]. The codec has no dialog.
In GrapheditPlus (filtergraph editor) I can set the output format through IAMStreamConfig::SetFormat
Is there a way to set or enumerate and select these codec properties in Audioloab?
(aldsaudiologger1.Compression.Compressions.Items[0].???).
Any help, solutions or samples to capture audio with a compressor and bitrate/samplerate settings are welcome!
Best regards,
Paul