This unit contains the TAudioPass component.
| AudioPass | This unit contains the TAudioPass component. |
| TAudioPass | A TAuConverter descendant which plays sound passing through it. |
| Properties | |
| DeviceCount | This read only property returns the number of logical DirectSound output devices. |
| DeviceName | This read only array property returns the name of the device specified by Number. |
| Underruns | This read only property returns the number of internal buffer underruns that have occured during playback. |
| BufferSize | Use this property to set the component’s internal buffer size if the defult one doesn’t suit you. |
| DeviceNumber | Use this property to select the playback device by number. |
| Mute | If this property is set to True the component doesn’t play audio, but just lets it pass through. |
A TAuConverter descendant which plays sound passing through it. Technically, it’s a converter, as it sits between input and output components in the audio chain. But since its purpose is simply to play sound, it passes the sound stream unchanged. You can use this component if you want to listen to the sound being processed. For an example look at the Rip’n’Listen Demo.
| Properties | |
| DeviceCount | This read only property returns the number of logical DirectSound output devices. |
| DeviceName | This read only array property returns the name of the device specified by Number. |
| Underruns | This read only property returns the number of internal buffer underruns that have occured during playback. |
| BufferSize | Use this property to set the component’s internal buffer size if the defult one doesn’t suit you. |
| DeviceNumber | Use this property to select the playback device by number. |
| Mute | If this property is set to True the component doesn’t play audio, but just lets it pass through. |
This read only array property returns the name of the device specified by Number.
An integer ranging from 0 to DeviceCount -1.
Use this property to select the playback device by number. The default value is 0 which corresponds to the default audio output device in your system. Values range from 0 to DeviceCount - 1
If this property is set to True the component doesn’t play audio, but just lets it pass through. Target audio operations usually go faster in Mute mode, since when the component plays sound, audio data is passed along the chain at playback speed. You can change the value of Mute while the component is processing audio.