Comments (3)
Hi! Looks like phiola can't get the audio format that is set by default in your Windows audio settings. Let's find out why is that. Here are a few options:
- Execute
phiola -D ....wav | findstr wasapi:
This will print several lines to you terminal. Please paste here the linewasapi: *1: opening device ...
. - Execute
phiola -D ....wav -exclusive | findstr wasapi:
It's the same but now trying to open the audio device exclusively. - What's the default format for your audio device? Try to set another format. (See https://integraudio.com/default-audio-format-windows-10/)
from phiola.
- Lines + Error
08:40:52.738 #3272 DEBUG wasapi: *1: opening device #0, int16/22050/1, flags:80
08:40:53.576 #3272 DEBUG wasapi: *1: opening device #0, float32/48000/8, flags:80
08:40:54.112 #3272 ERROR wasapi: *1: open(): unsupported format
-
No change running
-exclusive
, same output as above -
My Default Format is "8 channel, 16 bit, 480000 Hz", which I believe is unique to my corsair headset. Setting it to any of the other available formats in 2 channel mode makes it work just fine.
Something I will note: Now, with the channel change, I can play all of the wav files, however, any sounds with a different Hertz from my Default Format have a considerable delay compared to the other formats. a little over half a second!
from phiola.
in 2 channel mode makes it work just fine.
Interesting! I think your audio device doesn't support float32/48000/8
that phiola is trying to use but supports int16/48000/8
. This is surprising to me because WASAPI should convert float32->int16
internally, and phiola relies on this behaviour. We can test this theory:
- Change your default format back to
int16/48000/8
as it was before. - Convert your audio file:
phiola convert ....wav -o test.wav -af int16 -chan 8 -ra 48000
-
Now try to play the new file:
phiola -D test.wav | findstr wasapi:
-
It should print
opening device #0, int16/48000/8
and then play audio just fine.
from phiola.
Related Issues (20)
- Codepage for non-Unicode text HOT 3
- [Enhancement] Feature request HOT 1
- When recording a long audio, split the output into separate smaller files HOT 1
- Flow point exception at conv.c:115 HOT 1
- Segment fault caused by write access HOT 1
- Heap-Buffer-Overflow vulnerability at conv.c:68 HOT 1
- Heap-Buffer-Overflow vulnerability at pcm_convert.h:513 HOT 1
- Feature Requests HOT 2
- Can't connect to Webradio HOT 37
- Problem when playing unsupported files? HOT 3
- CLI recording slow start on Linux x86 HOT 2
- [FAEATURE REQUEST] Volume in CLI HOT 7
- phiola.exe (also phiola-gui.exe) crash while playing m3u file with radio stations when going next / previous HOT 2
- Background recording CLI not working HOT 7
- User Projects & User Stories HOT 2
- Arguments -aformat/-rate/-channels are not work HOT 4
- Support for external open with HOT 2
- [Android 11, v2.1-rc4] Recorded files are not added to playlist HOT 2
- [Android 11, v2.1-rc4] Recording compression setting is not respected HOT 1
- Custom recording filename template (Android) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phiola.