Using Qt audio player (based on pulseaudio daemon) whit some problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Tanu.
> pacmd doesn't work with the system mode, but that's not a problem, just
> use pactl instead. pactl is better than pacmd anyway.
> If you stop pulseaudio, does "aplay -Dplughw:0,0 test.wav" work? If it
> doesn't, it's probably an alsa problem.

"pactl" works well.

But when I stop pulseaudio and use "aplay -Dplughw:0,0 xxx.wav", it just a little short voice:
"Playing WAVE 'VoiceFile/filem.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono"
It seems that aplay use a wrong format to play that.

Also, I'm using Qt to make a the project (e.g QSound, QSoundEffect are based on pulseaudio) and I want to play different audio files at the same time.But there are some problem

1. I found the voice had "electricity-noise"( I hope you can understand it :) )  when different QSoundEffects paly different files

2. The volume is mismatching(e.g.  QSoundEffect volume is from 0.0~1.0 , when I set more than 0.1 , the voice is changed to be biggest) 

3. When I play one audio file in loop with different volume in each time by QSoundEffect, the latest voice will remain a little last time voice

How to solve these problem? I have also reported them to Qt.

--
Regards
Mihan

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux