Hi,

I am working on Davinci6446 OSS sound driver. This sound driver doesn't
support full duplex mode.

To do audio loop back, I have created two threads - Read_Thread
and Write_Thread.

static void *Read_Thread(void *parm)
{

 here I have open the device "/dev/dsp" in O_RDONLY
 open( "/dev/dsp", O_RDONLY );

 set the configuration for driver

}

static void *Write_Thread(void *parm)
{
   here I have open the device "/dev/dsp" in O_WRONLY
   open( "/dev/dsp", O_WRONLY );

   set the configuration for driver

}


I have some question regarding this :

1. Does I need to configure the device in read as well as in write mode?

2. If yes, then can I configure the device as MONO in read mode
(Read_Thread) and STEREO in write mode (Write_Thread).
  can I configure device to use block size = 256 in read mode (Read_Thread)
and block size = 1024 in write mode (Write_Thread).




Regards,
Prashant Muley.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to