Please forgive my ignorance.

myredhotcar
If you ever do leave it running for >5 hours and it doesn't die, please post your asound.conf file here straight away! If a fix were found for the chipmunk audio and vanishing audio problems at the same time, I think a lot of people would be very happy.Optik wrote:Have not tested the 5 hour problem.
The holy grail!roobarb! wrote:If you ever do leave it running for >5 hours and it doesn't die, please post your asound.conf file here straight away! If a fix were found for the chipmunk audio and vanishing audio problems at the same time, I think a lot of people would be very happy.Optik wrote:Have not tested the 5 hour problem.
Have now tested the the asound.conf file set up as a simple mixer and it seems ok. No chipmunks and still solid > 10 hours.loaded wrote:The holy grail!roobarb! wrote:If you ever do leave it running for >5 hours and it doesn't die, please post your asound.conf file here straight away! If a fix were found for the chipmunk audio and vanishing audio problems at the same time, I think a lot of people would be very happy.Optik wrote:Have not tested the 5 hour problem.
Ooh, this is interesting! I spent a while messing around with asound.conf files but never got it right. I'll test this out and if it works, it's definitely going in the installer.Optik wrote:Have now tested the the asound.conf file set up as a simple mixer and it seems ok. No chipmunks and still solid > 10 hours.
In a word - nomyredhotcar wrote:Might be a dumb question but would this work on Android?
Please forgive my ignorance.
myredhotcar
Right, I can confirm that the chipmunks have left the radio stations that were always chipmunking, and that the software mixer is also working correctly (playing audio external to SqueezePlay at the correct rate). I'll use SqueezePlay as normal today, leave it running overnight and keep my fingers crossed that there will still be audio in the morning.roobarb! wrote:Ooh, this is interesting! I spent a while messing around with asound.conf files but never got it right. I'll test this out and if it works, it's definitely going in the installer.Optik wrote:Have now tested the the asound.conf file set up as a simple mixer and it seems ok. No chipmunks and still solid > 10 hours.
SUCCESS!roobarb! wrote:I'll use SqueezePlay as normal today, leave it running overnight and keep my fingers crossed that there will still be audio in the morning.
Great, confirms that it isn't some local fluke with the v. slow broadband here. Am awaiting delivery of a book on ALSA; then with a bit more info to hand will experiment with the structure of the .conf file and the settings to try and get a feel for the critical bits and limits before it falls over.roobarb! wrote:SUCCESS!roobarb! wrote:I'll use SqueezePlay as normal today, leave it running overnight and keep my fingers crossed that there will still be audio in the morning.
Optik, I think you may have hit upon the ideal configuration - no chipmunks, and it's working perfectly this morning. This is definitely going into the installer. Thanks for spending your time working this out; I'll have a proper read of the file and see what, if anything, stands out as getting things working properly.
Great stuff - it'll be interesting to know what the clincher was!Optik wrote:Great, confirms that it isn't some local fluke with the v. slow broadband here. Am awaiting delivery of a book on ALSA; then with a bit more info to hand will experiment with the structure of the .conf file and the settings to try and get a feel for the critical bits and limits before it falls over.
Just glancing at it quickly now; I think you should just need to change any instances of 'card 0' to 'card 1' as you suggest. The file is set up for the internal audio system. It's possible you might need to change the line 'slave.pcm "hw:0,0";' to 'slave.pcm "hw:1,0";' as I think that may be specifying hardware output device as well. It's been a long while since I dug around in an asound.conf file, so I hope I've remember that right.gegs wrote:Pardon my ignorance, but does the new asound.conf file send sound to the internal soundcard or to USB?
If it's for internal sound, what changes would I need to make the file work for USB, other than changing 'card 0' to 'card 1' ?
Code: Select all
# cat asound.conf
pcm.!default {
type plug;
slave.pcm "dmix0";
}
ctl.!default {
type hw;
card 1;
}
pcm.dsp0 {
type plug;
slave.pcm "dmix0";
}
ctl.dsp0 {
type hw;
card 1;
}
ctl.mixer0 {
type hw;
card 1;
}
pcm.dmix0 {
type dmix;
ipc_key 13759;
slave.pcm "hw:1,0";
slave.channels 2;
slave.rate 48000;
slave.period_size 4096;
slave.buffer_size 16384;
slave.period_time 84000;
slave.buffer_time 340000;
bindings.0 0;
bindings.1 1;
}