"T.J. Duchene" writes:
> Good morning, Martin!
> 
> 
> Before I can make suggestions, I need to know if you are using a daemon
> such as Jack or PulseAudio or if you are using ALSA directly.
> 
> 
> Thanks,

I am using pulseaudio and alsa. Normally, if I am listening to
something it is through mplayer but aplay also is effected by
the problem.
        It seems that any high-quality audio application now is
showing the glitches.
As an example, I wrote a C program a few years ago that turns
the sound card in to a variable-length audio delay. When OSU has
a football game on both TV and radio, we want to hear our home
sports announcers and see the game on TV. Usually, the radio is
10 to 20 seconds ahead of the video and my trusty delay makes it
possible to get them both synced. The card is set to a 32000
sample-per-second rate and /dev/dsp is opened for writing at the
start of the program. The read pointer is set to a character in
the buffer that is far enough away to equal the needed delay.
the write and read pointers chase each other round and round the
buffer.
        I can now hear the glitches on that application, also.
        A hint to the wise, if you write a delay like this you
had better write half-level silence values to the ring buffer
when initializing the program or you will hear seconds of
extremely loud static thundering out of the speakers until the
read pointer finally sees output from the sound card. With the
initialized buffer, you hear nothing until sound comes out.

Martin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140918155811.a3e2522...@server1.shellworld.net

Reply via email to