From: Bruce Paterson <bruce@tele-ip.com>
To: alsa development <alsa-devel@lists.sourceforge.net>
Subject: Half Speed on rc6 ?
Date: Mon, 25 Nov 2002 18:36:57 +1100 [thread overview]
Message-ID: <3DE1D319.5040308@tele-ip.com> (raw)
In-Reply-To: 3DDC7711.1000804@tele-ip.com
Bruce Paterson wrote:
> Thanks for your reply Daniel.
>
> Daniel Haus wrote:
>
>>> Behaviour:
>>> The output sound is perfect for about 2 minutes. After that every now
>>> and then I get "distortion" in the audio. No xruns or errors are
>>> reported in the software. It sounds like only part of the output
>>> buffer is correct (the general gist is right, but there's crap and
>>> warbles there as well).
>>
>>
>>
>> this might not be caused by your app, this could be an alsa-problem.
>> i did not do any more testing, but about 24 hours ago i upgraded to
>> 0.9.0-rc6 and had no problems since then, but that might not mean
>> anything ...
I have now tried 0.9.0rc6 and something VERY weird has happened.
Suddenly the sample rate appears to have halved. A previous 600Hz tone
now is 300Hz and everything takes twices the time to output.
Surely this is a bug that has crept in.
Has anyone else at all used rc6 on the EWS88 and had it work ok ?
Distortion still appears on subsequent runs, but seems to have changed
its nature a bit. It now sounds like "sand sprinkled on the speaker"
coming & going. It never happens during the 1st run.
-----------------------------------------------------------------------
Message History:
I have a simple alsa application I have developed that isn't behaving
quite properly. I mentioned this before, but I have since upgraded to
alsa 0.9.0rc5. Similar problem !
Please let me know if I'm sending thist to the wrong place and where it
should go instead.
There are mutterings about the place about reverting to a Windows
development (but frankly it was far worse in other ways). Please help
save me ! I have run out of ideas how to proceed (gdb is not going to
help with a random problem like this).
My setup:
alsa 0.9.0rc6
mandrake 8.1
no realtime extensions (no xruns so not required)
ice1712 module with EWS88 sound card
direct hw:0,0 interface (no plugin)
output on 2 channels, input on 4 direct to/from memory
sample rate 96k, buffer size maximum EWS88, period size = buffersize/8
32 bits
interleaved to non-interleaved done by my code since plug-in didn't
behave originally (this may be historical now).
Behaviour:
The output sound is perfect for about 2 minutes. After that every now
and then I get "distortion" in the audio. No xruns or errors are
reported in the software. It sounds like only part of the output buffer
is correct (the general gist is right, but there's crap and warbles
there as well).
It makes no difference whether I stop the soundcard and restart or
whether I keep the soundcard going continueously (feed it 0's whilst
I'm restarting my user buffers), the distortion always starts
happeneing. Even restarting the application makes no difference which
leads me to suspect some ememory in the alsa driver.
Waiting about 1 minute before starting again fixes the problem for the
~2 minutes again.
Playing back to back WAV files with aplay doesn't result in the
distortion (it is something unique to my application...therefore I'm
using the API incorrectly somehow !)
[Source code snippet in original email]
--
Cheers,
Bruce
-------------------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager.
/\\\/\\\/\\\ / / Bruce Paterson
/ \\\ \\\ \\\ / / Senior Design Engineer
/ /\\\/\\\/\\\/ / 87 Peters Ave, Mulgrave, Vic, 3170
/ / \\\ \\\ \\\ / PO Box 4112, Mulgrave, Vic, 3170, Australia
/ / \\\/\\\ \\\/ Ph: +61 3 8561 4232 Fax: +61 3 9560 9055
Tele-IP Ltd. Email: bruce@tele-ip.com Icq: #32015991
WWW: http://www.tele-ip.com VK3TJN
-------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-11-25 7:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-21 0:57 Plea to help save me from Windows !!! Bruce Paterson
2002-11-21 2:06 ` Daniel Haus
2002-11-21 6:02 ` Bruce Paterson
2002-11-25 7:36 ` Bruce Paterson [this message]
2002-11-25 12:02 ` Half Speed on rc6 ? Jaroslav Kysela
2002-11-26 0:41 ` Bruce Paterson
2002-11-27 7:23 ` Am I asking the right people ? Bruce Paterson
2002-11-27 9:46 ` Jaroslav Kysela
2002-11-28 15:51 ` Takashi Iwai
2002-12-02 14:57 ` Takashi Iwai
2002-11-27 13:24 ` Paul Davis
2002-11-27 7:48 ` James Courtier-Dutton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DE1D319.5040308@tele-ip.com \
--to=bruce@tele-ip.com \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.