Click here to Skip to main content
15,918,330 members
Home / Discussions / C#
   

C#

 
GeneralRe: file path Pin
Csharp_Raja20-Aug-08 4:03
Csharp_Raja20-Aug-08 4:03 
GeneralRe: file path Pin
arkiboys20-Aug-08 4:21
arkiboys20-Aug-08 4:21 
GeneralRe: file path Pin
Csharp_Raja20-Aug-08 4:31
Csharp_Raja20-Aug-08 4:31 
GeneralRe: file path Pin
arkiboys20-Aug-08 4:50
arkiboys20-Aug-08 4:50 
Questionconvert fro, .wav to g.711 to push sound file in cisco telephone Pin
zumty18-Aug-08 23:21
zumty18-Aug-08 23:21 
AnswerRe: convert fro, .wav to g.711 to push sound file in cisco telephone Pin
DaveyM6918-Aug-08 23:46
professionalDaveyM6918-Aug-08 23:46 
GeneralRe: convert fro, .wav to g.711 to push sound file in cisco telephone Pin
zumty19-Aug-08 0:06
zumty19-Aug-08 0:06 
GeneralRe: convert fro, .wav to g.711 to push sound file in cisco telephone Pin
DaveyM6919-Aug-08 0:32
professionalDaveyM6919-Aug-08 0:32 
It's not my article - it's by Marc Sweetgall[^]
It looks like you should be able to use the public static byte[] MuLawEncode(byte[] data) method to get a g7111 encoded byte array from a wav (PCM) byte array.

I haven't tried it, but simply reading the wav file using a stream into a byte array, encoding and then saving the encoded byte array may be enough. You may need to strip out any headers in the wav file so you just have pure PCM - I'm not sure. It may be worth asking the author of the article, although he doesn't appear to have been active here for around a year.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Expect everything to be hard and then enjoy the things that come easy. (code-frog)

GeneralRe: convert fro, .wav to g.711 to push sound file in cisco telephone Pin
zumty19-Aug-08 1:06
zumty19-Aug-08 1:06 
QuestionRequest.QueryString Clear Pin
Agweet18-Aug-08 23:15
Agweet18-Aug-08 23:15 
AnswerRe: Request.QueryString Clear Pin
AhsanS18-Aug-08 23:24
AhsanS18-Aug-08 23:24 
GeneralRe: Request.QueryString Clear Pin
Agweet18-Aug-08 23:31
Agweet18-Aug-08 23:31 
GeneralRe: Request.QueryString Clear Pin
AhsanS18-Aug-08 23:38
AhsanS18-Aug-08 23:38 
AnswerRe: Request.QueryString Clear Pin
Jim Brooks25-Jun-09 10:33
Jim Brooks25-Jun-09 10:33 
QuestionRead Mail from Exchange Mail Server Pin
Programm3r18-Aug-08 23:09
Programm3r18-Aug-08 23:09 
QuestionRe: Read Mail from Exchange Mail Server Pin
Programm3r19-Aug-08 0:02
Programm3r19-Aug-08 0:02 
Questionstructure to binary file Pin
kk.tvm18-Aug-08 22:54
kk.tvm18-Aug-08 22:54 
AnswerRe: structure to binary file Pin
CPallini18-Aug-08 23:02
mveCPallini18-Aug-08 23:02 
AnswerRe: structure to binary file Pin
AhsanS18-Aug-08 23:15
AhsanS18-Aug-08 23:15 
Questioninstallation Pin
arkiboys18-Aug-08 22:52
arkiboys18-Aug-08 22:52 
AnswerRe: installation Pin
AhsanS18-Aug-08 23:16
AhsanS18-Aug-08 23:16 
AnswerRe: installation Pin
Csharp_Raja19-Aug-08 1:31
Csharp_Raja19-Aug-08 1:31 
Questionpath Pin
arkiboys18-Aug-08 22:03
arkiboys18-Aug-08 22:03 
AnswerRe: path Pin
Natza Mitzi18-Aug-08 22:29
Natza Mitzi18-Aug-08 22:29 
GeneralRe: path Pin
Manas Bhardwaj18-Aug-08 22:31
professionalManas Bhardwaj18-Aug-08 22:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.