does it help if you change the periods_min from 1 to 2 if it has two
buffers ?
#define FM801_PLY_BUF1 0x0c /* Playback Bufer I */
#define FM801_PLY_BUF2 0x10 /* Playback Buffer II */
static struct snd_pcm_hardware snd_fm801_playback =
{
.info = (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME |
SNDRV_PCM_INFO_MMAP_VALID),
.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE,
.rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_48000,
.rate_min = 5500,
.rate_max = 48000,
.channels_min = 1,
.channels_max = 2,
.buffer_bytes_max = (128*1024),
.period_bytes_min = 64,
.period_bytes_max = (128*1024),
.periods_min = 1,
.periods_max = 1024,
.fifo_size = 0,
};
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/463685
Title:
FM801 sound chips doesn't play nice songs
Status in “alsa-driver” package in Ubuntu:
Confirmed
Bug description:
U9.10, i386.
FM801 chips, in PCI slot. Doesn't play nice sounds, hear problems,
like gaps in the test tone. Missed interrupt? Lost buffer? Bad timer?
ProblemType: Bug
Architecture: i386
CheckboxCommand: gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 !
audioconvert ! audioresample ! gconfaudiosink'
CheckboxData:
USB audio is OK.
FM801 audio is not OK, I hear gaps in the tone.
CheckboxDescription:
Click the Test button to play a sound on the automatically detected playback
device.
Do you hear a sound?
CheckboxTest: playback_auto
Date: Thu Oct 29 21:04:26 2009
DistroRelease: Ubuntu 9.10
Package: python-gst0.10 0.10.17-1
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: gst0.10-python
Tags: checkbox-bug
Uname: Linux 2.6.31-14-generic i686
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: FM801AU [ForteMedia FM801-AU], device 0: FM801 [FM801]
Subdevices: 1/1
Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC2: psl 1647 F.... pulseaudio
/dev/snd/controlC0: psl 1647 F.... pulseaudio
Card0.Amixer.info:
Card hw:0 'FM801AU'/'ForteMedia FM801-AU at 0xe000, irq 16'
Mixer name : 'SigmaTel STAC9704'
Components : 'AC97a:83847605'
Controls : 44
Simple ctrls : 29
Card1.Amixer.info:
Card hw:1 'UART'/'MPU-401 UART at 0x330, irq 10'
Mixer name : ''
Components : ''
Controls : 0
Simple ctrls : 0
Card1.Amixer.values:
Card2.Amixer.info:
Card hw:2 'SAA7134'/'saa7133[0] at 0xe7006000 irq 18'
Mixer name : 'SAA7134 Mixer'
Components : ''
Controls : 6
Simple ctrls : 3
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
PackageArchitecture: all
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
Tags: lucid
Uname: Linux 2.6.32-24-generic i686
UserGroups:
dmi.bios.date: 11/25/2002
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: 6.00 PG
dmi.board.name: SiS-745
dmi.chassis.type: 3
dmi.modalias:
dmi:bvnAwardSoftwareInternational,Inc.:bvr6.00PG:bd11/25/2002:svn:pn:pvr:rvn:rnSiS-745:rvr:cvn:ct3:cvr:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/463685/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp