Moderators: hannu, dev, kodachi, cesium
cesium wrote:Hmm.. Does 'ossplay' work? (ossplay $wav_filename etc.) If so, it's a configuration issue - maybe this wiki page may help?
vamsi.chikati wrote:It seems to be the right direction. now osstest -V is emitting sound, and all other applications too.
But now
1). recording device is not working.
Actually I was a bit too hasty, after restart, it is again the same, osstest succeeds, but not osstest -V.
I am running some telephone apps in the startup with /dev/dsp. Can that be a concern if they start before oss?
Well, that's a separate issue, perhaps some mixer settings change will get that to work.vamsi.chikati wrote:recording device is not working.
Hmm.. perhaps the settings didn't apply for some reason? IIRC, there should be some 'Virtual mixer attached to device' message in /var/log/soundon.log if you added the command to soundon.user.vamsi.chikati wrote:Actually I was a bit too hasty, after restart, it is again the same, osstest succeeds, but not osstest -V.
Hmmm... They shouldn't 'see' all that much, won't hurt to try though. You could try disabling these temporarily (chmod -x to their /etc/init.d/$something startup file)vamsi.chikati wrote:I am running some telephone apps in the startup with /dev/dsp. Can that be a concern if they start before oss?
vamsi.chikati wrote:Thank you for your help.
Now I can see some consistent behaviour.
I have disabled auto attach of vmix like you suggested earlier, and I did not enable +x permission on soundon.user. Then and only then playback is emitting sound. osstest -V is working. otherwise only osstest is working but not -V. If I enable auto attach or if I do vmixctl attach pcm0 playback is not emitting sound.
Actually I can live with this, but vmixctl attach pcmin0 is failing even with -M option, thus no record option. "VMIXCTL_ATTACH: Input/output error" This is the error I get.
I do not have pulseaudio.
Hmm.. vmix settings look fine. If you disable vmix, then multiple clients can't use the card at the same time. Ironically, your main option if vmix stays disabled would be pulse... What line do you to try to attach vmix?and I did not enable +x permission on soundon.user. Then and only then playback is emitting sound
Rec needs to be the last argument. "vmixctl attach [options] output input" is the format. Also, it's possible /dev/oss/oss_hdaudio0/pcmin1 (and not pcmin0) is the correct input. What happens if you do "ossrecord -d/dev/oss/oss_hdaudio0/pcmin1 - | ossplay -"? Can you get an echo?Actually I can live with this, but vmixctl attach pcmin0 is failing even with -M option, thus no record option.
cesium wrote:Hmm.. vmix settings look fine. If you disable vmix, then multiple clients can't use the card at the same time. Ironically, your main option if vmix stays disabled would be pulse... What line do you to try to attach vmix?and I did not enable +x permission on soundon.user. Then and only then playback is emitting sound
Rec needs to be the last argument. "vmixctl attach [options] output input" is the format. Also, it's possible /dev/oss/oss_hdaudio0/pcmin1 (and not pcmin0) is the correct input. What happens if you do "ossrecord -d/dev/oss/oss_hdaudio0/pcmin1 - | ossplay -"? Can you get an echo?[/quote]Actually I can live with this, but vmixctl attach pcmin0 is failing even with -M option, thus no record option.
Users browsing this forum: No registered users and 1 guest