From: Jeff W. <we...@ya...> - 2005-04-12 23:56:36
|
Hi all, Sorry to be late answering, I was on the road all last week. I have to get my taxes filed in 2 days so I can't spend any time digging into this right now. As I recall, in the audio util section, it queries the sound driver to find out how many bytes it can throw at the playback device. My first guess is that the playback device is reporting there is no room in it's buffers, and that's why gwc is showing the bytes_left staying constant. jw Stewart Evans wrote: > Esben Stien wrote: > >> I would try the alsa-user mailinglist. >> >> >> > Thanks for the suggestion. I've been thinking about it more, though, > and I think it's more related to gwc than I first thought. > > In particular, the playback cursor moves slightly with the burst of > sound, then stops. I placed a debug line right after the calculation > of bytes_left inside the play_a_block function in gwc.c: > > bytes_left = > set_playback_cursor_position(&audio_view, prev_cursor_millisec); > d_print("play_a_block: bytes_left %ld\n", bytes_left) ; /* my > addition */ > > And I get stdout like this: > Current stack limit: 10485760 bytes > press mx:235 my:179 > play_a_block: bytes_left 87224 > leaving start with audio_playback=1 > play_a_block: bytes_left 71528 > play_a_block: bytes_left 72296 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > play_a_block: bytes_left 63080 > ... > > And it'll keep spewing this pretty much as long as I let it. So it > seems like gwc is failing to update the playback cursor position, and > as a result not playing any more audio. I think I need to keep digging... > > -- Stewart > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Gwc-general mailing list > Gwc...@li... > https://lists.sourceforge.net/lists/listinfo/gwc-general > > > > !DSPAM:425b8048253912151919005! |