Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPU2-X, PortAudio ALSA output mutes itself at random #844

Closed
OrdinaryMagician opened this issue Sep 22, 2015 · 6 comments
Closed

SPU2-X, PortAudio ALSA output mutes itself at random #844

OrdinaryMagician opened this issue Sep 22, 2015 · 6 comments

Comments

@OrdinaryMagician
Copy link

I'm on Arch Linux x64. PCSX2 built from latest commit as of writing this.

It seems that when using ALSA output with PortAudio, sound will just mute itself until I reload the plugin, sometimes almost immediately, other times after less than a minute. What I find strange is that there is nothing in the log, nothing in stdout/stderr, it just happens without any warnings or errors.

If it's relevant, I have integrated Intel HD Audio and here's my asound.conf, which may or may not have any impact on this.

@gregory38
Copy link
Contributor

Try SDL output.

@OrdinaryMagician
Copy link
Author

SDL output works perfectly fine, at least for SDL 1.2. With SDL2 I get choppy sound.

@gregory38
Copy link
Contributor

I just fixed SDL2 normally. PortAudio doesn't support pulseaudio which is now the linux standard. It could be related.

@OrdinaryMagician
Copy link
Author

I don't even use pulseaudio or have it installed anyway, but I guess I'll switch to SDL2 now.

@Shoegzer
Copy link

Hello, I'm seeing the same issue on my end, even after upgrading to the latest PPA dated yesterday with SDL2 fixes. Gregory, I've posted my SPU2-X config here for reference as you requested, hope it helps.

[SOUNDTOUCH]
SequenceLengthMS=30
SeekWindowMS=20
OverlapMS=10
[MIXING]
Interpolation=4
Disable_Effects=0
DealiasFilter=0
FinalVolume=100
AdvancedVolumeControl=0
VolumeAdjustC\(dB\)=0
VolumeAdjustFL\(dB\)=0
VolumeAdjustFR\(dB\)=0
VolumeAdjustBL\(dB\)=0
VolumeAdjustBR\(dB\)=0
VolumeAdjustSL\(dB\)=0
VolumeAdjustSR\(dB\)=0
VolumeAdjustLFE\(dB\)=0
[OUTPUT]
Output_Module=SDLAudio
Latency=120
Synch_Mode=0
[PORTAUDIO]
HostApi=ALSA
Device=default
Wasapi_Exclusive_Mode=0
Minimal_Suggested_Latency=1
Manual_Suggested_Latency_MS=20
[DEBUG]
Global_Enable=0
Show_Messages=0
Show_Messages_Key_On_Off=0
Show_Messages_Voice_Off=0
Show_Messages_DMA_Transfer=0
Show_Messages_AutoDMA=0
Show_Messages_Overruns=0
Show_Messages_CacheStats=0
Log_Register_Access=0
Log_DMA_Transfers=0
Log_WAVE_Output=0
Dump_Info=0
Dump_Memory=0
Dump_Regs=0
Access_Log_Filename=SPU2Log.txt
WaveLog_Filename=SPU2log.wav
DMA4Log_Filename=SPU2dma4.dat
DMA7Log_Filename=SPU2dma7.dat
Info_Dump_Filename=SPU2Cores.txt
Mem_Dump_Filename=SPU2mem.dat
Reg_Dump_Filename=SPU2regs.dat

@gregory38
Copy link
Contributor

I found other bug report with the same issue on others applications.
For me the issue is related to bad interaction of portaudio and pulseaudio. SDL is the alternative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants