underrun!!! (at least 0, 249 ms long) was (struct snd_pcm_hardware_t values)
Ok I managed to get rid of that garbled background noise now I get underrun messages...
$ aplay -D hw:2,1 5_5_2006__07_00_59.wav Playing WAVE '5_5_2006__07_00_59.wav' : Signed 16 bit Little Endian, Rate 9600 Hz, Mono underrun!!! (at least 0,271 ms long) underrun!!! (at least 0,248 ms long) [...]
I can hear the sound clearly, but looks like these 200ms cause a choppy sound... I also tried to add support for this device to snd-usb-audio, but since this device has no synchronisation packets the driver fails... Does anyone know what causes such a buffer underrun?
I think it still has something to do with the snd_pcm_hardware_t values...
maybe the time will come when I'm not the only one on this ML who answers my questions....
Markus
Quoted 93 lines · Markus Rechberger
I did some more investigation uppon this
Quoted 1 line
.buffer_bytes_max = (32*1024),this one seems to be clear now, I set it to the max
transfer_buffer_sizeof 1 URBQuoted 1 line
.period_bytes_min = 64,this one not .. in my case I set it to transfer_buffer_size/2
Quoted 1 line
.period_bytes_max = 2048,this one is again
transfer_bufferQuoted 1 line
.periods_min = 1,I set this one to 2 (people in IRC cleared me up about this one)
Quoted 1 line
.periods_max = 255,no idea again..
So what I get now is:
http://lost-souls.mercuryserver.de/files/data/test.wav.mp3and a buffer underrun regarding aplay
aplay -D hw:2,1 5_5_2006__07_00_59.wav
Playing WAVE '5_5_2006__07_00_59.wav' : Signed 16 bit Little Endian, Rate 9600 Hz, Mono
underrun!!! (at least 0,307 ms long)
underrun!!! (at least 0,285 ms long)
underrun!!! (at least 0,295 ms long)
underrun!!! (at least 0,279 ms long)
underrun!!! (at least 0,298 ms long)
underrun!!! (at least 0,287 ms long)the strange thing here is the DTMF tones in the background sound fine, so I don't really recognize an underrun when playing the file just that strange noise which is constant all the time..
following is what my debug prints in dmesg:
I'm sure the PCM PLAYBACK TRIGGER STOP! are caused by the buffer underrun which is reported by aplay..
The outgoing dataformat is 9600hz,S16_LE, mono ..memcpy3 384 - 0--
ed ff ee ff ed ff f3 ff f2 ff f5 ff fa ff fa ff ff ff ff ff 00 00 01 00 03 00 06 00 05 00 0b 00 11 00 13 00 11 00 13 00 14 00 14 00 18 00 18 00 1c 00 1e 00 1e 00 22 00 20 00 21 00 27 00 25 00 25 00 2b 00 2c 00 2d 00 2d 00 2f 00 34 00 32 00 30 00 34 00 38 00 35 00 37 00 3a 00 39 00 38 00 3b 00 3c 00 37 00 3e 00 3e 00 3f 00 42 00 3f 00 41 00 3f 00 45 00 49 00 46 00 48 00 46 00 46 00 49 00 4c 00 4d 00 4b 00 4d 00 4b 00 4d 00 4e 00 4b 00 4d 00 4b 00 4f 00 53 00 4f 00 4b 00 4b 00 51 00 51 00 50 00 53 00 51 00 55 00 54 00 52 00 56 00 53 00 55 00 57 00 52 00 55 00 55 00 55 00 53 00 52 00 55 00 54 00 57 00 56 00 53 00 56 00 55 00 57 00 55 00 54 00 55 00 56 00 56 00 54 00 55 00 52 00 54 00 54 00 52 00 53 00 53 00 53 00 53 00 53 00 52 00 52 00 52 00 51 00 51 00 4f 00 4d 00 50 00 4f 00 4e 00 4f 00 51 00 50 00 4f 00 50 00 4d 00 4c 00 4e 00 4c 00 4c 00 4d 00 47 00 48 00 4c 00 49 00 4b 00 46 00 46 00 49 00 42 00 45 00 48 00 46 00 44 00 46 00 45 00 42 00 45 00 43 00 3e 00 3f 00 40 00 3d 00 3d 00 3d 00 3b 00 3e 00 40 00 39 00 3a 00 3b 00 35 00 36 00 36 00 36 00 33 00 35 00 37 00 34 00 30 00 2e 00 33 00 2e 00 2f 00 30 00 2d 00 2e 00 29 00 2b 00 2a 00
PCM PLAYBACK TRIGGER STOP!
--- PERIOD ELAPSED 0 1676736 96 --snd_au600_prepare
PCM PLAYBACK TRIGGER START!
playback hwptr: 0transfer_done: 1676928 192 psize: 96 stride: 2 hwptr too big: 192 - 192
memcpy3 384 - 0--
29 00 2a 00 29 00 28 00 27 00 25 00 22 00 26 00 24 00 21 00 21 00 1d 00 1d 00 1d 00 1e 00 1e 00 1d 00 1c 00 1a 00 1d 00 1c 00 18 00 19 00 13 00 15 00 16 00 10 00 13 00 13 00 11 00 10 00 0f 00 0c 00 0c 00 0b 00 09 00 0a 00 0b 00 0b 00 08 00 07 00 09 00 07 00 04 00 02 00 01 00 00 00 fe ff fb ff fb ff fd ff fc ff fb ff f8 ff f8 ff fa ff f5 ff f3 ff f3 ff f4 ff f4 ff f0 ff f1 ff f1 ff ee ff ee ff eb ff eb ff ec ff e7 ff e8 ff e5 ff e3 ff e4 ff e4 ff e3 ff e1 ff e4 ff df ff dd ff de ff da ff dc ff dc ff d9 ff d8 ff d8 ff d5 ff d3 ff d4 ff cd ff d4 ff d3 ff cb ff d0 ff cc ff cc ff cc ff ca ff cc ff c5 ff c6 ff c9 ff c5 ff c2 ff c1 ff c0 ff c3 ff c1 ff bf ff bf ff bf ff be ff bc ff bb ff b9 ff b9 ff b6 ff b5 ff b7 ff b3 ff b2 ff b2 ff af ff b0 ff b1 ff ac ff af ff ab ff a6 ff ab ff a6 ff a7 ff a9 ff a6 ff a4 ff a1 ff a3 ff ac ff 04 01 f3 08 02 19 6b 22 d5 19 91 06 ab f3 83 ec 13 f3 cc fe 05 06 2b 02 d6 f7 e6 f0 8e f5 25 05 aa 15 11 1b 62 0f 69 f8 8b e3 df dd 4d ea 23 01 4f 14 b3 18 29 0e d1 fd db f3 cc f5 72 ff b0 06 cb 03 c8 f7 14 ec 37 eb ba f8 18 0e 9a 1d 88 1c 6c 0a b3 f1 5a e1 5d e2 7f f2 97 06 e3 11 f9 0e 13 03 0c f9 02 f9 09 02 19 0b
PCM PLAYBACK TRIGGER STOP!
--- PERIOD ELAPSED 0 1676928 96 --snd_au600_prepare
PCM PLAYBACK TRIGGER START!
playback hwptr: 0transfer_done: 1677120 192 psize: 96 stride: 2 hwptr too big: 192 - 192
memcpy3 384 - 0--
etc.
Quoted 43 lines
Any help that could lead me further is appreciated...
thanks,
MarkusQuoted 36 lines · Markus Rechberger
Hi,
a half year ago I bought an au600 device
(http://alsa.opensrc.org/au600) and it's still not supported... I made some progress uppon the driver but there are still a few issues left.does anyone know about the
snd_pcm_hardware_tstruct?
I'm not sure what values I should fill in there...
My current driver supports a choppy kind of playback and capturing choppy audio.
If I use following values in the struct my box locks up when the audio stream is over (uninitialized buffer for sure)
staticsnd_pcm_hardware_tsnd_au600_hw= {
.info =SNDRV_PCM_INFO_BLOCK_TRANSFER|SNDRV_PCM_INFO_MMAP|SNDRV_PCM_INFO_INTERLEAVED|SNDRV_PCM_INFO_MMAP_VALID,.formats = SNDRV_PCM_FMTBIT_S16_LE, .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_CONTINUOUS, .rate_min = 9600, .rate_max = 9600, .channels_min = 1, .channels_max = 1, .buffer_bytes_max = (32*1024), .period_bytes_min = 64, .period_bytes_max = 2048, .periods_min = 1, .periods_max = 255, };If I set the values lower it doesn't crash anymore but afterwards the stream sounds garbled.
The streamformat itself is PCM, 9600hz, 16Bit, mono,
S16_LE(capturing as well as playback)Markus
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Tue, 8 Aug 2006 03:09:43 +0200,
Quoted 11 lines · Markus Rechberger
Ok I managed to get rid of that garbled background noise now I get underrun messages...
$ aplay -D hw:2,1 5_5_2006__07_00_59.wav Playing WAVE '5_5_2006__07_00_59.wav' : Signed 16 bit Little Endian, Rate 9600 Hz, Mono underrun!!! (at least 0,271 ms long) underrun!!! (at least 0,248 ms long) [...]
Quoted 4 lines
I can hear the sound clearly, but looks like these 200ms cause a choppy sound... I also tried to add support for this device to snd-usb-audio, but since this device has no synchronisation packets the driver fails... Does anyone know what causes such a buffer underrun?
For example, the calculation of the current pointer doesn't match with the actual position.
Quoted 1 line
I think it still has something to do with the
snd_pcm_hardware_tvalues...
My guess is that the problem is the implementation of pointer callback.
Quoted 2 lines
maybe the time will come when I'm not the only one on this ML who answers my questions....
Maybe you'll get more response if you show your codes more openly... Otherwise it's just a wild guess.
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Hi,
Quoted 13 lines · Takashi Iwai
At Tue, 8 Aug 2006 03:09:43 +0200,
Quoted 11 lines · Markus Rechberger
Ok I managed to get rid of that garbled background noise now I get underrun messages...
$ aplay -D hw:2,1 5_5_2006__07_00_59.wav Playing WAVE '5_5_2006__07_00_59.wav' : Signed 16 bit Little Endian, Rate 9600 Hz, Mono underrun!!! (at least 0,271 ms long) underrun!!! (at least 0,248 ms long) [...]
Quoted 6 lines
Quoted 1 line
I can hear the sound clearly, but looks like these 200ms cause a choppy
sound...
Quoted 3 lines
I also tried to add support for this device to snd-usb-audio, but since this device has no synchronisation packets the driver fails... Does anyone know what causes such a buffer underrun?
This is fixed now I set the buffer size 3 times as high as the period size.. though I still have the same choppy effect. Seems like a problem with the filled USB packets.. I wonder why the supported packet size is 128 bytes but the windows driver fills max. 38 bytes of every packet... My driver currently fills only 20 bytes since this is the average of what the windriver does too.
Quoted 3 lines
For example, the calculation of the current pointer doesn't match with the actual position.
there might be something wrong in line 350/351 but it has a lower priority at the moment for me...
Quoted 11 lines
Quoted 1 line
I think it still has something to do with the
snd_pcm_hardware_tvalues...My guess is that the problem is the implementation of pointer callback.
Quoted 2 lines
maybe the time will come when I'm not the only one on this ML who answers my questions....
Maybe you'll get more response if you show your codes more openly... Otherwise it's just a wild guess.
there we go:
http://linuxtv.org/hg/~mrechberger/v4l-dvb?mf=598d5b40d82a;path=/v4l_experimental/usbaudio/;style=gitweb
the projectwebsite:
http://alsa.opensrc.org/au600
the driver was always available uppon request... thought it would be nice to host it in an alsa development tree or so but I haven't got any answer regarding this a while ago.. I put it into my video4linux development tree now..
Markus
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Wed, 9 Aug 2006 12:08:00 +0200,
Quoted 24 lines · Markus Rechberger
Hi,
Quoted 13 lines · Takashi Iwai
At Tue, 8 Aug 2006 03:09:43 +0200,
Quoted 11 lines · Markus Rechberger
Ok I managed to get rid of that garbled background noise now I get underrun messages...
$ aplay -D hw:2,1 5_5_2006__07_00_59.wav Playing WAVE '5_5_2006__07_00_59.wav' : Signed 16 bit Little Endian, Rate 9600 Hz, Mono underrun!!! (at least 0,271 ms long) underrun!!! (at least 0,248 ms long) [...]Quoted 6 lines
Quoted 1 line
I can hear the sound clearly, but looks like these 200ms cause a choppy
sound...
Quoted 3 lines
I also tried to add support for this device to snd-usb-audio, but since this device has no synchronisation packets the driver fails... Does anyone know what causes such a buffer underrun?
Quoted 6 lines
This is fixed now I set the buffer size 3 times as high as the period size.. though I still have the same choppy effect. Seems like a problem with the filled USB packets.. I wonder why the supported packet size is 128 bytes but the windows driver fills max. 38 bytes of every packet... My driver currently fills only 20 bytes since this is the average of what the windriver does too.
Hm, this sounds like a 1ms alignment problem. What happens if you play a sample with n * 1000Hz ?
Quoted 22 lines
Quoted 3 lines
For example, the calculation of the current pointer doesn't match with the actual position.
there might be something wrong in line 350/351 but it has a lower priority at the moment for me...
Quoted 11 lines
Quoted 1 line
I think it still has something to do with the
snd_pcm_hardware_tvalues...My guess is that the problem is the implementation of pointer callback.
Quoted 2 lines
maybe the time will come when I'm not the only one on this ML who answers my questions....
Maybe you'll get more response if you show your codes more openly... Otherwise it's just a wild guess.
there we go:
http://linuxtv.org/hg/~mrechberger/v4l-dvb?mf=598d5b40d82a;path=/v4l_experimental/usbaudio/;style=gitweb
Quoted 7 lines
the projectwebsite:
http://alsa.opensrc.org/au600the driver was always available uppon request... thought it would be nice to host it in an alsa development tree or so but I haven't got any answer regarding this a while ago.. I put it into my video4linux development tree now..
We can put it to alsa-driver tree and later push it to upstream when the code is well brushed up.
So, could you post the code, or as a patch, to alsa-devel ML? The post is easier for reviewing and correcting some issues.
But, please fix the following for the next version:
- Don't use snd_xxx_t but use struct snd_xxx.
- Follow the coding style described in Documentation/CodingStyle. For example, the opening brace of a function should be in the next line. Also, take care about spaces.
- We have an easier procfs helper functions.
- printk() should be either a debug macro (that can be disabled easily) or persistent (for proper information or error messages).
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 34 lines · Takashi Iwai
At Wed, 9 Aug 2006 12:08:00 +0200,
Quoted 18 lines · Markus Rechberger
Hi,
Quoted 14 lines · Takashi Iwai
At Tue, 8 Aug 2006 03:09:43 +0200,
Quoted 12 lines · Markus Rechberger
Ok I managed to get rid of that garbled background noise now I get underrun messages...
$ aplay -D hw:2,1 5_5_2006__07_00_59.wav Playing WAVE '5_5_2006__07_00_59.wav' : Signed 16 bit Little Endian, Rate 9600 Hz, Mono underrun!!! (at least 0,271 ms long) underrun!!! (at least 0,248 ms long) [...]I can hear the sound clearly, but looks like these 200ms cause a
choppy
Quoted 6 lines
Quoted 5 lines
sound...
Quoted 3 lines
I also tried to add support for this device to snd-usb-audio, but since this device has no synchronisation packets the driver fails... Does anyone know what causes such a buffer underrun?
Quoted 6 lines
This is fixed now I set the buffer size 3 times as high as the period size.. though I still have the same choppy effect. Seems like a problem with the filled USB packets.. I wonder why the supported packet size is 128 bytes but the windows driver fills max. 38 bytes of every packet... My driver currently fills only 20 bytes since this is the average of what the windriver does too.
Quoted 3 lines
Hm, this sounds like a 1ms alignment problem. What happens if you play a sample with n * 1000Hz ?
I'll test tonight when I'm at home from work..
The device itself works acceptable in vmware so my next step would be to track all parameters down that vmware sends to the usbfs interface..
Quoted 33 lines
Quoted 9 lines
Quoted 4 lines
For example, the calculation of the current pointer doesn't match with the actual position.
there might be something wrong in line 350/351 but it has a lower priority at the moment for me...
Quoted 1 line
Quoted 1 line
I think it still has something to do with the
snd_pcm_hardware_tvalues...
Quoted 4 lines
Quoted 4 lines
My guess is that the problem is the implementation of pointer callback.
Quoted 9 lines
Quoted 6 lines
Quoted 2 lines
maybe the time will come when I'm not the only one on this ML who answers my questions....
Maybe you'll get more response if you show your codes more openly... Otherwise it's just a wild guess.
there we go:
Quoted 8 lines
the projectwebsite:
http://alsa.opensrc.org/au600the driver was always available uppon request... thought it would be nice to host it in an alsa development tree or so but I haven't got any answer regarding this a while ago.. I put it into my video4linux development tree now..
Quoted 6 lines
We can put it to alsa-driver tree and later push it to upstream when the code is well brushed up.
So, could you post the code, or as a patch, to alsa-devel ML? The post is easier for reviewing and correcting some issues.
have you seen how the devcode is managed on linuxtv.org? Think something like that would be very nice for alsa too...
Quoted 4 lines
But, please fix the following for the next version:
- Don't use
snd_xxx_tbut use structsnd_xxx.
ok
Quoted 4 lines
- Follow the coding style described in
Documentation/CodingStyle. For example, the opening brace of a function should be in the next line. Also, take care about spaces.
I know about this one but the driver is still in an early development stage and beeing reverse engineered from the windows usb logfiles...
Quoted 2 lines
- We have an easier procfs helper functions.
hmm?
Quoted 3 lines
-
printk()should be either a debug macro (that can be disabled easily) or persistent (for proper information or error messages).
sure..
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Wed, 9 Aug 2006 12:57:08 +0200,
Quoted 9 lines · Markus Rechberger
Quoted 9 lines
Quoted 5 lines
the driver was always available uppon request... thought it would be nice to host it in an alsa development tree or so but I haven't got any answer regarding this a while ago.. I put it into my video4linux development tree now..
We can put it to alsa-driver tree and later push it to upstream when the code is well brushed up.
Quoted 8 lines
Quoted 3 lines
So, could you post the code, or as a patch, to alsa-devel ML? The post is easier for reviewing and correcting some issues.
have you seen how the devcode is managed on linuxtv.org? Think something like that would be very nice for alsa too...
http://hg-mirror.alsa-project.org ?
Anyway the HG web interface is not suitable for interactive discussion and review to add comments and correct codes.
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 18 lines · Takashi Iwai
At Wed, 9 Aug 2006 12:57:08 +0200,
Quoted 16 lines · Markus Rechberger
Quoted 6 lines
Quoted 5 lines
the driver was always available uppon request... thought it would be nice to host it in an alsa development tree or so but I haven't got any answer regarding this a while ago.. I put it into my video4linux development tree now..
Quoted 6 lines
We can put it to alsa-driver tree and later push it to upstream when the code is well brushed up.
So, could you post the code, or as a patch, to alsa-devel ML? The post is easier for reviewing and correcting some issues.
have you seen how the devcode is managed on linuxtv.org? Think something like that would be very nice for alsa too...
Quoted 8 lines
Quoted 1 line
http://hg-mirror.alsa-project.org ?
Anyway the HG web interface is not suitable for interactive discussion and review to add comments and correct codes.
no it's just every developer has it's own tree there. And as soon as one developer finished some things it gets merged to the master in case of linuxtv it would be v4l-dvb.
I'm just writing about that because alsa also uses mercurial maybe it would also be nice to have it like that there?
Markus
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Wed, 9 Aug 2006 13:46:12 +0200,
Quoted 29 lines · Markus Rechberger
Quoted 18 lines · Takashi Iwai
At Wed, 9 Aug 2006 12:57:08 +0200,
Quoted 16 lines · Markus Rechberger
Quoted 6 lines
Quoted 5 lines
the driver was always available uppon request... thought it would be nice to host it in an alsa development tree or so but I haven't got any answer regarding this a while ago.. I put it into my video4linux development tree now..
Quoted 6 lines
We can put it to alsa-driver tree and later push it to upstream when the code is well brushed up.
So, could you post the code, or as a patch, to alsa-devel ML? The post is easier for reviewing and correcting some issues.
have you seen how the devcode is managed on linuxtv.org? Think something like that would be very nice for alsa too...
Quoted 8 lines
Quoted 1 line
http://hg-mirror.alsa-project.org ?
Anyway the HG web interface is not suitable for interactive discussion and review to add comments and correct codes.
Quoted 5 lines
no it's just every developer has it's own tree there. And as soon as one developer finished some things it gets merged to the master in case of linuxtv it would be v4l-dvb.
I'm just writing about that because alsa also uses mercurial maybe it would also be nice to have it like that there?
Well, it's a bit different development style.
Yes, we can have individual repos and the main repo for merging like kernel development, and I like that style, too. But the current style works well, so no urgent reason to change it right now.
Anyway, what I mentioned is that the version control is totally irrelevant from the review process. The merge process like above works only if the detailed review can be skipped (i.e. push from trusted subsystem maintainers). But it doesn't work if you want to review and correct codes.
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 45 lines · Takashi Iwai
At Wed, 9 Aug 2006 13:46:12 +0200,
Quoted 6 lines · Markus Rechberger
Quoted 4 lines · Takashi Iwai
At Wed, 9 Aug 2006 12:57:08 +0200,
Quoted 2 lines · Markus Rechberger
Quoted 2 lines
Quoted 2 lines
the driver was always available uppon request... thought it would
be
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
nice to host it in an alsa development tree or so but I haven't
got
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
any answer regarding this a while ago.. I put it into my
video4linux
Quoted 21 lines
Quoted 12 lines
Quoted 12 lines
Quoted 8 lines
Quoted 1 line
development tree now..
We can put it to alsa-driver tree and later push it to upstream when the code is well brushed up.
So, could you post the code, or as a patch, to alsa-devel ML? The post is easier for reviewing and correcting some issues.
have you seen how the devcode is managed on linuxtv.org? Think something like that would be very nice for alsa too...
Quoted 8 lines
Quoted 1 line
http://hg-mirror.alsa-project.org ?
Anyway the HG web interface is not suitable for interactive discussion and review to add comments and correct codes.
Quoted 5 lines
no it's just every developer has it's own tree there. And as soon as one developer finished some things it gets merged to the master in case of linuxtv it would be v4l-dvb.
I'm just writing about that because alsa also uses mercurial maybe it would also be nice to have it like that there?Well, it's a bit different development style.
Yes, we can have individual repos and the main repo for merging like kernel development, and I like that style, too. But the current style works well, so no urgent reason to change it right now.
Quoted 7 lines
Anyway, what I mentioned is that the version control is totally irrelevant from the review process. The merge process like above works only if the detailed review can be skipped (i.e. push from trusted subsystem maintainers). But it doesn't work if you want to review and correct codes.
well I'll keep the code in my repository till I'm done with it..
I fixed up the playback for 40 seconds now, afterwards it adds some buzz again.. (there must be some kind of synchronisation in it ..) I disabled recording for adding the playback .. I also need to fix this up again..
Not sure if that device supports to adjust the volume.. I'll check what the windriver does when moving the sliders...
So far everything looks promising with the reverse engineered specs :)
Markus
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
okay just a small update regarding that au600 usb phone bridge device I'm working on:
I'm able to capture audio correctly now, playback also works fine.
My problem was that I'm not allowed to replay the urbs at the end of the callback function.. Now I requeue them into a linked list and let the IRQ callback replay them as long as a special flag in the irq transfer bufffer isn't set (must be some kind of throttling mechanism)..
I'll go on with cleaning up the driver within the next few days and submit the latest version...
Markus
Quoted 67 lines · Markus Rechberger
Quoted 8 lines · Takashi Iwai
At Wed, 9 Aug 2006 13:46:12 +0200,
Quoted 6 lines · Markus Rechberger
Quoted 4 lines · Takashi Iwai
At Wed, 9 Aug 2006 12:57:08 +0200,
Quoted 2 lines · Markus Rechberger
Quoted 2 lines
Quoted 2 lines
the driver was always available uppon request... thought it
would
Quoted 8 lines
be
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
nice to host it in an alsa development tree or so but I haven't
got
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
any answer regarding this a while ago.. I put it into my
video4linux
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
development tree now..
We can put it to alsa-driver tree and later push it to upstream
when
Quoted 29 lines
Quoted 18 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
the code is well brushed up.
So, could you post the code, or as a patch, to alsa-devel ML? The post is easier for reviewing and correcting some issues.
have you seen how the devcode is managed on linuxtv.org? Think something like that would be very nice for alsa too...
Quoted 8 lines
Quoted 1 line
http://hg-mirror.alsa-project.org ?
Anyway the HG web interface is not suitable for interactive discussion and review to add comments and correct codes.
Quoted 5 lines
no it's just every developer has it's own tree there. And as soon as one developer finished some things it gets merged to the master in case of linuxtv it would be v4l-dvb.
I'm just writing about that because alsa also uses mercurial maybe it would also be nice to have it like that there?Well, it's a bit different development style.
Yes, we can have individual repos and the main repo for merging like kernel development, and I like that style, too. But the current style works well, so no urgent reason to change it right now.Quoted 7 lines
Anyway, what I mentioned is that the version control is totally irrelevant from the review process. The merge process like above works only if the detailed review can be skipped (i.e. push from trusted subsystem maintainers). But it doesn't work if you want to review and correct codes.
well I'll keep the code in my repository till I'm done with it..
I fixed up the playback for 40 seconds now, afterwards it adds some buzz again.. (there must be some kind of synchronisation in it ..) I disabled recording for adding the playback .. I also need to fix this up again..
Not sure if that device supports to adjust the volume.. I'll check what the windriver does when moving the sliders...
So far everything looks promising with the reverse engineered specs :)Markus
Signature · 7 lines
Markus Rechberger ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642