Update of /cvsroot/playerstage/code/player/server/drivers/audio
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23341/drivers/audio
Modified Files:
alsa.cc
Log Message:
Better error messages
Index: alsa.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/audio/alsa.cc,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** alsa.cc 14 Mar 2007 16:41:52 -0000 1.9
--- alsa.cc 29 Apr 2007 00:19:24 -0000 1.10
***************
*** 1394,1398 ****
if (snd_mixer_attach (mixerHandle, mixerDevice) < 0)
{
! PLAYER_WARN ("Could not attach mixer");
return false;
}
--- 1394,1398 ----
if (snd_mixer_attach (mixerHandle, mixerDevice) < 0)
{
! PLAYER_WARN1 ("Could not attach mixer to mixer device %s",
mixerDevice);
return false;
}
***************
*** 2050,2053 ****
--- 2050,2059 ----
recSampleRate = cf->ReadInt (section, "rec_sr", 44100);
recBits = cf->ReadInt (section, "rec_bits", 16);
+ if (debugLevel > 1)
+ {
+ cout << "Playback device: " << pbDevice << endl;
+ cout << "Mixer device: " << mixerDevice << endl;
+ cout << "Record device: " << recDevice << endl;
+ }
// Check recording rates are sane
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit