Related to this, audio_input should be initialized to -1 down where all the state information is set up. If you don't, when it goes to set it to 0 the first time, it will think the audio is already set, and skip it.
On 5/18/05, Bryan Mayland <[EMAIL PROTECTED]> wrote: > Starting at line 1196: > // reset audio path > cx25840_command(client, DECODER_SET_AUDIO_INPUT, > &state->audio); > break; > The parameter to a DECODER_SET_AUDIO_INPUT command should be > &state->audio_input. Either the command isn't the desired command > (might be DECODER_SET_AUDIO), or the parameter is isn't the correct > parameter. I would assume we'd want: > cx25840_command(client, DECODER_SET_AUDIO_INPUT, > &state->audio_input); > since the handler for that will set both input and sample rate. Patch > attached against rev223 (0.3.4w, labeled as v) attached. > > > Index: cx25840-driver.c > =================================================================== > --- cx25840-driver.c (revision 223) > +++ cx25840-driver.c (working copy) > @@ -1194,7 +1194,7 @@ > } > > // reset audio path > - cx25840_command(client, DECODER_SET_AUDIO_INPUT, > &state->audio); > + cx25840_command(client, DECODER_SET_AUDIO_INPUT, > &state->audio_input); > break; > } > > > -- Tyler Trafford ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
