Re: Sound glitch when using libvorbisfile and libao
Gunter Königsmann <[email protected]> Sun, 14 Jun 2015 09:51:56 +0200
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1021573224==
Content-Type: multipart/alternative; boundary="=-PLkdKXbuEss/H/Zx5b5m"
--=-PLkdKXbuEss/H/Zx5b5m
Content-Type: text/plain; charset=utf-8; format=flowed
Dear Marshall,
I spent most of yesterday finding out that wxWidget's wxStringArray
sometimes drops whitespace in a new entry depending on the character
the last entry ended with - so I know what you mean. But your code
looks clean and after listening to the bell for what felt too long I
started using your program as a regular audio player.
I too assume the problem lies in the audio driver your soundcard is
using and has to be triggered by using some exact timing. One potential
way to test for this would be keeping the audio driver active between
running instances of your program: You said the problem always turns up
when starting the playback. Is it possible for you to constantly play
back silent audio in the background while testing? Alsa can be
configured to automatically mix all streams that are being played back
simultaneously and the sound servers all support this feature, too.
Kind regards,
Gunter.
--=-PLkdKXbuEss/H/Zx5b5m
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Dear Marshall,<div><br></div><div>I spent most of yesterday finding out tha=
t wxWidget's wxStringArray sometimes drops whitespace in a new entry depend=
ing on the character the last entry ended with - so I know what you mean. B=
ut your code looks clean and after listening to the bell for what felt too =
long I started using your program as a regular audio player.</div><div>I to=
o assume the problem lies in the audio driver your soundcard is using and h=
as to be triggered by using some exact timing. One potential way to test fo=
r this would be keeping the audio driver active between running instances o=
f your program: You said the problem always turns up when starting the play=
back. Is it possible for you to constantly play back silent audio in the ba=
ckground while testing? Alsa can be configured to automatically mix all str=
eams that are being played back simultaneously and the sound servers all su=
pport this feature, too.</div><div><br></div><div>Kind regards,</div><div><=
br></div><div> Gunter.</div>=
--=-PLkdKXbuEss/H/Zx5b5m--
--===============1021573224==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Vorbis-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/vorbis-dev
--===============1021573224==--