- case( WAVE_FORMAT_PCM ):
- msg_Dbg( p_input,"found raw pcm audio format" );
- i_fourcc = VLC_FOURCC( 'a', 'r', 'a', 'w' );
- FrameInfo_PCM( p_input, &p_sys->i_frame_size, &p_sys->i_frame_length );
- break;
- case( WAVE_FORMAT_MULAW ):
- msg_Dbg( p_input,"found mulaw pcm audio format" );
- i_fourcc = VLC_FOURCC( 'u', 'l', 'a', 'w' );
- FrameInfo_PCM( p_input, &p_sys->i_frame_size, &p_sys->i_frame_length );
- break;
- case( WAVE_FORMAT_ALAW ):
- msg_Dbg( p_input,"found alaw pcm audio format" );
- i_fourcc = VLC_FOURCC( 'a', 'l', 'a', 'w' );
- FrameInfo_PCM( p_input, &p_sys->i_frame_size, &p_sys->i_frame_length );
- break;
- case( WAVE_FORMAT_ADPCM ):
- msg_Dbg( p_input, "found ms adpcm audio format" );
- i_fourcc = VLC_FOURCC( 'm', 's', 0x00, 0x02 );
- FrameInfo_MS_ADPCM( p_input, &p_sys->i_frame_size, &p_sys->i_frame_length );
- break;
- case( WAVE_FORMAT_IMA_ADPCM ):
- msg_Dbg( p_input, "found ima adpcm audio format" );
- i_fourcc = VLC_FOURCC( 'm', 's', 0x00, 0x11 );
- FrameInfo_IMA_ADPCM( p_input, &p_sys->i_frame_size, &p_sys->i_frame_length );
- break;
-
- case( WAVE_FORMAT_MPEG ):
- case( WAVE_FORMAT_MPEGLAYER3 ):
- msg_Dbg( p_input, "found mpeg audio format (relaying to another demux)" );
- /* FIXME set end of area FIXME */
- goto relay;
- case( WAVE_FORMAT_A52 ):
- msg_Dbg( p_input,"found a52 audio format (relaying to another demux)" );
- /* FIXME set end of area FIXME */
- goto relay;
-
- default:
- msg_Err( p_input,"unrecognize audio format(0x%x)",
- p_sys->p_wf->wFormatTag );
- goto error;