[alsa-cvslog] CVS: alsa-lib/src/pcm pcm.c,1.272,1.273

2004-03-01 Thread Jaroslav Kysela
Update of /cvsroot/alsa/alsa-lib/src/pcm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27140

Modified Files:
pcm.c 
Log Message:
Correction for explanation of near functions

Index: pcm.c
===
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm.c,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -r1.272 -r1.273
--- pcm.c   1 Mar 2004 08:53:50 -   1.272
+++ pcm.c   2 Mar 2004 07:51:50 -   1.273
@@ -3418,7 +3418,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val target channels count, returned chosen channels count
- * \return 0 otherwise a negative error code if configuration space would become empty
+ * \return 0 otherwise a negative error code if configuration space is empty
  */
 #ifndef DOXYGEN
 int INTERNAL(snd_pcm_hw_params_set_channels_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t 
*params, unsigned int *val)
@@ -3598,7 +3598,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target rate / returned approximate set rate
- * \return 0 otherwise a negative error code if configuration space would become empty
+ * \return 0 otherwise a negative error code if configuration space is empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -3787,7 +3787,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target period duration in us / returned chosen approximate 
target period duration
- * \return 0 otherwise a negative error code if configuration space would become empty
+ * \return 0 otherwise a negative error code if configuration space is empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -3999,7 +3999,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target period size in frames / returned chosen approximate 
target period size
- * \return 0 otherwise a negative error code if configuration space would become empty
+ * \return 0 otherwise a negative error code if configuration space is empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -4210,7 +4210,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target periods per buffer / returned chosen approximate 
target periods per buffer
- * \return 0 otherwise a negative error code if configuration space would become empty
+ * \return 0 otherwise a negative error code if configuration space is empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -4410,7 +4410,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target buffer duration in us / returned chosen approximate 
target buffer duration
- * \return 0 otherwise a negative error code if configuration space would become empty
+ * \return 0 otherwise a negative error code if configuration space is empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -4619,7 +4619,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target buffer size in frames / returned chosen approximate 
target buffer size in frames
- * \return 0 otherwise a negative error code if configuration space would become empty
+ * \return 0 otherwise a negative error code if configuration space is empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -4813,7 +4813,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target tick duration in us / returned chosen approximate 
target tick duration in us
- * \return 0 otherwise a negative error code if configuration space would become empty
+ * \return 0 otherwise a negative error code if configuration space is empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog


[alsa-cvslog] CVS: alsa-kernel/pci fm801.c,1.40,1.41

2004-03-01 Thread Jaroslav Kysela
Update of /cvsroot/alsa/alsa-kernel/pci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24664

Modified Files:
fm801.c 
Log Message:
tea575x can be module, too

Index: fm801.c
===
RCS file: /cvsroot/alsa/alsa-kernel/pci/fm801.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- fm801.c 30 Jan 2004 11:46:38 -  1.40
+++ fm801.c 1 Mar 2004 15:23:16 -   1.41
@@ -35,7 +35,7 @@
 
 #include 
 
-#if defined(CONFIG_SND_FM801_TEA575X) && (defined(CONFIG_VIDEO_DEV) || 
defined(CONFIG_VIDEO_DEV_MODULE))
+#if (defined(CONFIG_SND_FM801_TEA575X) || defined(CONFIG_SND_FM801_TEA575X_MODULE)) 
&& (defined(CONFIG_VIDEO_DEV) || defined(CONFIG_VIDEO_DEV_MODULE))
 #include 
 #define TEA575X_RADIO 1
 #endif



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog


[alsa-cvslog] CVS: alsa-lib/src/pcm pcm.c,1.271,1.272

2004-03-01 Thread Jaroslav Kysela
Update of /cvsroot/alsa/alsa-lib/src/pcm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19814

Modified Files:
pcm.c 
Log Message:
Fixed return comment for *near() functions

Index: pcm.c
===
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm.c,v
retrieving revision 1.271
retrieving revision 1.272
diff -u -r1.271 -r1.272
--- pcm.c   23 Feb 2004 10:34:17 -  1.271
+++ pcm.c   1 Mar 2004 08:53:50 -   1.272
@@ -3418,7 +3418,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val target channels count, returned chosen channels count
- * \return chosen channels count
+ * \return 0 otherwise a negative error code if configuration space would become empty
  */
 #ifndef DOXYGEN
 int INTERNAL(snd_pcm_hw_params_set_channels_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t 
*params, unsigned int *val)
@@ -3598,7 +3598,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target rate / returned approximate set rate
- * \return approximate chosen rate
+ * \return 0 otherwise a negative error code if configuration space would become empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -3787,7 +3787,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target period duration in us / returned chosen approximate 
target period duration
- * \return approximate chosen period duration in us
+ * \return 0 otherwise a negative error code if configuration space would become empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -3999,7 +3999,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target period size in frames / returned chosen approximate 
target period size
- * \return 0 otherwise a negative error code
+ * \return 0 otherwise a negative error code if configuration space would become empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -4210,7 +4210,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target periods per buffer / returned chosen approximate 
target periods per buffer
- * \return approximate chosen periods per buffer
+ * \return 0 otherwise a negative error code if configuration space would become empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -4410,7 +4410,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target buffer duration in us / returned chosen approximate 
target buffer duration
- * \return approximate chosen buffer duration in us
+ * \return 0 otherwise a negative error code if configuration space would become empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -4619,7 +4619,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target buffer size in frames / returned chosen approximate 
target buffer size in frames
- * \return approximate chosen buffer size in frames
+ * \return 0 otherwise a negative error code if configuration space would become empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */
@@ -4813,7 +4813,7 @@
  * \param pcm PCM handle
  * \param params Configuration space
  * \param val approximate target tick duration in us / returned chosen approximate 
target tick duration in us
- * \return approximate chosen tick duration in us
+ * \return 0 otherwise a negative error code if configuration space would become empty
  *
  * target/chosen exact value is <,=,> val following dir (-1,0,1)
  */



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog


[alsa-cvslog] CVS: alsa-oss/alsa pcm.c,1.13,1.14

2004-03-01 Thread Jaroslav Kysela
Update of /cvsroot/alsa/alsa-oss/alsa
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19346

Modified Files:
pcm.c 
Log Message:
Cleanup

Index: pcm.c
===
RCS file: /cvsroot/alsa/alsa-oss/alsa/pcm.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- pcm.c   29 Feb 2004 19:33:54 -  1.13
+++ pcm.c   1 Mar 2004 08:51:07 -   1.14
@@ -1418,7 +1418,7 @@
if ((fmode & O_ACCMODE) == O_WRONLY && snd_pcm_stream(pcm) == 
SND_PCM_STREAM_CAPTURE)
continue;
if (str->mmap_buffer)
-   set_oss_mmap_avail_min(&dsp->streams[k], k, pcm);
+   set_oss_mmap_avail_min(str, k, pcm);
count = snd_pcm_poll_descriptors_count(pcm);
if (count < 0) {
errno = -count;
@@ -1557,7 +1557,7 @@
if ((fmode & O_ACCMODE) == O_WRONLY && snd_pcm_stream(pcm) == 
SND_PCM_STREAM_CAPTURE)
continue;
if (str->mmap_buffer)
-   set_oss_mmap_avail_min(&dsp->streams[k], k, pcm);
+   set_oss_mmap_avail_min(str, k, pcm);
count = snd_pcm_poll_descriptors_count(pcm);
if (count < 0) {
errno = -count;



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog


[alsa-cvslog] CVS: alsa-driver configure.in,1.230,1.231

2004-03-01 Thread Jaroslav Kysela
Update of /cvsroot/alsa/alsa-driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18833

Modified Files:
configure.in 
Log Message:
One more fix for compiler detection

Index: configure.in
===
RCS file: /cvsroot/alsa/alsa-driver/configure.in,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -r1.230 -r1.231
--- configure.in29 Feb 2004 14:18:28 -  1.230
+++ configure.in1 Mar 2004 08:49:00 -   1.231
@@ -160,6 +160,7 @@
 [AC_TRY_RUN([
 #include 
 #include 
+#include 
 #include "$CONFIG_SND_KERNELDIR/include/linux/compile.h"
 int main()
 {
@@ -182,6 +183,8 @@
  *dptr = *ptr;
*dptr = '\t';
*dptr = '\0';
+   if (!strcmp(compiler, " "))
+   compiler[0] = '\0';
fprintf(f,"%s\n",compiler);
fclose(f);
}



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog


[alsa-cvslog] CVS: alsa-kernel/pci Kconfig,1.15,1.16

2004-03-01 Thread Jaroslav Kysela
Update of /cvsroot/alsa/alsa-kernel/pci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12345

Modified Files:
Kconfig 
Log Message:
<[EMAIL PROTECTED]>
fix Kconfig thinko


Index: Kconfig
===
RCS file: /cvsroot/alsa/alsa-kernel/pci/Kconfig,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- Kconfig 29 Feb 2004 08:33:21 -  1.15
+++ Kconfig 1 Mar 2004 08:14:46 -   1.16
@@ -160,10 +160,10 @@
help
  Say 'Y' or 'M' to include support for ForteMedia FM801 based soundcards.
 
-config CONFIG_SND_FM801_TEA575X
+config SND_FM801_TEA575X
tristate "ForteMedia FM801 + TEA5757 tuner"
depends on SND_FM801
-select CONFIG_VIDEO_DEV
+select VIDEO_DEV
help
  Say 'Y' or 'M' to include support for ForteMedia FM801 based soundcards
   with TEA5757 tuner connected to GPIO1-3 pins (Media Forte SF256-PCS-02).



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog