[C#] .mp3文件传输帮助 [英] [C#] .mp3 File Transfer Help
本文介绍了[C#] .mp3文件传输帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我目前正在尝试创建一个服务器/客户端文件传输系统,服务器在该系统中发送客户端.mp3文件。文件传输正常但是当我去播放文件时,它都是沙哑的并且跳过,我认为它与我发送的字节有关。
这是服务器代码:
Hello, I am currently trying to create a server/client file transfer system in which the server sends the client .mp3 files. The file transfers fine but when I go to play the file, it is all scratchy and skips and I think it has something to do with the bytes that I am sending.
Here is the server code:
展开 | 选择 | Wrap | 行号
推荐答案
沙哑和跳过,我认为它与我发送的字节有关。
scratchy and skips and I think it has something to do with the bytes that I am sending.
您使用的是Bytes.LP还是Bytes.Cassette?
Are you using Bytes.LP or Bytes.Cassette ?
增加byte []的目的是什么? 4?
What''s the purpose of increasing the byte[] by 4?
展开 | 选择 | Wrap | 行号
我没有。我应该删除所有的4吗?即使从起始索引?
I have not. Should I removed the 4 in everything? Even from the start index?
这篇关于[C#] .mp3文件传输帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文